Page 2 of 3

Re: Bandwidth graphs not updating

Posted: Mon Feb 04, 2019 5:39 pm
by akrradford
Those are all valid hosts. They are the ones I am no longer getting updated graphs for.

Re: Bandwidth graphs not updating

Posted: Mon Feb 04, 2019 5:50 pm
by scottwilkerson
akrradford wrote:Those are all valid hosts. They are the ones I am no longer getting updated graphs for.
Ok, we may be getting somewhere.

MRTG is not getting a response back from the hosts when queried via SNMP. Is it possible that the SNMP user/password changed if using v3 or community sting changed if using v1 or v2c ?

You may want to consider re-running the wizard for one of the switches to see if you are able to make the connection

Re: Bandwidth graphs not updating

Posted: Mon Feb 04, 2019 5:55 pm
by akrradford
Thanks for the response.

I am using SNMPv3, and no credentials changed. I did however run the wizard on a switch and it succeeded on the snmp query and found the interfaces, but it would not update them either.

Re: Bandwidth graphs not updating

Posted: Mon Feb 04, 2019 6:00 pm
by scottwilkerson
If you run the following, what are the permissions?

Code: Select all

ls -l /etc/mrtg/conf.d

Re: Bandwidth graphs not updating

Posted: Mon Feb 04, 2019 6:04 pm
by akrradford
All 775, all apache.nagios:


-rwxrwxr-x 1 apache nagios 23K Apr 17 2015 192.168.100.221.cfg

Re: Bandwidth graphs not updating

Posted: Tue Feb 05, 2019 11:00 am
by scottwilkerson
Can I have you remove these temp files first and then re-run the wizard for one of your switches

Code: Select all

rm -f /usr/local/nagiosxi/tmp/mrtg*
After running the wizard, it should update the associated file in /etc/mrtg/conf.d

Re: Bandwidth graphs not updating

Posted: Tue Feb 05, 2019 11:59 am
by akrradford
The file was updated, and I see two new temp files in /usr/local/nagiosxi/tmp/ for the config. Its been 20 minutes and there is no change to the graph.

Re: Bandwidth graphs not updating

Posted: Wed Feb 06, 2019 11:45 am
by scottwilkerson
do you still get errors for the host you updated? such as

Code: Select all

SNMPopen failed: No response from remote host '172.16.11.203' during discovery
Also, is the file updating in /var/lib/mrtg ?

Code: Select all

ls -al /var/lib/mrtg

Re: Bandwidth graphs not updating

Posted: Thu Feb 07, 2019 12:56 pm
by akrradford
Scott,

Can we move this to the Support forum, we will burn one of our incidents. The processes are getting hung for MRTG and its consuming excess resources on both the vm and the host due to the 100%cpu that the mrtg process is taking.

Something broke when we updated in November and at this point we need to get it fixed sooner rather than later.

If you can't move this, I can re-open one under support.

Thanks

Re: Bandwidth graphs not updating

Posted: Thu Feb 07, 2019 1:28 pm
by akrradford
… and to answer your question: no. The files are not updating.