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