[Nagiosplug-devel] [check_file_age] Optional timeout for standby systems
M.D. Klapwijk
marcel at klapwijk.com
Wed Dec 22 10:09:39 CET 2010
Modification/suggestion to include an optional timeout, so files on
standby/failover systems can be checked, without raising critical state.
Included check_file_age v1.4.15 (nagios-plugins 1.4.15) is modified, so
it accepts "-t <secs>" as the timeout value. If that value is reached,
the state will change back to "OK" and the message is rewritten to
"FILE_AGE STANDBY:...".
Note: No logic included to handle timeout<(critical||warning).
Best regards,
Marcel Klapwijk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: check_file_age
Type: application/octet-stream
Size: 3481 bytes
Desc: not available
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20101222/318dc922/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: check_file_age_timeout.diff
Type: application/octet-stream
Size: 1058 bytes
Desc: not available
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20101222/318dc922/attachment-0001.obj>
More information about the Devel
mailing list