After Update Nagios XI 5.6.3 fw graphics only show 0Mb/s

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
josetorres
Posts: 15
Joined: Wed Feb 14, 2018 10:10 am

After Update Nagios XI 5.6.3 fw graphics only show 0Mb/s

Post 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
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: After Update Nagios XI 5.6.3 fw graphics only show 0Mb/s

Post by benjaminsmith »

Hi Jose,

Please try restarting the daemon that processes performance data.

Code: Select all

systemctl restart npcd
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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
josetorres
Posts: 15
Joined: Wed Feb 14, 2018 10:10 am

Re: After Update Nagios XI 5.6.3 fw graphics only show 0Mb/s

Post by josetorres »

I have already restarted servces and remains the same. i added the system profile.

Best Regards
You do not have the required permissions to view the files attached to this post.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: After Update Nagios XI 5.6.3 fw graphics only show 0Mb/s

Post 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:

Code: Select all

load_threshold = 60.0
3. Edit the file /usr/local/nagios/etc/pnp/process_perfdata.cfg and change the TIMEOUT setting to:

Code: Select all

TIMEOUT = 20
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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
josetorres
Posts: 15
Joined: Wed Feb 14, 2018 10:10 am

Re: After Update Nagios XI 5.6.3 fw graphics only show 0Mb/s

Post 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.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: After Update Nagios XI 5.6.3 fw graphics only show 0Mb/s

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
josetorres
Posts: 15
Joined: Wed Feb 14, 2018 10:10 am

Re: After Update Nagios XI 5.6.3 fw graphics only show 0Mb/s

Post by josetorres »

please close this post,

best regards
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: After Update Nagios XI 5.6.3 fw graphics only show 0Mb/s

Post by benjaminsmith »

please close this post
Sounds good.

Thank you for using the Nagios support forum.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked