<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=us-ascii"><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;}
@font-face
        {font-family:"OCR A Extended";}
@font-face
        {font-family:Stencil;
        panose-1:4 4 9 5 13 8 2 2 4 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-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;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@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><div class=WordSection1><p class=MsoNormal><span style='color:#1F497D'>Tom,<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>$ man Xymon<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>       disable HOSTNAME.TESTNAME DURATION <additional text><o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>              Disables a specific test for DURATION minutes. This will cause the status of this test to be listed as "blue" on the Xymon  server,  and<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>              no alerts for this host/test will be generated. If DURATION is given as a number followed by s/m/h/d, it is interpreted as being in sec-<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>              onds/minutes/hours/days respectively.   To disable a test until it becomes OK, use "-1" as the DURATION.   To disable all  tests  for  a<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>              host, use an asterisk "*" for TESTNAME.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>       enable HOSTNAME.TESTNAME<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>              Re-enables a test that had been disabled.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Shouldn’t be hard to roll your own script from here or I can share a rather simple script we use.<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><div><p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'>David Gore (v965-3670) </span><span style='color:#1F497D'><br></span><span style='font-size:10.0pt;color:#1F497D'>Network Management Systems (NMS) </span><span style='color:#1F497D'><br></span><span style='font-size:10.0pt;color:#1F497D'>IMPACT Transport Team Lead - SCSA, SCNA </span><span style='color:#1F497D'><br></span><span style='font-size:10.0pt;color:#1F497D'>Page: 1-800-PAG-eMCI pin 1406090 </span><span style='color:#1F497D'><br></span><span style='font-size:10.0pt;color:#1F497D'>Vnet: 965-3676</span><span style='color:#1F497D'><o:p></o:p></span></p></div><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'><div><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"'> xymon-bounces@xymon.com [mailto:xymon-bounces@xymon.com] <b>On Behalf Of </b>d.tom.schmitt@L-3com.com<br><b>Sent:</b> Thursday, December 06, 2012 09:51<br><b>To:</b> xymon@xymon.com<br><b>Subject:</b> [Xymon] TS - Maintenance Mode for a group of hosts?<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I have a request to take an entire area of hosts and place setup a maintenance window starting at a certain time and for say 3 hours.<o:p></o:p></p><p class=MsoNormal>Is there a script that I can send it a list and have it place all of the devices in maintenance mode?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>All corporate servers will require a window of 3 hours at 6pm tonight.<o:p></o:p></p><p class=MsoNormal>Also, is there any option on the HOST line that will not show up (like an actual comment not the COMMENT: entry) that can be used to select them from.<o:p></o:p></p><p class=MsoNormal>e.g.  the word ‘CORP’ in the options like that will normally be ignored by Xymon?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I am running Xymon 4.3.0-0.beta2.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Also, is there a way to show the COMMENT or DESCRIPTION on the line like it does in the non-green view under this release?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal style='text-indent:.5in;text-autospace:none'><b><i><span style='font-size:8.0pt;font-family:"Arial","sans-serif"'>Thanks,<o:p></o:p></span></i></b></p><p class=MsoNormal style='text-indent:.5in;text-autospace:none'><b><i><span style='font-size:8.0pt;font-family:"Arial","sans-serif"'><o:p> </o:p></span></i></b></p><p class=MsoNormal style='text-indent:.5in;text-autospace:none'><b><i><span style='font-size:8.0pt;font-family:"Arial","sans-serif"'>Tom Schmitt<o:p></o:p></span></i></b></p><p class=MsoNormal style='text-indent:.5in;text-autospace:none'><i><span style='font-size:8.0pt;font-family:"Arial","sans-serif"'>Senior IT Staff</span></i><span style='font-size:8.0pt;font-family:"Arial","sans-serif"'><o:p></o:p></span></p><p class=MsoNormal style='text-indent:.5in;text-autospace:none'><span style='font-size:8.0pt;font-family:"Arial","sans-serif"'>Salt Lake City, UT  84116<o:p></o:p></span></p><p class=MsoNormal style='text-indent:.5in;text-autospace:none'><span style='font-size:8.0pt;font-family:"Arial","sans-serif"'>Phone (801) <i>594-3030</i><o:p></o:p></span></p><p class=MsoNormal style='margin-left:.25in;text-indent:.25in;text-autospace:none'><b><i><span style='font-size:8.0pt;font-family:"Arial","sans-serif"'>            </span></i></b><b><span style='font-size:8.0pt;font-family:"OCR A Extended"'>\\\\||////</span></b><b><i><span style='font-size:8.0pt;font-family:"Arial","sans-serif"'><o:p></o:p></span></i></b></p><p class=MsoNormal style='margin-left:.25in;text-indent:.25in;text-autospace:none'><b><i><span style='font-size:8.0pt;font-family:"Arial","sans-serif"'>               </span></i></b><b><span style='font-size:8.0pt;font-family:"OCR A Extended"'>\ ~  ~ /  </span></b><b><i><span style='font-size:8.0pt;font-family:"Arial","sans-serif"'><o:p></o:p></span></i></b></p><p class=MsoNormal style='margin-left:.25in;text-indent:.25in;text-autospace:none'><b><i><span style='font-size:8.0pt;font-family:"Arial","sans-serif"'>               </span></i></b><b><span style='font-size:8.0pt;font-family:"OCR A Extended"'>| @  @ |<o:p></o:p></span></b></p><p class=MsoNormal style='margin-left:.25in;text-indent:.25in;text-autospace:none'><b><span style='font-size:8.0pt;font-family:"OCR A Extended"'>--oOo---(_)---oOo--<o:p></o:p></span></b></p><p class=MsoNormal style='margin-left:.25in;text-indent:.25in;text-autospace:none'><b><span style='font-size:8.0pt;font-family:"OCR A Extended"'>Have A Nice Day !<o:p></o:p></span></b></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><b><span style='font-size:9.0pt;font-family:Stencil;color:#7030A0'>It is not necessary to change.<o:p></o:p></span></b></p><p class=MsoNormal><b><span style='font-size:9.0pt;font-family:Stencil;color:#7030A0'>Survival is not mandatory.<o:p></o:p></span></b></p><p class=MsoNormal><b><span style='font-size:9.0pt;font-family:Stencil;color:#7030A0'>        -- W. Edwards Deming<o:p></o:p></span></b></p><p class=MsoNormal><o:p> </o:p></p></div></div></body></html>