Add commandline -T switch to check_time and check_ntp_time (#1246)

Thomas Guyot-Sionnest notifications at github.com
Sun Apr 20 08:06:03 CEST 2014


Thanks. I'll look at your patch... From what I understand though
something that gets the state from a switch and use it for timeouts
would be compatible with what you're doing. Should be very simple to
implement.

If you're interested I can send you a php "plugin" skeleton from what I
used in the past to monitor services trough http. The check_http status
is derived natively from the HTTP response code (without any modifyers,
2xx==OK, 3xx==WARNING and 4xx=CRITICAL), and the plugin output is
written on the responce code line's witch is printed by check_http as
well (iirc I used a switch to enable that).

-- 
Thomas

-- 
Reply to this email on GitHub:
https://github.com/monitoring-plugins/monitoring-plugins/pull/1246#issuecomment-40888733
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20140419/93dd4245/attachment.html>


More information about the Devel mailing list