[ixpmanager] MRTG issues
Barry O'Donovan
barry.odonovan at inex.ie
Wed Nov 4 11:28:42 GMT 2015
On 04/11/2015 09:04, Ajai Kumar wrote:
> 1. I am not able to see switch aggregate graph (refer print screen
> attached). However graphs are available and see from back end after
> doing ssh( refer print screen _backend).
There are some caveats here which are probably poorly documented:
- switch names should be alphanumeric only with now spaces or special
characters (periods/dots, dashes and underscores are all fine though)
- switch names should be lower case only -> this may actually be your
issue as you're using Mumbai in one example, change this to: mumbai
- the aggregate graph name in infrastructures should be alphanumeric only
These are mostly due to crud build up over a ~10 year development cycle
and we'll try and weed some of these out.
> 2. The graphs are available and able to see at under the a overall
> peering graph. However I am not able to see aggregate IXP including
> all Infrastructure( or all city noida+ mumbai+chennai+
> kolkata+hyderabad+bangalore)*. Can it be done?*
The overall NIXI aggregate graph should work fine if the above are okay
AND you set the aggregate graph name to a lower case single-word
alphanumeric at: http://nixi.org.in/ixp/ixp/edit/id/1
> 3. MRTG process some time get hanged. We have to start via
> following.Can It be done automatically?
>
> *ps aux | grep mrtg*
> root 3892 0.0 0.0 11604 1128 ? S 11:47 0:00 sh -c (ps aux | grep mrtg) 2>&1
> root 3893 0.0 0.0 11604 580 ? S 11:47 0:00 sh -c (ps aux | grep mrtg) 2>&1
> root 3895 0.0 0.0 9036 668 ? S 11:47 0:00 grep mrtg
> root 9777 2.8 7.9 271328 231016 ? Ss Nov01 104:37 /usr/bin/perl -w /usr/bin/mrtg /etc/mrtg/mrtg.cfg
> * > kill 9777*(
> * > env LANG=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg*
> Daemonizing MRTG ...
This is platform specific. The recommended OS' are FreeBSD and Ubuntu,
both of which include a service container for mrtg. You'll need to ask
someone who knows CentOS more than I.
> 4. If I am adding following in the cron .What should be frequency for
> the same/usr/local/ixp/bin/ixptool.php -a statistics-cli.gen-mrtg-conf
It only really needs to be run after a change. At INEX we do it twice a
day by cron and manually when we want to rush it.
Aside: over the course of V4 development this will no longer be necessary.
- Barry
More information about the ixpmanager
mailing list