No bandwidth stats displayed

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
snapon_admin
Posts: 952
Joined: Mon Jun 10, 2013 10:39 am
Location: Kenosha, WI
Contact:

No bandwidth stats displayed

Post by snapon_admin »

I'm having an issue with the bandwidth stats on one of our cisco ASAs. As of April 1st the 2 interfaces we monitor on this device have stopped reporting any bandwidth. I have tried all the usual "fixes" for this issue that have worked in the past and nothing has helped. Usually when we run into this issue, simply deleting the RRD files for the device and/or deleting the MRTG .cfg file will fix it. I have tried both multiple times and have even completely removed and re-added the host and still nothing. I have tried SNMP v1 and v2C. The server is CentOS 7 running XI version 5.6.10.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: No bandwidth stats displayed

Post by ssax »

Please PM me a copy of your profile, you can download it from Admin > System Profile > Download Profile.

Include the hostname/servicenames in question so that we can review.

Include the RRD files for these specific ones from here: /var/lib/mrtg/

Include the RRD and XML file for the service here as well:

Code: Select all

/usr/local/nagios/share/perfdata/HOSTNAME/SERVICENAME.xml
/usr/local/nagios/share/perfdata/HOSTNAME/SERVICENAME.rrd
Include the full output of this command:

Code: Select all

time LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg
Do you see the mrtg cron jobs kicking off?

Code: Select all

tail -n50 /var/log/cron
User avatar
snapon_admin
Posts: 952
Joined: Mon Jun 10, 2013 10:39 am
Location: Kenosha, WI
Contact:

Re: No bandwidth stats displayed

Post by snapon_admin »

Sent everything via PM.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: No bandwidth stats displayed

Post by ssax »

Replied via PM
User avatar
snapon_admin
Posts: 952
Joined: Mon Jun 10, 2013 10:39 am
Location: Kenosha, WI
Contact:

Re: No bandwidth stats displayed

Post by snapon_admin »

I also replied via PM, but didn't get a response.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: No bandwidth stats displayed

Post by ssax »

Sorry, I missed that.

So SNMP is working per the info sent.

Please run these commands as root:

Code: Select all

LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg -debug=snpo,base,fork,time,log &> /tmp/mrtg.txt
LANG=C LC_ALL=C /usr/bin/mrtg &>> /tmp/mrtg.txt
LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg --lock-file /var/lib/mrtg/mrtg.lock --confcache-file /var/lib/mrtg/mrtg.ok --user=nagios --group=nagios & >> /tmp/mrtg.txt
Then wait 10 minutes and PM me this file:

/tmp/mrtg.out

That should give us something to go on.
User avatar
snapon_admin
Posts: 952
Joined: Mon Jun 10, 2013 10:39 am
Location: Kenosha, WI
Contact:

Re: No bandwidth stats displayed

Post by snapon_admin »

PM sent.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: No bandwidth stats displayed

Post by ssax »

Please send the output of these commands:

Code: Select all

ls -lh /var/lib/mrtg
yum list installed |grep rrd
User avatar
snapon_admin
Posts: 952
Joined: Mon Jun 10, 2013 10:39 am
Location: Kenosha, WI
Contact:

Re: No bandwidth stats displayed

Post by snapon_admin »

PM'd that info as an attachment.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: No bandwidth stats displayed

Post by ssax »

What is the output of this command?

Code: Select all

grep nag /etc/group
The rest looks fine, we'll likely need to debug on a remote.

Please create a ticket for this and include a link back to this forum thread so we can get a remote session setup:

https://support.nagios.com/tickets/
Locked