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 <user-7fbf34ed5219@xymon.invalid>
Date?:
22/01/2020 ? 16:37
Pour?:
Xymon MailingList <xymon at xymon.com>
▸ quoted from Ian Diddams
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