[Xymon] configuring status+ for specific alerts non-purple interval

Damien Martins damien at makelofine.org
Wed Jan 22 17:18:43 CET 2020


Hello Ian,


You can perform this in a nice way using clientlaunch.cfg file. You have 
an "INTERVAL" variable that is intended for this purpose. No need to 
harcode this in your extension ;)

Le 22/01/2020 à 16:37, Ian Diddams via Xymon a écrit :
>
> ForwardedMessage.eml
>
> Sujet :
> configuring status+ for specific alerts non-purple interval
> De :
> Ian Diddams <didds3 at yahoo.co.uk>
> Date :
> 22/01/2020 à 16:37
>
> Pour :
> Xymon MailingList <xymon at xymon.com>
>
>
> i have a hobbt/xymon server with stabdard default 30 minute STATUSLIFETIME
>
> However I have a one specific alert/test that actually only needs to 
> run once a day eg 0001. So that will of course go purple after 30 
> minutes cos the next run wont be for another 23.5 hours yet.
>
> Ive gleaned through googling that it seems possible to include a 
> status+ parameter on the actual script "reporting" line in the script.
>
> eg if the current command is
>
> $XYMON $XYMSRV "status $MACHINE.$TEST $COL2 `date` `cat /tmp/OUTPUT`"
>
> there is a way to add onto that line that only foir this alert the 
> "purple threshold time" shoud be eg 25 hours.
>
> is that simply then
>
> $XYMON $XYMSRV "*status+25h* $MACHINE.$TEST $COL2 `date` `cat 
> /tmp/OUTPUT`"
>
>
> cheers
>
> ian
>
> _______________________________________________
> Xymon mailing list
> Xymon at xymon.com
> http://lists.xymon.com/mailman/listinfo/xymon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20200122/33d23f90/attachment.htm>


More information about the Xymon mailing list