Page 1 of 2

missing perfdata

Posted: Thu Mar 30, 2017 5:28 am
by clauskc
Hi,

We have one server out of 300 plus that is not able to show performance data for 4 specific check, its a check we have on all servers.
It has worked for a couple day when we first set it up, but now I just can not get it to work.
Looked through perfdata logs, npcd logs and nothing complaints.
Tried deleting the services,host and then configure it from scratch still same issue, 45 checks works and gather perfdata four disk checks does not.
Checks run fine and store capacity data, but perfdata no go.

After I deleted services and hosts and configured them again the perfdata it did gather the first couple days are still there.
Do I need to manually delete the perfdata files maybe and try again, or how do I go about this problem?

Best Regards,
Claus

Re: missing perfdata

Posted: Thu Mar 30, 2017 9:15 am
by avandemore
XI > Admin > System Profile > Download Profile

Please include the zip file in your response. You can PM myself or other support personnel if you have privacy concerns.

Also include the names of the services not graphing properly.

Re: missing perfdata

Posted: Thu Mar 30, 2017 9:22 am
by clauskc
Profile uploaded.

The services with a perfdata issue is:

PFA Disk Avg. Read Queue Length
PFA Disk Avg. Write Queue Length
PFA Disk Latency
PFA Disk Reads/s
PFA Disk Usage
PFA Disk Writes/s

Can see a bucket full of error in appacheerrors, seems like the perfdata file i corrput?
Undefined offset: 2 in /usr/local/nagiosxi/html/includes/components/graphexplorer/templates/perfdata.inc.php on line 238

Re: missing perfdata

Posted: Thu Mar 30, 2017 2:31 pm
by avandemore
Does it work to view it when logged in as the user nagiosadmin?

Re: missing perfdata

Posted: Fri Mar 31, 2017 12:02 am
by clauskc
No, same for all users.

Re: missing perfdata

Posted: Fri Mar 31, 2017 8:57 am
by avandemore
Can you send me the RRD files? They will be located in /usr/local/nagios/share/perfdata/<hostname>/<service>.rrd.

Can you also send a screenshot of one of the graphs with missing data?

Re: missing perfdata

Posted: Mon Apr 03, 2017 1:11 am
by clauskc
screenshot and rrd file attached

Re: missing perfdata

Posted: Mon Apr 03, 2017 11:18 am
by avandemore
There have been no updates to the rrd for some time, but the log files are incomplete. Can you run the following:

Code: Select all

# tar xzvf /tmp/perf.tar.gz /usr/local/nagios/var/npcd.log /usr/local/nagios/var/perfdata.log
Then send me /tmp/perf.tar.gz

Re: missing perfdata

Posted: Wed Apr 05, 2017 5:25 am
by clauskc
PM npcd and perfdata logs to you.

Re: missing perfdata

Posted: Wed Apr 05, 2017 1:28 pm
by avandemore
I received the logs. Is there some type of log rotation running or something? The perfdata.log was quite brief, but I did see some of those RRD's being updated.
Please run this command:

Code: Select all

# ls -laR /usr/local/nagios/share/perfdata/ | gzip > /tmp/perfdata-ls.gz
Then send the file /tmp/perfdata-ls.gz