Page 1 of 1

Nagios not updating the perfdata after upgrade.

Posted: Mon Sep 14, 2020 5:26 am
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

Re: Nagios not updating the perfdata after upgrade.

Posted: Mon Sep 14, 2020 2:59 pm
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

Re: Nagios not updating the perfdata after upgrade.

Posted: Mon Sep 14, 2020 9:15 pm
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

Re: Nagios not updating the perfdata after upgrade.

Posted: Tue Sep 15, 2020 12:42 pm
by scottwilkerson
Jason,

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.

Posted: Wed Sep 16, 2020 2:10 am
by joash0809
Hi Scott,

I've pm you the system profile as requested.

Re: Nagios not updating the perfdata after upgrade.

Posted: Wed Sep 16, 2020 6:50 am
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

Re: Nagios not updating the perfdata after upgrade.

Posted: Tue Sep 22, 2020 1:47 am
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

Re: Nagios not updating the perfdata after upgrade.

Posted: Tue Sep 22, 2020 2:58 pm
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?

Re: Nagios not updating the perfdata after upgrade.

Posted: Sat Oct 17, 2020 12:19 am
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

Re: Nagios not updating the perfdata after upgrade.

Posted: Mon Oct 19, 2020 7:15 am
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