<div dir="ltr">I have a problem here using 3 DOWNTIMES:<div><br></div><div>DOWNTIME=cpu:*:2300:0750:"Backup",vmio:*:2300:0750:"Backup",procs:1:1000:1300:"Test"<br></div><div><br></div><div>There is any wrong configuration on my conf?</div>
<div>Anyone has something like this working?</div><div><br></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><img src="http://www.redix.com.br/email/2014/assinaturadigital2014_bruno.jpg"></div>
</div>
<br><br><div class="gmail_quote">2014-02-12 17:30 GMT-02:00 Mike Burger <span dir="ltr"><<a href="mailto:mburger@bubbanfriends.org" target="_blank">mburger@bubbanfriends.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="">> forwarding to the list as well.<br>
><br>
</div>>> ---------- Ursprüngliche Nachricht ----------<br>
<div><div class="h5">>>  Von: "<a href="mailto:bb4@richter-it.net">bb4@richter-it.net</a>" <<a href="mailto:bb4@richter-it.net">bb4@richter-it.net</a>><br>
>>  An: Mike Burger <<a href="mailto:mburger@bubbanfriends.org">mburger@bubbanfriends.org</a>><br>
>>  Datum: 12. Februar 2014 um 11:11<br>
>>  Betreff: Re: [Xymon] Multiple schedules for DOWNTIME not displaying in<br>
>> info<br>
>><br>
>><br>
>>  > Mike Burger <<a href="mailto:mburger@bubbanfriends.org">mburger@bubbanfriends.org</a>> hat am 11. Februar 2014 um<br>
>> 19:59<br>
>>  > 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<br>
>> no<br>
>>  > > problem but if you have more than one ... well it helps replacing<br>
>> the<br>
>>  > > spaces with underscores '_'. At least it worked for me and all<br>
>> 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<br>
>> schedules...one<br>
>>  > >> for "cpu" and one for "procs".<br>
>>  > >><br>
>>  > >> The example on the hosts.cfg man page<br>
>>  > >> (<a href="http://www.xymon.com/xymon/help/manpages/man5/hosts.cfg.5.html" target="_blank">http://www.xymon.com/xymon/help/manpages/man5/hosts.cfg.5.html</a>)<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<br>
>> dwstage<br>
>>  > >> database backups",cpu:*:0000:2359:"CPU Utilization due to daily<br>
>> 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<br>
>> 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<br>
>> just<br>
>>  > an issue with the aesthetics) or did putting the the underscores<br>
>> ("_") in<br>
>>  > cause the schedule to properly function, too?<br>
>>  ><br>
>>  > --<br>
>>  > Mike Burger<br>
>>  > <a href="http://www.bubbanfriends.org" target="_blank">http://www.bubbanfriends.org</a><br>
>>  ><br>
>>  > "It's always suicide-mission this, save-the-planet that. No one ever<br>
>> just<br>
>>  > stops by to say 'hi' anymore." --Colonel Jack O'Neill, SG1<br>
>>  ><br>
>>  ><br>
>><br>
>>  Hi Mike,<br>
>><br>
>>  as far as I remember the schedules did not work. At least the second<br>
>> one<br>
>> didn't.<br>
>>  So it was more than an aesthetics issue.<br>
>><br>
>>  Cheers<br>
>>  Torsten<br>
<br>
</div></div>Following this, I added the "_" to both schedules' "cause" sections, and<br>
it worked as expected.<br>
<br>
Thanks, Torsten.<br>
<div class="im HOEnZb">--<br>
Mike Burger<br>
<a href="http://www.bubbanfriends.org" target="_blank">http://www.bubbanfriends.org</a><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>
</div><div class="HOEnZb"><div class="h5">_______________________________________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
</div></div></blockquote></div><br></div>