Xymon Mailing List Archive search

TIME parameter in alert rules

list Asif Iqbal
Wed, 23 Mar 2005 11:31:41 -0500
Message-Id: <user-044d592f7378@xymon.invalid>

On Wed, Mar 23, 2005 at 09:32:33AM, Stuffle, David wrote:
BB Rule: 
hg-indy_citrix;;conn disk;;1 2 4-6;0000-0300 0615-0800 1800-2359;dlm-p at linus
daveh-p at linus dal1-p at linus:~60 jeb1-p at linus:~90 


Hobbit Rule:
HOST=$CITRIXSERVERS SERVICE=conn,disk
TIME=0:0500:0100,1:1800:0300,1:0615:0800,2:1800:0300,2:0615:0800,4:1800:0300
,4:0615:0800,5:1800:0300,5:0615:0800,6:1800:0300,6:0615:0800
        MAIL $dmcfatridge
        MAIL $dherrmann
        MAIL $dlohr DURATION>60
        MAIL $jbuser DURATION>90
This might work, but not sure

$time='TIME=......................."
HOST=....
TIME=$time
	MAIL $dmcfatridge $dherrmann
	MAIL $dlohr DURATION>60
	MAIL $jbuser DURATION>90

-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
"..there are two kinds of people: those who work and those who take the credit...try
 to be in the first group;...less competition there."  - Indira Gandhi