|
From: | Balcoes |
Subject: | [monit] Monit believes web service is up even when it is not |
Date: | Thu, 5 Nov 2009 20:23:42 +0200 |
Hi I have monit v5.0 and CentOS release 4.8
(Final). I try monitor Lotus
Domino web server with the following config file: check host myserver with address myserver
start program "/etc/init.d/domino start" with timeout 300 seconds stop
program "/etc/init.d/domino stop" with timeout 150 seconds if
failed host 192.168.1.10 port 80 protocol http 10 times within 10 cycles then
restart if 6
restarts within 60 cycles then timeout If the web server is
up, monit status page shows: Remote Host 'myserver' status
online with all services monitoring status
monitored port response time
0.001s to 192.168.1.10:80 [HTTP via TCP] data collected
Thu Nov 5 20:09:55 2009 as it should. However if the
server is down, monit states: Remote Host 'myserver' status
online with all services monitoring status
monitored port response time
-1.000s to 192.168.1.10:80 [HTTP via TCP] data collected
Thu Nov 5 20:10:57 2009 I.e. the only
difference is that port response time is -1.000s. But monit
believes that the server is up and doesn’t try to reboot it. How come?
What am I missing? B P.S: The config file doesn’t use PID file as Domino doesn’t
have a single process. Instead it spawns typically approximately 200 processes. |
[Prev in Thread] | Current Thread | [Next in Thread] |