monit-general
[Top][All Lists]
Advanced

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

Re: Email alert formating


From: Martin Pala
Subject: Re: Email alert formating
Date: Thu, 01 Dec 2005 22:32:14 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20051007 Debian/1.7.12-1

when you define the:

 'if failed ... for X cycles then ...'

you defined the failed cycles count (soft-failures) required before the service is identified as failed (hard-failure).

Monit then executes the defined action each cycle that the service remains in failed state (this is documented in monit manual).

Martin

Rishikesh Dongre wrote:
Hi,

The same query has modified as -

----Start here----
check device tmp-10 path /tmp
   if space usage > 10% for 6 cycles then exec "/usr/bin/ksh /tmp/mailmsg10"
   alert address@hidden
----End----

I supposed, this query should wait for 6 cycles and then execute the script and 
every after 6 cycles. But it does for each cycle.
Secondly, is it possible to execute the script with any alert action.

Thanks,
rishi




reply via email to

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