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
NagiosXI 5.5.0 not writing performance data
Re: NagiosXI 5.5.0 not writing performance data
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
Last edited by emartine on Thu Oct 04, 2018 4:04 pm, edited 1 time in total.
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: NagiosXI 5.5.0 not writing performance data
Hello, @emartine. Is the npcd service running?
https://support.nagios.com/kb/article/n ... ems-9.html
Please show me the output of these commands:service npcd status
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).ls /usr/local/nagios/var/spool/perfdata/ | wc -l
ls /usr/local/nagios/var/spool/xidpe/ | wc -l
https://support.nagios.com/kb/article/n ... ems-9.html
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: NagiosXI 5.5.0 not writing performance data
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.
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.
You do not have the required permissions to view the files attached to this post.
Re: NagiosXI 5.5.0 not writing performance data
Here is disk data that was gathered. Shows it abit better
You do not have the required permissions to view the files attached to this post.
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: NagiosXI 5.5.0 not writing performance data
@emartine , This is a lot of spooled unprocessed data:
Please wipe everything from both folders and let me know if graphs start to work normally.ls /usr/local/nagios/var/spool/perfdata/ | wc -l
77181
ls /usr/local/nagios/var/spool/xidpe/ | wc -l
227872
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: NagiosXI 5.5.0 not writing performance data
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
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
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: NagiosXI 5.5.0 not writing performance data
@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?
Can you upload/PM me your system profile?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: NagiosXI 5.5.0 not writing performance data
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
ls /usr/local/nagios/var/spool/xidpe/ | wc -l
2
ls /usr/local/nagios/var/spool/perfdata/ | wc -l
2
PM coming shortly
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: NagiosXI 5.5.0 not writing performance data
@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!
Thanks!
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.