Page 1 of 1

Help with BANDWIDTH / Switch

Posted: Mon Sep 26, 2011 3:04 pm
by rossato
Hello!

I have installed NagiosXI and try to configure a Network Switch / Router, all work fine, but i have one problem with graphs bandwidth...
My NagiosXI dont get the graphs from the Switch, i have to make any configuration?
I try execute this command:
./check_rrdtraf -f /var/lib/mrtg/10.254.194.3_10003.rrd -w 50,50 -c 80,80 -l b
But return a error:
ERROR: mmaping file '/var/lib/mrtg/10.254.194.3_10003.rrd': Invalid argument
OK - Current BW in: 0 bps Out: 0 bps|in=0 b/s;50;80 out=0 b/s;50;80


Port 10003 Bandwidth
Ok 46m 41s 1/5 26/09/2011 14:56:17 OK - Current BW in: 0Mbps Out: 0Mbps

Anyone can help-me?

Re: Help with BANDWIDTH / Switch

Posted: Mon Sep 26, 2011 4:05 pm
by lmiltchev
Is there any data in your *.rrd file or it's an empty file? Can you run the same command against a different *.rrd file successfully?

Re: Help with BANDWIDTH / Switch

Posted: Mon Sep 26, 2011 4:21 pm
by rossato
lmiltchev wrote:Is there any data in your *.rrd file or it's an empty file? Can you run the same command against a different *.rrd file successfully?
In the rrd file dont have nothing, is an empty file...
When i added my Switch, all work fine, but, dont get the graphs bandwidth.
Only dont create the graphs bandwidth... have any idea?

Re: Help with BANDWIDTH / Switch

Posted: Tue Sep 27, 2011 7:42 am
by rossato
lmiltchev wrote:Is there any data in your *.rrd file or it's an empty file? Can you run the same command against a different *.rrd file successfully?
Hello...

When i created the Switch/Router on Monitoring Wizard, all work fine, but, dont get the bandwidth usage from Switch...
Stay on 0Mb/s...

Re: Help with BANDWIDTH / Switch

Posted: Tue Sep 27, 2011 10:33 am
by nscott
This is usually a permissions issue, what is the results of the following:

ll /var/lib/mrtg
ll /var/lib | grep mrtg