monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"timeout" with host test gives unexpected results


From: Marcus Mülbüsch
Subject: "timeout" with host test gives unexpected results
Date: Wed, 22 Apr 2015 17:19:50 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0

Hello all,

   a simple test like:

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

   gives on the monit webinterface results like:

Port Response time      0.284s to www.example.com:80 [HTTP via TCP]
Port    If failed [www.example.com:80 [HTTP via TCP] with timeout 2000 seconds] 
then alert

While at first I thought the "2000 seconds" is only an display error, I have found on an internal server cases where "Port Response time" was slow (4.117s or somesuch), but the check did not fail and not raise an alert.

Port Response time      4.117s to <localserver> [HTTP via TCPSSL]
Port    If failed [<localserver> [HTTP via TCPSSL] with timeout 2000 seconds] 
then alert

I'm pretty sure that it once worked, ("once" being around May 2014, when I first used it), but I did not find a single alarm for 2015.

I'm using "This is Monit version 5.9" on Gentoo; I do not know which version I used before and when I migrated.

   What is wrong here?

Marcus

--

Marcus Mülbüsch
Systemadministration

fon: +49 (0)208 9898 98-49
fax: +49 (0)208 9898 98-949
_______________________________________

AS-Infodienste GmbH
Timmerhellstr. 39
45478 Mülheim

mail: address@hidden
web: www.as-infodienste.de
fb:  www.facebook.com/ASInfodienste

Kontakt zum Telefonsupport für
Servicerufnummern:    +49 (0)208 9898 98-11
Telefonsekretariat:   +49 (0)208 9898 98-12
SMS-Dienstleistungen: +49 (0)208 9898 98-13
Telefonkonferenzen:   +49 (0)208 9898 98-17

Unternehmenszentrale:
fon: +49 (0)208 9898 98-00
fax: +49 (0)208 9898 98-900
_______________________________________

Unternehmensangaben:

Die AS-Infodienste GmbH ist im
Handelsregister des AG Duisburg
unter HRB 16061 registriert.

Geschäftsführer:
Andreas Schlacht

USt.-ID: DE 813295188
St.-Nr.: 120/5742/0589
________________________________________
        
Wir nutzen klimafreundlichen Ökostrom
von NATURSTROM. Damit leisten wir
einen Beitrag zum Umweltschutz.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]