monit-general
[Top][All Lists]
Advanced

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

[monit] using alert and exec for the same event


From: Brendan Martens
Subject: [monit] using alert and exec for the same event
Date: Mon, 11 May 2009 16:59:36 -0400

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

reply via email to

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