[Top][All Lists]

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

Re: Question about monitrc file.

From: Jovan Kostovski
Subject: Re: Question about monitrc file.
Date: Mon, 27 Aug 2007 11:21:18 +0200

On 8/26/07, address@hidden <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 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

reply via email to

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