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
--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general