Help with BANDWIDTH / Switch

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
rossato
Posts: 4
Joined: Mon Sep 26, 2011 2:54 pm

Help with BANDWIDTH / Switch

Post 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?
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Help with BANDWIDTH / Switch

Post 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?
Be sure to check out our Knowledgebase for helpful articles and solutions!
rossato
Posts: 4
Joined: Mon Sep 26, 2011 2:54 pm

Re: Help with BANDWIDTH / Switch

Post 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?
rossato
Posts: 4
Joined: Mon Sep 26, 2011 2:54 pm

Re: Help with BANDWIDTH / Switch

Post 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...
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: Help with BANDWIDTH / Switch

Post by nscott »

This is usually a permissions issue, what is the results of the following:

ll /var/lib/mrtg
ll /var/lib | grep mrtg
Nicholas Scott
Former Nagios employee