missing perfdata
missing perfdata
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
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
-
avandemore
- Posts: 1597
- Joined: Tue Sep 27, 2016 4:57 pm
Re: missing perfdata
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.
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.
Previous Nagios employee
Re: missing perfdata
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
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
-
avandemore
- Posts: 1597
- Joined: Tue Sep 27, 2016 4:57 pm
Re: missing perfdata
Does it work to view it when logged in as the user nagiosadmin?
Previous Nagios employee
Re: missing perfdata
No, same for all users.
-
avandemore
- Posts: 1597
- Joined: Tue Sep 27, 2016 4:57 pm
Re: missing perfdata
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?
Can you also send a screenshot of one of the graphs with missing data?
Previous Nagios employee
Re: missing perfdata
screenshot and rrd file attached
You do not have the required permissions to view the files attached to this post.
-
avandemore
- Posts: 1597
- Joined: Tue Sep 27, 2016 4:57 pm
Re: missing perfdata
There have been no updates to the rrd for some time, but the log files are incomplete. Can you run the following:
Then send me /tmp/perf.tar.gz
Code: Select all
# tar xzvf /tmp/perf.tar.gz /usr/local/nagios/var/npcd.log /usr/local/nagios/var/perfdata.logPrevious Nagios employee
Re: missing perfdata
PM npcd and perfdata logs to you.
-
avandemore
- Posts: 1597
- Joined: Tue Sep 27, 2016 4:57 pm
Re: missing perfdata
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:
Then send the file /tmp/perfdata-ls.gz
Please run this command:
Code: Select all
# ls -laR /usr/local/nagios/share/perfdata/ | gzip > /tmp/perfdata-ls.gzPrevious Nagios employee