Nagios not updating the perfdata after upgrade.

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
joash0809
Posts: 14
Joined: Wed Jul 29, 2020 9:26 am

Nagios not updating the perfdata after upgrade.

Post by joash0809 »

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
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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Nagios not updating the perfdata after upgrade.

Post by scottwilkerson »

Lets run the following:

Code: Select all

chown apache.nagios -R /etc/mrtg/conf.d /var/lib/mrtg
This should fix some permissions issues that were present in 5.6
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
jliewhm
Posts: 6
Joined: Sat Aug 15, 2020 8:26 pm

Re: Nagios not updating the perfdata after upgrade.

Post by jliewhm »

Hi Scott,

We have executed the command provided and restarted the npcd services as well. Unfortunately, but the issue remains persistent.

Thanks.
Jason
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Nagios not updating the perfdata after upgrade.

Post by scottwilkerson »

Jason,

Is this across all performance data?

Could you PM me a system profile.zip from Admin -> System Profile
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
joash0809
Posts: 14
Joined: Wed Jul 29, 2020 9:26 am

Re: Nagios not updating the perfdata after upgrade.

Post by joash0809 »

Hi Scott,

I've pm you the system profile as requested.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Nagios not updating the perfdata after upgrade.

Post by scottwilkerson »

joash0809 wrote:Hi Scott,

I've pm you the system profile as requested.
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 10

Edit /usr/local/nagios/etc/pnp/npcd.cfg
change this

Code: Select all

load_threshold = 10.0
to this
load_threshold = 70.0
restart npcd

Code: Select all

systemctl restart npcd
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
safuanmansor
Posts: 59
Joined: Mon Jul 16, 2018 9:16 pm

Re: Nagios not updating the perfdata after upgrade.

Post by safuanmansor »

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.
performancestatus.png
cpuusage.png
Regards,
Safuan
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Nagios not updating the perfdata after upgrade.

Post by scottwilkerson »

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?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
safuanmansor
Posts: 59
Joined: Mon Jul 16, 2018 9:16 pm

Re: Nagios not updating the perfdata after upgrade.

Post by safuanmansor »

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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Nagios not updating the perfdata after upgrade.

Post by scottwilkerson »

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
Great!

Locking thread
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart