Bandwidth utilization reports zero

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
btemple
Posts: 183
Joined: Fri Nov 08, 2013 9:30 am

Bandwidth utilization reports zero

Post by btemple »

I am troubleshooting the results of the router wizard checks.

On Bandwidth utilization this check prints the results of the .rrd file my question is what check writes to the .rrd ?

$USER1$/check_rrdtraf -f /var/lib/mrtg/$ARG1$ -w $ARG2$ -c $ARG3$ -l $ARG4$

I setup a couple of routers which are reporting back 0 mb as bandwidth utilization my assumption is that the snmp permissions on the router are disallowing the data back to the NAgios server ?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Bandwidth utilization reports zero

Post by scottwilkerson »

When using the switch / router wizard, it add MRTG configuration in /etc/mrtg/conf.d that is run every 5 minutes to gather bandwidth utilization
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
btemple
Posts: 183
Joined: Fri Nov 08, 2013 9:30 am

Re: Bandwidth utilization reports zero

Post by btemple »

thanks looks like a permissions issue on the .cfg files in the conf.d directory
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Bandwidth utilization reports zero

Post by abrist »

Note: User is still having issues.

Is other performance data working? Or just the bandwidth checks?
If you run the following command from the cli, what is the output?

Code: Select all

LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg --lock-file /var/lock/mrtg/mrtg_l --confcache-file /var/lib/mrtg/mrtg.ok
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
btemple
Posts: 183
Joined: Fri Nov 08, 2013 9:30 am

Re: Bandwidth utilization reports zero

Post by btemple »

This error only seems to pertain to the newly added routers all other look ok. When adding the new routers I chose snmp v 2 tab , but the other checks like latency changed to snmp 0 , I was able to manually changed those. Where would I change the snmp for these particular checks ?


2015-01-23 15:26:59: ERROR: Target[XX>XXX>XXXX>XXX][_IN_] ' $target->[3]{$mode} $snmpversion' (warn): (Missing operator before $snmpversion?)
btemple
Posts: 183
Joined: Fri Nov 08, 2013 9:30 am

Re: Bandwidth utilization reports zero

Post by btemple »

looks like the files are in the conf.d directory ?
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Bandwidth utilization reports zero

Post by Box293 »

I'm pretty sure the answer is that it needs to be changed in every affected file in the conf.d directory for every port.

Each Port is defined with a Target line

Code: Select all

Target[192.168.1.1_1]: 1:[email protected]:::::2
In that example:
public is the snmp community
2 is the snmp version (thats the :::::2)
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
btemple
Posts: 183
Joined: Fri Nov 08, 2013 9:30 am

Re: Bandwidth utilization reports zero

Post by btemple »

That the one thanks !
cmerchant
Posts: 546
Joined: Wed Sep 24, 2014 11:19 am

Re: Bandwidth utilization reports zero

Post by cmerchant »

We'll go ahead and close the thread. Thanks.
Locked