Have PM the requested information.
Not sure actually why we do nto see longer period of data, we do not have log rotation on that log, have daily log rotation on nagios.log,but its a default nagíos / RHEL installation, will look into it.
missing perfdata
-
avandemore
- Posts: 1597
- Joined: Tue Sep 27, 2016 4:57 pm
Re: missing perfdata
Well it seems most are working. Can you go into the service and Force a check. Wait about 2 minutes then send another one of these?
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
Heva PM the logs, can see and error regarding the services that fails:
2017-04-07 10:11:42 [10322] [2] RRDs::update /usr/local/nagios/share/perfdata/pfanpsql09/PFA_Disk_Avg._Read_Queue_Length.rrd 1491552686:0:0
2017-04-07 10:11:42 [10322] [1] RRDs::update ERROR /usr/local/nagios/share/perfdata/pfanpsql09/PFA_Disk_Avg._Read_Queue_Length.rrd: expected 3 data source readings (got 3) from 1491552686
2017-04-07 10:11:42 [10322] [2] Processing Line 100
/Claus
2017-04-07 10:11:42 [10322] [2] RRDs::update /usr/local/nagios/share/perfdata/pfanpsql09/PFA_Disk_Avg._Read_Queue_Length.rrd 1491552686:0:0
2017-04-07 10:11:42 [10322] [1] RRDs::update ERROR /usr/local/nagios/share/perfdata/pfanpsql09/PFA_Disk_Avg._Read_Queue_Length.rrd: expected 3 data source readings (got 3) from 1491552686
2017-04-07 10:11:42 [10322] [2] Processing Line 100
/Claus
-
avandemore
- Posts: 1597
- Joined: Tue Sep 27, 2016 4:57 pm
Re: missing perfdata
I can't really explain that error, but I think the easiest solution would simply be to delete the .rrd and .xml for each of the 4 services, wait for about 15 minutes and then check again. The new info should regenerate automatically.
Previous Nagios employee
Re: missing perfdata
deleted files, worked ok after that you can close this post, thanks.
/Claus
/Claus