Page 1 of 2

NagiosXI 5.5.0 not writing performance data

Posted: Thu Oct 04, 2018 3:56 pm
by emartine
I am trying to figure out what may have caused performance data to stop being gathered. My graphs are empty. I have restarted the nagios services and still see the same date on the perfdata.log file.

What items should I be checking to ensure that perfdata is being gathered properly.

-rw-rw-rw- 1 nagios nagios 148284 Jul 25 11:19 /usr/local/nagios/var/perfdata.log

Re: NagiosXI 5.5.0 not writing performance data

Posted: Thu Oct 04, 2018 4:03 pm
by emartine
Items of note: Process perf data is set to on for all checks, all items are set to active checks enabled ON and the check time period is 24x7

Re: NagiosXI 5.5.0 not writing performance data

Posted: Thu Oct 04, 2018 4:03 pm
by npolovenko
Hello, @emartine. Is the npcd service running?
service npcd status
Please show me the output of these commands:
ls /usr/local/nagios/var/spool/perfdata/ | wc -l
ls /usr/local/nagios/var/spool/xidpe/ | wc -l
You may try increasing the load threshold and the timeout value, restarting the npcd service and see if nagios starts graphing again(may take up to 15 minutes to start working again).
https://support.nagios.com/kb/article/n ... ems-9.html

Re: NagiosXI 5.5.0 not writing performance data

Posted: Thu Oct 04, 2018 4:07 pm
by emartine
service npcd status
NPCD running (pid 2434).
ls /usr/local/nagios/var/spool/perfdata/ | wc -l
77181
ls /usr/local/nagios/var/spool/xidpe/ | wc -l
227872

I rebooted the server for safe measure. Looking back at the graphs I noticed that data seemed to be gathered sporadically.

See attached file.

Re: NagiosXI 5.5.0 not writing performance data

Posted: Thu Oct 04, 2018 4:10 pm
by emartine
Here is disk data that was gathered. Shows it abit better

Re: NagiosXI 5.5.0 not writing performance data

Posted: Thu Oct 04, 2018 4:25 pm
by npolovenko
@emartine , This is a lot of spooled unprocessed data:
ls /usr/local/nagios/var/spool/perfdata/ | wc -l
77181
ls /usr/local/nagios/var/spool/xidpe/ | wc -l
227872
Please wipe everything from both folders and let me know if graphs start to work normally.

Re: NagiosXI 5.5.0 not writing performance data

Posted: Thu Oct 04, 2018 5:02 pm
by emartine
One of my co-workers wants the data for one of his checks that was runnning for a while.

One seems to be going down but not the other.

ls /usr/local/nagios/var/spool/xidpe/ | wc -l
164862
ls /usr/local/nagios/var/spool/perfdata/ | wc -l
141317

Re: NagiosXI 5.5.0 not writing performance data

Posted: Fri Oct 05, 2018 9:45 am
by npolovenko
@emartine, This is just the unprocessed data. If you delete the contents of these folders already existing perfdata data will not be lost.
Can you upload/PM me your system profile?

Re: NagiosXI 5.5.0 not writing performance data

Posted: Fri Oct 05, 2018 10:08 am
by emartine
Ah ok. I came in this morning and found

ls /usr/local/nagios/var/spool/xidpe/ | wc -l
2
ls /usr/local/nagios/var/spool/perfdata/ | wc -l
2

PM coming shortly

Re: NagiosXI 5.5.0 not writing performance data

Posted: Fri Oct 05, 2018 10:24 am
by npolovenko
@emartine, I recieved your PM but it was empty. Did you click on the Upload button after you selected the file? Can you try one more time?
Thanks!