monit-general
[Top][All Lists]
Advanced

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

Re: [monit] using alert and exec for the same event


From: Martin Pala
Subject: Re: [monit] using alert and exec for the same event
Date: Mon, 11 May 2009 23:20:40 +0200
User-agent: Thunderbird 2.0.0.21 (X11/20090409)

The exec action sends alert by default as well ... you don't need to alert action to exec in order to get email.

Martin


Brendan Martens wrote:
The monit manual states "*EXEC* can be used to execute an arbitrary program /and/ send an alert." however, I don't see an example of how this works, and my simple attempts produce errors from monit.

The things I have tried are like "if event then alert and exec "script"" or "if event then exec "script" and alert", but all I get are errors from monit when I try to reload it.

Does anyone know how this is supposed to work?



Brendan Martens


------------------------------------------------------------------------

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




reply via email to

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