Hello all,

   using monit 5.12.2 on gentoo with the following test

check host example.com with address www.example.com
        if failed
                port 443 protocol https
                with content = "Example Domain"
                with timeout 2 seconds
        then alert


when used on a large php-page it takes some time to parse for the content. Thus the web interface shows

Port Response time      4.819s to 
<localserver>:443/path/to/scrip.php?param=nothing type TCPSSL/IP protocol HTTP
Port    If failed [<localserver>]:443/path/to/scrip.php?param=nothing type 
TCPSSL/IP protocol HTTP with timeout 2 seconds then alert

theoug the response time shown is much larger than the allowed timeout, no alert is raised. The response itself is much faster (as I tested when the content check is left out, getting times of 0.060s or thereabaouts), and thus no error should be raised.

   However, it seems that the 4.819s listed above include the parse time?

Marcus



--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to