|
From: | Martin Pala |
Subject: | Re: Question about monitrc file. |
Date: | Mon, 27 Aug 2007 20:25:57 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.6) Gecko/20070802 Iceape/1.1.4 (Debian-1.1.4-1) |
address@hidden 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#21Actually 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
[Prev in Thread] | Current Thread | [Next in Thread] |