monit-general
[Top][All Lists]
Advanced

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

Re: Alerts


From: Martin Pala
Subject: Re: Alerts
Date: Fri, 19 Nov 2010 21:58:32 +0100

No, there is no support for combo actions ("alert and timeout").

Note however that the any action does alert by default => the following will timeout *and* alert (works the same as the configuration line in question):

   if 5 restarts within 5 cycles then timeout


Regards,
Martin

On Nov 19, 2010, at 12:47 PM, Mark Olliver wrote:

Hi,

Is the following valid:

check process lighttpd
    with pidfile "/var/run/lighttpd.pid"
    start program = "/etc/init.d/lighttpd start"
    stop program = "/etc/init.d/lighttpd stop"
    if failed host 46.43.49.65 port 80 protocol HTTP and request '/index.html' hostheader localhost' then restart
     if 5 restarts within 5 cycles then alert and timeout
    group web


Specifically the Alert and time out section. The alerts we send to mmonit.

Thanks

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


reply via email to

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