Old checkresults left after reload?
Wil Cooley
wcooley at nakedape.cc
Fri Apr 5 00:33:54 CEST 2013
Version: 3.2.3, specifically nagios-3.2.3-3.el5.rf (from RPMforge)
I just noticed that my checkresults spool directory has several thousand
files in it, some going back for years. For at least the more recent files
the orphaned files seem to correlate with when the server was reloaded or
restarted. Relevant parameters from nagios.cfg are sane or default and I
see nothing about this in the change log for later versions. Is this a
known bug with this version or have I stumbled upon something new?
Looking over the debug log, the reaping process seems to generally run for
<10s, so it seems like there should be plenty of time for it to actually
clean these up if it were going to.
Here is an export of the log entries for the past few days:
2013-03-29+04:02:01 [1364554921] Nagios 3.2.3 starting... (PID=6750)
2013-03-30+04:02:02 [1364641322] Nagios 3.2.3 starting... (PID=6750)
2013-03-31+04:02:02 [1364727722] Nagios 3.2.3 starting... (PID=6750)
2013-04-01+04:02:01 [1364814121] Nagios 3.2.3 starting... (PID=6750)
2013-04-02+04:02:01 [1364900521] Nagios 3.2.3 starting... (PID=6750)
2013-04-02+10:58:56 [1364925536] Nagios 3.2.3 starting... (PID=6750)
2013-04-02+11:08:14 [1364926094] Nagios 3.2.3 starting... (PID=6750)
2013-04-02+11:34:17 [1364927657] Nagios 3.2.3 starting... (PID=3295)
2013-04-03+04:02:02 [1364986922] Nagios 3.2.3 starting... (PID=3296)
And here are the leftover files from the same period:
2013-03-29+04:01:58 /var/nagios/spool/checkresults/check7h8JTX
2013-03-29+04:01:58 /var/nagios/spool/checkresults/checkICzAl5
2013-03-29+04:01:58 /var/nagios/spool/checkresults/checkYypkJJ
2013-03-29+04:01:58 /var/nagios/spool/checkresults/checkjO8I2C
2013-03-29+04:01:58 /var/nagios/spool/checkresults/checkpbSCFQ
2013-03-29+04:01:58 /var/nagios/spool/checkresults/checkxrw70c
2013-03-29+04:02:00 /var/nagios/spool/checkresults/check0yaFLv
2013-03-29+04:02:00 /var/nagios/spool/checkresults/check4pdx0y
2013-03-29+04:02:00 /var/nagios/spool/checkresults/checkFWJehx
2013-03-30+04:01:58 /var/nagios/spool/checkresults/checkyj04FS
2013-03-31+04:01:58 /var/nagios/spool/checkresults/check0Zj95p
2013-03-31+04:02:00 /var/nagios/spool/checkresults/checkj2f1oS
2013-04-01+04:01:58 /var/nagios/spool/checkresults/check2dtev8
2013-04-01+04:01:58 /var/nagios/spool/checkresults/checkL4NP6Y
2013-04-01+04:01:58 /var/nagios/spool/checkresults/checkliZSBm
2013-04-01+04:01:59 /var/nagios/spool/checkresults/checknASFxV
2013-04-01+04:02:01 /var/nagios/spool/checkresults/checkoCjPaN
2013-04-02+11:08:14 /var/nagios/spool/checkresults/checkB1WidW
2013-04-03+04:02:01 /var/nagios/spool/checkresults/check2GmUmb
(15 others with the same time elided)
2013-04-03+04:02:02 /var/nagios/spool/checkresults/check1rU49d
And here are the lines from nagios.cfg that match "check_result":
check_result_reaper_frequency=10
max_check_result_reaper_time=30
check_result_path=/var/nagios/spool/checkresults/
max_check_result_file_age=3600
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20130404/19b4e5f6/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire
the most talented Cisco Certified professionals. Visit the
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list