[Xymon] DelayPurple Tag doesnt work - Any Other way to Delay Purple?

John Thurston john.thurston at alaska.gov
Mon Nov 28 20:47:19 CET 2016


On 11/23/2016 6:27 AM, FreeSoftwareServers wrote:
> Based on the Man page for hosts.cfg, I read about delayred, so I tried
> *_delaypurple_*, which I want to delay for an hour.
>
>
>
> This is not working, and based on the “Default Host” part, I think it’s
> not a code error, I think that only delayred/yellow exist.
>
>
>
> Is there a way to delay purple for a single check for an hour>?

"purple" is a state reached when no message is received from a client 
for specified amount of time. The default for most messages is 30 
minutes. If the server doesn't receive a status update for a test for 31 
minutes, the test is reported as purple.

If you would like this interval to longer, it is governed by the client. 
The message sent from the client should contain the desired interval.

See the xymon "communication client" man page:
XYMON MESSAGE SYNTAX
status[+LIFETIME][/group:GROUP] HOSTNAME.TESTNAME COLOR <more text>

The "+LIFETIME" is what you need to specify. A message of the form:
  status foo.bar.com.mytest green "A OK"
Will set the test "mytest" green on host foo.bar.com. It will turn 
purple in 30 minutes if no new message is received.
  status+60 baz.bar.com.yourtest red "BAD THINGS"
Will set "yourtest" red for host baz.bar.com and it will turn purple 
after 60 minutes.
-- 
    Do things because you should, not just because you can.

John Thurston    907-465-8591
John.Thurston at alaska.gov
Enterprise Technology Services
Department of Administration
State of Alaska




More information about the Xymon mailing list