NagiosXI 5.5.0 not writing performance data

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
emartine
Posts: 660
Joined: Thu Dec 29, 2011 10:47 am

NagiosXI 5.5.0 not writing performance data

Post 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
User avatar
emartine
Posts: 660
Joined: Thu Dec 29, 2011 10:47 am

Re: NagiosXI 5.5.0 not writing performance data

Post 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
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

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
emartine
Posts: 660
Joined: Thu Dec 29, 2011 10:47 am

Re: NagiosXI 5.5.0 not writing performance data

Post 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.
You do not have the required permissions to view the files attached to this post.
User avatar
emartine
Posts: 660
Joined: Thu Dec 29, 2011 10:47 am

Re: NagiosXI 5.5.0 not writing performance data

Post by emartine »

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

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
emartine
Posts: 660
Joined: Thu Dec 29, 2011 10:47 am

Re: NagiosXI 5.5.0 not writing performance data

Post 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
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: NagiosXI 5.5.0 not writing performance data

Post 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?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
emartine
Posts: 660
Joined: Thu Dec 29, 2011 10:47 am

Re: NagiosXI 5.5.0 not writing performance data

Post 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
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: NagiosXI 5.5.0 not writing performance data

Post 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!
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked