<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple"><font style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">
I do really long times (like 999 weeks). That's basically indefinite. <br></font><br> <br>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<font style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">
<b>From</b>: Mills, David (IS) [mailto:David.Mills@ngc.com] <br><b>Sent</b>: Tuesday, March 26, 2013 06:27 PM<br><b>To</b>: Ralph Mitchell <ralphmitchell@gmail.com> <br><b>Cc</b>: xymon@xymon.com <xymon@xymon.com> <br><b>Subject</b>: Re: [Xymon] EXT :Re:  "Blue" status doesn't stick using '*'? <br></font> <br></div>

<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Well, … that’s embarrassing.   So – there’s no way to indefinitely disable a test? Sorry – I feel like I’m missing a boat here.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">;-)  Thanks, Ralph!<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Ralph Mitchell [mailto:ralphmitchell@gmail.com]
<br>
<b>Sent:</b> Tuesday, March 26, 2013 5:25 PM<br>
<b>To:</b> Mills, David (IS)<br>
<b>Cc:</b> xymon@xymon.com<br>
<b>Subject:</b> EXT :Re: [Xymon] "Blue" status doesn't stick using '*'?<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<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 "<o:p></o:p></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.<o:p></o:p></p>
<p>Ralph Mitchell<o:p></o:p></p>
</div>
</body>
</html>