Page 1 of 1

Performance graph not working anymore

Posted: Wed Feb 20, 2019 8:06 am
by AmineOthmani
Hi,

Yesterday we did reconfigure some networks devices (Routers and Switches) to work with SNMP v3 rather than SNMP v2c. After that all hosts (servers, network devices, etc.) monitored within Nagios XI stops showing performance graphs with "no data to display".

- Nagios XI 5.5.7
- CentOS 6.8
- 128 monitored hosts
- 1956 monitored services
- Attached our system profile
Let me know if you need any more information for troubleshooting. Thanks in advance!

Regards,
Amine

Re: Performance graph not working anymore

Posted: Wed Feb 20, 2019 1:48 pm
by tgriep
Edit the following file
/etc/cron.d/mrtg
Change this line from

Code: Select all

*/5 * * * * root 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
to

Code: Select all

*/5 * * * * root 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
Save the file and restart cron by running
service crond restart

Another thing, you will have to re-run the Network Switch / Router wizard against each device so it can add the SNMPv3 authentication data to the MRTG config files.
First, upgrade the Network Switch / Router wizard in XI by logging in to the XI GUI and going to the Admin > Manage Config Wizards menu.
Click the Check for Updates button and update the Network Switch / Router wizard.

After the changes, wait for 15 minutes and see if the Bandwidth Graphs and the other graphs start to populate with data,

Re: Performance graph not working anymore

Posted: Sun Feb 24, 2019 3:44 am
by AmineOthmani
Hi,

i follow the steps and in the same time update Nagios XI to 5.5.10 version but nothing change and no data is displayed on the graph. Also the GUI is taking too much time to respond when navigating through the web interface

Regards,

Re: Performance graph not working anymore

Posted: Mon Feb 25, 2019 8:34 am
by AmineOthmani
Hi,

The performance graph show again old data up to 3 AM this morning (see capture attached) and nothing after that. Please help us fix the issue

Regards,

Re: Performance graph not working anymore

Posted: Mon Feb 25, 2019 9:35 am
by AmineOthmani
Hi,

The issue is now fixed, we add more resources (CPU and memory) to Nagios server

Regards,

Re: Performance graph not working anymore

Posted: Mon Feb 25, 2019 11:05 am
by tgriep
Thanks for the update. Let us know if you have any further questions or that it is OK to lock the post for you.