No bandwidth stats displayed
- snapon_admin
- Posts: 952
- Joined: Mon Jun 10, 2013 10:39 am
- Location: Kenosha, WI
- Contact:
No bandwidth stats displayed
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
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:
Include the full output of this command:
Do you see the mrtg cron jobs kicking off?
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.rrdCode: Select all
time LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfgCode: Select all
tail -n50 /var/log/cron- snapon_admin
- Posts: 952
- Joined: Mon Jun 10, 2013 10:39 am
- Location: Kenosha, WI
- Contact:
Re: No bandwidth stats displayed
Sent everything via PM.
Re: No bandwidth stats displayed
Replied via PM
- snapon_admin
- Posts: 952
- Joined: Mon Jun 10, 2013 10:39 am
- Location: Kenosha, WI
- Contact:
Re: No bandwidth stats displayed
I also replied via PM, but didn't get a response.
Re: No bandwidth stats displayed
Sorry, I missed that.
So SNMP is working per the info sent.
Please run these commands as root:
Then wait 10 minutes and PM me this file:
/tmp/mrtg.out
That should give us something to go on.
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/tmp/mrtg.out
That should give us something to go on.
- snapon_admin
- Posts: 952
- Joined: Mon Jun 10, 2013 10:39 am
- Location: Kenosha, WI
- Contact:
Re: No bandwidth stats displayed
PM sent.
Re: No bandwidth stats displayed
Please send the output of these commands:
Code: Select all
ls -lh /var/lib/mrtg
yum list installed |grep rrd
- snapon_admin
- Posts: 952
- Joined: Mon Jun 10, 2013 10:39 am
- Location: Kenosha, WI
- Contact:
Re: No bandwidth stats displayed
PM'd that info as an attachment.
Re: No bandwidth stats displayed
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/
Code: Select all
grep nag /etc/groupPlease 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/