<p><br>
On Mar 26, 2013 6:15 PM, "Mills, David (IS)" <<a href="mailto:David.Mills@ngc.com">David.Mills@ngc.com</a>> wrote:<br>
><br>
> All –<br>
>  <br>
> For some reason many (all?) hosts are currently impervious to being disabled from the CLI if I use the “*” wildcard for the TESTNAME value. According to the xymon man page, I should be able “…To disable all tests for a host, use an asterisk "*" for TESTNAME.” All tests for this host should go “blue” and stay in this state indefinitely (right?). However, I see this  (timestamps in the prompts):<br>

>  <br>
>         16:51:39 dwru002:/var/log/xymon> ~/xymon/server/bin/xymon $XYMON_server  "disable twau009.* -1 "<br>
>  <br>
> 16:52:16 dwru002:/var/log/xymon> ~/xymon/server/bin/xymon $XYMON_server  "xymondboard host=twau009 fields=testname,color,disabletime"<br>
> trends|green|0<br>
> info|green|0<br>
> memory|blue|-1<br>
> files|blue|-1<br>
> msgs|blue|-1<br>
> ports|blue|-1<br>
> procs|blue|-1<br>
> disk|blue|-1<br>
> cpu|blue|-1<br>
> prtdiag|blue|-1<br>
> nfs|blue|-1<br>
> raid|blue|-1<br>
> tm|blue|-1<br>
> conn|blue|-1<br>
> sar|blue|-1<br>
> iostat2|blue|-1<br>
>  <br>
>    then, about one minute later, I see my first “rebel” test (“conn”) flip itself back to non-disabled:<br>
>  <br>
> 16:53:14 dwru002:/var/log/xymon> ~/xymon/server//bin/xymon $XYMON_server  "xymondboard host=twau009 fields=testname,color,disabletime" | grep –v blue<br>
> trends|green|0<br>
> info|green|0<br>
> conn|green|0<br>
>  <br>
> It takes about five-six minutes, but all eventually desert their “blue” status and return to green.<br>
>  <br>
> On the other hand, naming tests explicitly like the following seems to do the job more permanently:<br>
>  <br>
> 17:03:50 dwru002:/var/log/xymon> ~/xymon/server/bin/xymon $XYMON_server  "disable twau009.msgs -1 "<br>
> 17:05:22 dwru002:/var/log/xymon> ~/xymon/server/bin/xymon $XYMON_server  "disable twau009.files -1 "<br>
> 17:05:28 dwru002:/var/log/xymon> ~/xymon/server/bin/xymon $XYMON_server  "disable twau009.ports -1 "<br></p>
<p>I think you'll find that "-1" means "until OK", so when a green report comes in, that flips it out of the blue state.</p>
<p>Ralph Mitchell</p>