Xymon Mailing List Archive search

Purple Interval

list John Thurston
Fri, 11 Mar 2016 07:54:58 -0900
Message-Id: <user-a8000d65ea98@xymon.invalid>

On 3/11/2016 7:41 AM, John Tullis wrote:
Is it possible to shorten the purple for the entire server?
Modify the xymon environment variable STATUSLIFETIME

 From the man-page xymonserver.cfg :
STATUSLIFETIME
    The number of minutes that a status is considered valid after an update. After this time elapses, the status will go purple. Default: 30 minutes
Alternatively, define an ext script on your inaccessible host to send a 
status message in every X minutes with an appropriate TTL
status[+LIFETIME][/group:GROUP] HOSTNAME.TESTNAME COLOR <additional text>
Something like:
   xymon xyserver.foo.com "status+6 client.foo.com.alive green"

This will put a column "alive" for host "client" which will go purple 
six minutes after the last green message is received.


-- 
    Do things because you should, not just because you can.

John Thurston    XXX-XXX-XXXX
user-ce4d79d99bab@xymon.invalid
Enterprise Technology Services
Department of Administration
State of Alaska