<!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 content="text/html; charset=UTF-8" http-equiv="Content-Type"/>
 </head><body style="">
 
 
  <div>
   Hi Henrik,
  </div> 
  <div>
    
  </div> 
  <div>
   thanks for your quick answer.
  </div> 
  <div>
   Well then I have to check when I can have a "planned downtime" for the XYmon server restart ;-)
  </div> 
  <div>
    
  </div> 
  <div>
   Regards
  </div> 
  <div>
   Torsten
  </div> 
  <div>
    
  </div> 
  <div>
   <br/>> henrik@hswn.dk hat am 16. Mai 2013 um 12:11 geschrieben:
   <br/>> 
   <br/>> 
   <br/>> On 16.05.2013 09:29, Torsten Richter wrote:
   <br/>> 
   <br/>> > I'm running 4.3.10 at the moment on Linux and have a question about 
   <br/>> > the
   <br/>> > DOWNTIME parameter in hosts.cfg.
   <br/>> [snip]
   <br/>> > Can someone confirm that this only works for red and yellow alerts 
   <br/>> > but
   <br/>> > not for the purple ones?
   <br/>> > Can this behaviour be adjusted somewhere? Except for setting the 
   <br/>> > status
   <br/>> > lifetime in the scripts of course.
   <br/>> 
   <br/>> You're right that it only affects red or yellow alerts.
   <br/>> 
   <br/>> It isn't something that you can configure, but I do see your point in 
   <br/>> having this also work for a purple status - typically local custom tests 
   <br/>> that are not running when the server is down.
   <br/>> 
   <br/>> You can change it in the code: In 4.3.10, this is in 
   <br/>> xymon-4.3.10/xymond/xymond.c on line 1194:
   <br/>> 
   <br/>> if ((*color == COL_RED) || (*color == COL_YELLOW)) {
   <br/>> 
   <br/>> should be changed to
   <br/>> 
   <br/>> if ((*color == COL_RED) || (*color == COL_YELLOW) || (*color == 
   <br/>> COL_PURPLE)) {
   <br/>> 
   <br/>> Run make + make install (or copy xymond/xymond over to the bin/ 
   <br/>> directory).
   <br/>> 
   <br/>> I'll make this change for 4.3.12. Note that you'll have to restart 
   <br/>> Xymon for this to take effect.
   <br/>> 
   <br/>> 
   <br/>> Regards.
   <br/>> Henrik
   <br/>> 
   <br/>> _______________________________________________
   <br/>> Xymon mailing list
   <br/>> Xymon@xymon.com
   <br/>> http://lists.xymon.com/mailman/listinfo/xymon
  </div>
 
</body></html>