Page 1 of 1
No bandwidth stats displayed
Posted: Wed May 27, 2020 3:36 pm
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.
Re: No bandwidth stats displayed
Posted: Wed May 27, 2020 4:56 pm
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?
Re: No bandwidth stats displayed
Posted: Thu May 28, 2020 10:45 am
by snapon_admin
Sent everything via PM.
Re: No bandwidth stats displayed
Posted: Thu May 28, 2020 11:47 am
by ssax
Replied via PM
Re: No bandwidth stats displayed
Posted: Tue Jun 02, 2020 10:11 am
by snapon_admin
I also replied via PM, but didn't get a response.
Re: No bandwidth stats displayed
Posted: Tue Jun 02, 2020 4:56 pm
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.
Re: No bandwidth stats displayed
Posted: Thu Jun 04, 2020 11:07 am
by snapon_admin
PM sent.
Re: No bandwidth stats displayed
Posted: Thu Jun 04, 2020 4:47 pm
by ssax
Please send the output of these commands:
Code: Select all
ls -lh /var/lib/mrtg
yum list installed |grep rrd
Re: No bandwidth stats displayed
Posted: Fri Jun 05, 2020 12:08 pm
by snapon_admin
PM'd that info as an attachment.
Re: No bandwidth stats displayed
Posted: Fri Jun 05, 2020 12:51 pm
by ssax
What is the output of this command?
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/