<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 8 June 2018 at 13:27, Kris Springer <span dir="ltr"><<a href="mailto:kspringer@innovateteam.com" target="_blank">kspringer@innovateteam.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  

    
  
  <div text="#000000" bgcolor="#FFFFFF">
    How do I define a specific hosts test to always report green?  Is it
    defined in hosts.cfg?  The particular test is an external client
    script that I could edit to force it always green, but I'd like to
    control it from the server instead.  </div></blockquote><div><br></div><div>I can see two ways to do this (apart from "hack the code"):</div><div><br></div><div>1. use "delayred=STATUSCOLUMN:DELAY" with a really big delay</div><div><br></div><div>2. create a "status" channel consumer that catches the status message from the host and then sets the colour with a xymon "modify" message</div><div><br></div><div>The latter option might not work, because I suspect that "modify" can only make a colour appear worse, not better. I true, the status message could be extracted and re-injected in entirety, with the colour changed to green.</div><div><br></div><div>J</div><div><br></div></div></div></div>