<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
 
 </head><body style="">
 
  <div>
   Hi Vernon,
  </div> 
  <div>
    
  </div> 
  <div>
   what about the DOWNTIME parameter in hosts.cfg?
  </div> 
  <div>
   Just add
  </div> 
  <div>
    
  </div> 
  <div>
   0.0.0.0 mywebserver # DOWNTIME:http:*:STARTTIME:STOPPTIME:"no need to go wild - updating the internet"
  </div> 
  <div>
    
  </div> 
  <div>
   where the star indicates every night but you can also use W for weekdays and 1,3,5 for Monday, Wednesday, Friday.
  </div> 
  <div>
   And so every night your http service goes down within the timeframe it would go to blue with the statline "Planned Downtime" and the text you'll put into the quotation marks.
  </div> 
  <div>
    
  </div> 
  <div>
   BUT be aware if you already have a DOWNTIME statement for this host quotation marks don't work. You'll have to remove them and replace every whitespace with an underscore to work correctly.
  </div> 
  <div>
    
  </div> 
  <div>
   HTH
   <br />Torsten
  </div> 
  <blockquote style="position: relative; margin-left: 0px; padding-left: 10px; border-left: solid 1px blue;" type="cite">
   Vernon Everett <everett.vernon@gmail.com> hat am 30. Mai 2014 um 03:28 geschrieben:
   <br />
   <br /> 
   <div dir="ltr">
    Hi all 
    <div>
      
    </div> 
    <div>
     I have a host, running an HTTP server.
    </div> 
    <div>
     We need to monitor the host, 24x7, but the HTTP test goes down overnight for regular updates, or refueling or something.  Ours not reason why....
    </div> 
    <div>
     I want to disable just the HTTP test after hours..
    </div> 
    <div>
     And before you say I should put a TIME entry in alerts.cfg, it's not that simple.
    </div> 
    <div>
      
    </div> 
    <div>
     Every morning, a remote co-worker, looks at the EvenLog Report, and generates an "Incident Report" for the PHBs. 
    </div> 
    <div>
     The alerts.cfg entry simply stops the alerts from going out. The test still goes red, and shows up as an event.
    </div> 
    <div>
      
    </div> 
    <div>
     You might think he could exclude the host in the appropriate exclude field, but there are other aspects of the host that need to be monitored, and included in the report.
    </div> 
    <div>
     We could exclude HTTP from the report, but we have other hosts running HTTP services that must remain up, and need to be in the report too.
    </div> 
    <div>
      
    </div> 
    <div>
     So how to disable a single HTTP test for a specific time period, on a single server so it doesn't generate events?
    </div> 
    <div>
     Alternatively, leave a single host:test combo out of the EventLog report.
    </div> 
    <div> 
     <div>
       
     </div> 
     <div>
      Regards
     </div> 
     <div>
      Vernon
     </div> -- 
     <br />
     <span>"Accept the challenges so that you can feel the exhilaration of victory"</span> 
     <div>
      <span>- General George Patton</span>
     </div> 
    </div> 
   </div> _______________________________________________
   <br />Xymon mailing list
   <br />Xymon@xymon.com
   <br />http://lists.xymon.com/mailman/listinfo/xymon
  </blockquote> 
  <div>
   <br /> 
  </div>
 
</body></html>