configuring status+ for specific alerts non-purple interval
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
datecat /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
datecat /tmp/OUTPUT"cheers
ian
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
participants (1)
-
damien@makelofine.org