Nagios not updating the perfdata after upgrade.
Nagios not updating the perfdata after upgrade.
Hi Support,
Today we attempted the Nagios XI version upgrade from ver. 5.4.13 to ver. 5.6.7. The upgrade was successful, however we realized that Nagios is not updating the perfdata after the upgrade.
Can you help point out what might failed. We cannot identified the problem as all services such as npcd and crond is running.
I've attached the system profile, kindly remove it from post before making this post public.
Thanks,
Joash
Today we attempted the Nagios XI version upgrade from ver. 5.4.13 to ver. 5.6.7. The upgrade was successful, however we realized that Nagios is not updating the perfdata after the upgrade.
Can you help point out what might failed. We cannot identified the problem as all services such as npcd and crond is running.
I've attached the system profile, kindly remove it from post before making this post public.
Thanks,
Joash
Last edited by scottwilkerson on Mon Sep 14, 2020 2:56 pm, edited 1 time in total.
Reason: Moderator note: Profile shared with team and removed from post
Reason: Moderator note: Profile shared with team and removed from post
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios not updating the perfdata after upgrade.
Lets run the following:
This should fix some permissions issues that were present in 5.6
Code: Select all
chown apache.nagios -R /etc/mrtg/conf.d /var/lib/mrtg
Re: Nagios not updating the perfdata after upgrade.
Hi Scott,
We have executed the command provided and restarted the npcd services as well. Unfortunately, but the issue remains persistent.
Thanks.
Jason
We have executed the command provided and restarted the npcd services as well. Unfortunately, but the issue remains persistent.
Thanks.
Jason
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios not updating the perfdata after upgrade.
Jason,
Is this across all performance data?
Could you PM me a system profile.zip from Admin -> System Profile
Is this across all performance data?
Could you PM me a system profile.zip from Admin -> System Profile
Re: Nagios not updating the perfdata after upgrade.
Hi Scott,
I've pm you the system profile as requested.
I've pm you the system profile as requested.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios not updating the perfdata after upgrade.
It looks like the load on your system is running around 30 but there is a load threshold set in your npcd.cfg of 10 which means it will not process perf data until the load drops below 10joash0809 wrote:Hi Scott,
I've pm you the system profile as requested.
Edit /usr/local/nagios/etc/pnp/npcd.cfg
change this
Code: Select all
load_threshold = 10.0
restart npcdload_threshold = 70.0
Code: Select all
systemctl restart npcd
-
- Posts: 59
- Joined: Mon Jul 16, 2018 9:16 pm
Re: Nagios not updating the perfdata after upgrade.
Hi Support,
We manage to make the graph populate again by moving all the related configuration that pointing to nagiosramdisk to it default setting. Somehow the nagios cannot process perfdata after the check is writing to the ramdisk. This thing happened right after the nagios is upgraded to the versio 5.6.7
Since it now running without ramdisk, the nagios performace somehow seems ok but the database regularly crashed. What do you think happened as this issue happened 3-4 time for the pass 9days . This issue fixed every time the repair_databases.sh script is running but we somehow cannot leave with that option.
Regards,
Safuan
We manage to make the graph populate again by moving all the related configuration that pointing to nagiosramdisk to it default setting. Somehow the nagios cannot process perfdata after the check is writing to the ramdisk. This thing happened right after the nagios is upgraded to the versio 5.6.7
Since it now running without ramdisk, the nagios performace somehow seems ok but the database regularly crashed. What do you think happened as this issue happened 3-4 time for the pass 9days . This issue fixed every time the repair_databases.sh script is running but we somehow cannot leave with that option.
Regards,
Safuan
You do not have the required permissions to view the files attached to this post.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios not updating the perfdata after upgrade.
Glad you were able to get the graph working, but I don't see how running with/without a ramdisk would bake the DB crash.
Have you have any system outages, or turned to power off on your Nagios XI server during these times?
Have you have any system outages, or turned to power off on your Nagios XI server during these times?
-
- Posts: 59
- Joined: Mon Jul 16, 2018 9:16 pm
Re: Nagios not updating the perfdata after upgrade.
Hi Scott,
You may close this thread as the perfdata is generating as required. As for the DB issue, we will open new topic if required.
Thanks
Safuan
You may close this thread as the perfdata is generating as required. As for the DB issue, we will open new topic if required.
Thanks
Safuan
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios not updating the perfdata after upgrade.
Great!safuanmansor wrote:Hi Scott,
You may close this thread as the perfdata is generating as required. As for the DB issue, we will open new topic if required.
Thanks
Safuan
Locking thread