|
From: | Sergio Trejo |
Subject: | Adding one-time checks to monit? |
Date: | Sat, 23 Jun 2007 18:54:30 -1000 |
set daemon 60 # highest frequency monitoring is once every 60s
check process apache with pidfile "/opt/local/apache2/logs/httpd.pid" every 10 cycles
if failed port 80 and protocol http then restart
if 2 restarts within 3 cycles then timeout
[Prev in Thread] | Current Thread | [Next in Thread] |