[EMAIL PROTECTED] wrote:
Hello !

Is it possible to usr "and" in monitrc conf file, i would like to do, on 
service failure:


if ... then alert and exec "/usr/script/failure/sh"

i tried "and" but it doesnt works....how to do that ?


Monit suports single action per rule right now - we plan to add support for multiple actions:

http://www.tildeslash.com/monit/doc/next.php#21

Actually the alert action is default - you don't need to set "... alert and exec ..." since exec will generate alert as well even if it is standalone.

Martin


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

Reply via email to