[Nagiosplug-help] millisecond monitoring on check_http?
dermoth at aei.ca
Mon Jan 10 14:47:11 CET 2011
-----BEGIN PGP SIGNED MESSAGE-----
Oh, I apologize for the lack of clarity; that's for thresholds only (-c
and -w parameters). The timeout has to be greater than critical
threshold and is there to avoid the plugin from running for an
indefinite amount of time (which is not desired for monitoring).
- -c is the proper way to define the critical threshold for response time.
This parameter can take sub-second arguments with my patch.
$ ./check_http -H localhost -w0.2 -c0.5 -t1
HTTP OK: HTTP/1.1 200 OK - 357 bytes in 0.001 second response time
Let me know if you have further questions.
On 11-01-09 08:33 PM, Thomas Graham wrote:
> but what's the subsecond thing we discuss about before ?!
> On Mon, Jan 10, 2011 at 2:37 AM, Thomas Guyot-Sionnest <dermoth at aei.ca> wrote:
> On 11-01-09 05:54 AM, Thomas Graham wrote:
>>>> check_http: Timeout interval must be a positive integer - 0.05 <--- it
>>>> is not yet implement subsecond patch, any idea ? I am using check_http
>>>> www.domain.com -t 0.05 and show error above, please advice.
> No, timeouts couldn't be implemented with less than 1 second granularity
> anyway (without re-writing all the network code), and a larger timeout
> won't affect the check result. Therefore <1sec timeouts will likely
> never be implemented.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----
More information about the Help