Page 1 of 1
After Update Nagios XI 5.6.3 fw graphics only show 0Mb/s
Posted: Thu Jun 27, 2019 10:20 am
by josetorres
Hello,
The last Wednesday I upgrade Nagios xi to 5.6.3 after that, graphics of FW don“t show any changes. All the bandwith graphics of my FW show only 0Mb/s and some of them before that, showed 5 o 6Mb/s
someone knows what could happened ?
Thank you
Re: After Update Nagios XI 5.6.3 fw graphics only show 0Mb/s
Posted: Thu Jun 27, 2019 10:44 am
by benjaminsmith
Hi Jose,
Please try restarting the daemon that processes performance data.
If you're still experiencing the issue, please PM your system profile so we can take a closer look at the server.
To send us your system profile.
Login to the Nagios XI GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
Save the profile.zip file and share in a private message or upload it to the post/ticket.
Re: After Update Nagios XI 5.6.3 fw graphics only show 0Mb/s
Posted: Thu Jun 27, 2019 1:09 pm
by josetorres
I have already restarted servces and remains the same. i added the system profile.
Best Regards
Re: After Update Nagios XI 5.6.3 fw graphics only show 0Mb/s
Posted: Thu Jun 27, 2019 3:53 pm
by benjaminsmith
Hi Jose
Please log into the Nagios XI server as root and do the following steps:
1.Post the full output of the following query.
Code: Select all
echo "SELECT table_name AS 'Table', round(((data_length + index_length) / 1024 / 1024), 2) 'Size in MB' FROM information_schema.TABLES WHERE table_schema IN ('nagios', 'nagiosql', 'nagiosxi');" | mysql -h 127.0.0.1 -uroot -pnagiosxi --table
2. Next, edit your /usr/local/nagios/etc/pnp/npcd.cfg and change
load_threshold to:
3. Edit the file
/usr/local/nagios/etc/pnp/process_perfdata.cfg and change the TIMEOUT setting to:
4. Re-start the Nagios stack.
Code: Select all
systemctl stop crond
systemctl stop npcd
systemctl stop nagios
systemctl stop ndo2db
pkill -9 -u nagios
for i in $(ipcs -q | grep nagios |awk '{print $2}'); do ipcrm -q $i; done
rm -rf /usr/local/nagiosxi/var/dbmaint.lock
rm -rf /usr/local/nagiosxi/var/event_handler.lock
rm -rf /usr/local/nagiosxi/scripts/reconfigure_nagios.lock
rm -rf /usr/local/nagios/var/ndo2db.lock
rm -rf /usr/local/nagios/var/ndo2db.pid
rm -rf /var/run/nagios.lock
rm -rf /usr/local/nagios/var/nagios.lock
systemctl start ndo2db
systemctl start nagios
systemctl start npcd
systemctl start crond
systemctl restart httpd
systemctl restart snmptt
Then wait 15 minutes and send us a FRESH copy of your profile so that we can review the logs. Thank you.
Re: After Update Nagios XI 5.6.3 fw graphics only show 0Mb/s
Posted: Fri Jun 28, 2019 8:11 am
by josetorres
I have now support form Nagios and this is what they told me to do and it works fine
Try this to see if it fixes the issue, edit the /etc/cron.d/mrtg file and change this line from
*/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
*/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 change and restart cron by running
service crond restart
Wait for 20 minutes and see if you start to see the bandwidth graphs again.
Re: After Update Nagios XI 5.6.3 fw graphics only show 0Mb/s
Posted: Fri Jun 28, 2019 9:14 am
by benjaminsmith
Hi Jose,
I have now support form Nagios and this is what they told me to do and it works fine
Just to clarify, may we close this post as resolved or did you have any other questions? Please let me know.
Thanks.
Re: After Update Nagios XI 5.6.3 fw graphics only show 0Mb/s
Posted: Tue Jul 09, 2019 5:29 pm
by josetorres
please close this post,
best regards
Re: After Update Nagios XI 5.6.3 fw graphics only show 0Mb/s
Posted: Wed Jul 10, 2019 9:59 am
by benjaminsmith
please close this post
Sounds good.
Thank you for using the Nagios support forum.