<!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>
   forwarding to the list as well.
  </div> 
  <blockquote style="position: relative; margin-left: 0px; padding-left: 10px; border-left: solid 1px blue;" type="cite">
   ---------- Ursprüngliche Nachricht ----------
   <br />Von: "bb4@richter-it.net" <bb4@richter-it.net>
   <br />An: Mike Burger <mburger@bubbanfriends.org>
   <br />Datum: 12. Februar 2014 um 11:11
   <br />Betreff: Re: [Xymon] Multiple schedules for DOWNTIME not displaying in info
   <br />
   <br /> 
   <div>
    <br />> Mike Burger <mburger@bubbanfriends.org> hat am 11. Februar 2014 um 19:59 geschrieben: 
    <br />> 
    <br />> 
    <br />> > -----BEGIN PGP SIGNED MESSAGE----- 
    <br />> > Hash: SHA1 
    <br />> > 
    <br />> > Hi Mike, 
    <br />> > 
    <br />> > I had this problem too. 
    <br />> > It seems, if you only have one scheduled downtime then spaces are no 
    <br />> > problem but if you have more than one ... well it helps replacing the 
    <br />> > spaces with underscores '_'. At least it worked for me and all scheduled 
    <br />> > downtimes now show up on top of the info page. 
    <br />> > 
    <br />> > HTH 
    <br />> > Torsten 
    <br />> > 
    <br />> > On 11.02.2014 17:41, Mike Burger wrote: 
    <br />> >> I've got a server for which I want 2 different DOWNTIME schedules...one 
    <br />> >> for "cpu" and one for "procs". 
    <br />> >> 
    <br />> >> The example on the hosts.cfg man page 
    <br />> >> (http://www.xymon.com/xymon/help/manpages/man5/hosts.cfg.5.html) 
    <br />> >> indicates 
    <br />> >> that the proper syntax for DOWNTIME is: 
    <br />> >> 
    <br />> >> DOWNTIME=columns:day:starttime:endtime:cause[,columns:day:starttime:endtime:cause] 
    <br />> >> 
    <br />> >> Following that example, I've set it up like so: 
    <br />> >> 
    <br />> >> <ip address> <hostname> # OS:aix 
    <br />> >> disk,files,cpu,memory,msgs,ports,procs 
    <br />> >> NOCOLUMNS:inode DOWNTIME=procs:*:2159:0030:"Nightly dwmain and dwstage 
    <br />> >> database backups",cpu:*:0000:2359:"CPU Utilization due to daily jobs" 
    <br />> >> 
    <br />> >> But when I go to the info page, I see: 
    <br />> >> 
    <br />> >> Planned downtime: All days:2159:0030 (status:procs) (cause:Nightly 
    <br />> >> dwmain 
    <br />> >> and dwstage database backups) 
    <br />> >> 
    <br />> >> and at the bottom: 
    <br />> >> 
    <br />> >> Other tags: OS:aix disk,files,cpu,memory,msgs,ports,procs 
    <br />> >> NOCOLUMNS:inode 
    <br />> >> ,cpu:*:0000:2359:CPU Utilization due to daily jobs 
    <br />> >> 
    <br />> >> Should I not see both parts of the DOWNTIME line in the "Planned 
    <br />> >> downtime" 
    <br />> >> area on the client's info page? I've noticed this behavior in both 
    <br />> >> 4.3.15 
    <br />> >> and 4.3.16 (I'm only trying to add this multi-schedule for the first 
    <br />> >> time, 
    <br />> >> today). 
    <br />> 
    <br />> Thanks, Torsten. 
    <br />> 
    <br />> Did the schedules work, though, with the spaces in place (i.e. was it just 
    <br />> an issue with the aesthetics) or did putting the the underscores ("_") in 
    <br />> cause the schedule to properly function, too? 
    <br />> 
    <br />> -- 
    <br />> Mike Burger 
    <br />> http://www.bubbanfriends.org 
    <br />> 
    <br />> "It's always suicide-mission this, save-the-planet that. No one ever just 
    <br />> stops by to say 'hi' anymore." --Colonel Jack O'Neill, SG1 
    <br />> 
    <br />>
   </div> 
   <div>
     
   </div> 
   <div>
    Hi Mike,
   </div> 
   <div>
     
   </div> 
   <div>
    as far as I remember the schedules did not work. At least the second one didn't.
   </div> 
   <div>
    So it was more than an aesthetics issue.
   </div> 
   <div>
     
   </div> 
   <div>
    Cheers
   </div> 
   <div>
    Torsten
   </div> 
  </blockquote> 
  <div>
   <br /> 
  </div>
 
</body></html>