Le Mon, 27 Aug 2007 11:21:18 +0200, Jovan Kostovski <[EMAIL PROTECTED]> a
écrit:
On 8/26/07, [EMAIL PROTECTED] <[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 ?
if <condition> then alert
if <condition> then "/usr/script/failure/sh"
As far as I know there isn't and keyward, so
adding two if.. then statements will do the job.
BR, Jovan
--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general
--
Utilisant le client e-mail révolutionnaire d'Opera :
http://www.opera.com/mail/
--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general