I am using stock 4.2.0 - no patches. That's probably where we differ =)<br><br><div class="gmail_quote">On Wed, May 7, 2008 at 1:21 AM, Dominique Frise <Dominique.Frise@unil.ch> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Specifying the column/service should be supported.<br>
Extract of bb-hosts(5) -Hobbit 4.2.0 + all-in-one patch):<br>
<br>
DOWNTIME=[columns:]day:starttime:endtime:cause[,day:starttime:endtime:cause]<br>
<br>
<br>
Dominique<br>
<br>
<br>
Josh Luthman wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="Ih2E3d">
DOWNTIME=0:0000:2359,W:1930:0730,6:0830:2359<br>
<br>
I am not certain but I don't believe the test needs to be (or can be) specified. Can you try this statement for me?<br>
<br>
</div><a href="http://0.0.0.0" target="_blank">0.0.0.0</a> <<a href="http://0.0.0.0" target="_blank">http://0.0.0.0</a>> host.tld # DOWNTIME=*:0650:0700<div><div></div><div class="Wj3C7c"><br>
<br>
as the man bb-hosts states:<br>
<br>
DOWNTIME=day:starttime:endtime:cause<br>
<br>
Though I don't believe the cause can be entered as it causes problems for me, at least with multiple comma separated DOWNTIME statements.<br>
<br>
Josh<br>
<br>
On Tue, May 6, 2008 at 11:50 AM, Dominique Frise <Dominique.Frise@unil.ch> wrote:<br>
<br>
One more time ;-)<br>
<br>
DOWNTIME=ldap:*:0650:0700<br>
-------------------------<br>
With this config. downtime is working as expected but the info<br>
column displays "ldap:*:0650:0700"<br>
<br>
DOWNTIME=*:ldap:0650:0700<br>
-------------------------<br>
downtime is NOT working and hobbitd tells "Bad timespec (missing<br>
colon or wrong weekdays): ldap:0650:0700". Info column displays<br>
"ldap:All days:0650:0700"<br>
<br>
<br>
<br>
Dominique<br>
<br>
<br>
Josh Luthman wrote:<br>
<br>
Dominique,<br>
<br>
hobbitd is saying your configuration is missing the day<br>
declaration, can you confirm the asterisk is in there?<br>
<br>
Josh<br>
<br>
On Tue, May 6, 2008 at 11:03 AM, Dominique Frise<br>
<Dominique.Frise@unil.ch> wrote:<br>
<br>
Hi Josh,<br>
<br>
Thanks, but no, this doesn't help.<br>
If I swap column and day (DOWNTIME=*:ldap:0650:0700) then it is<br>
displayed correctly -with or without comment-, but hobbitd<br>
complains<br>
about:<br>
<br>
"Bad timespec (missing colon or wrong weekdays): ldap:0650:0700"<br>
<br>
<br>
Dominique<br>
<br>
Josh Luthman wrote:<br>
<br>
Dominique,<br>
<br>
I just ventured into DOWNTIME last week and found that by<br>
dropping the comment column the problem went away!<br>
<br>
Try changing it to<br>
<br>
DOWNTIME=ldap:*:0650:0700<br>
<br>
Josh<br>
<br>
On Tue, May 6, 2008 at 2:52 AM, Dominique Frise<br>
<Dominique.Frise@unil.ch> wrote:<br>
<br>
Hi,<br>
<br>
This was already reported long time ago<br>
(<a href="http://www.hobbitmon.com/hobbiton/2006/12/msg00240.html" target="_blank">http://www.hobbitmon.com/hobbiton/2006/12/msg00240.html</a>) and<br>
maybe<br>
I missed a patch/solution to this.<br>
<br>
The info column does not display the "Planned downtime"<br>
correctly:<br>
<br>
bb-hosts<br>
--------<br>
DOWNTIME=ldap:*:0650:0700:Regeneration<br>
<br>
info column<br>
-----------<br>
Planned downtime: ldap:*:0650:0700:Regeneration<br>
<br>
The info column should display<br>
------------------------------<br>
Planned downtime: ldap:All<br>
days:0650:0700:Regeneration<br>
<br>
<br>
<br>
Dominique<br>
UNIL - University of Lausanne<br>
<br>
To unsubscribe from the hobbit list, send an e-mail to<br>
<a href="mailto:hobbit-unsubscribe@hswn.dk" target="_blank">hobbit-unsubscribe@hswn.dk</a><br>
<mailto:<a href="mailto:hobbit-unsubscribe@hswn.dk" target="_blank">hobbit-unsubscribe@hswn.dk</a>><br>
<mailto:<a href="mailto:hobbit-unsubscribe@hswn.dk" target="_blank">hobbit-unsubscribe@hswn.dk</a><br>
<mailto:<a href="mailto:hobbit-unsubscribe@hswn.dk" target="_blank">hobbit-unsubscribe@hswn.dk</a>>><br>
<mailto:<a href="mailto:hobbit-unsubscribe@hswn.dk" target="_blank">hobbit-unsubscribe@hswn.dk</a><br>
<mailto:<a href="mailto:hobbit-unsubscribe@hswn.dk" target="_blank">hobbit-unsubscribe@hswn.dk</a>><br>
<mailto:<a href="mailto:hobbit-unsubscribe@hswn.dk" target="_blank">hobbit-unsubscribe@hswn.dk</a><br>
<mailto:<a href="mailto:hobbit-unsubscribe@hswn.dk" target="_blank">hobbit-unsubscribe@hswn.dk</a>>>><br>
<br>
<br>
<br>
<br>
<br>
<br>
-- Josh Luthman<br>
Office: 937-552-2340<br>
Direct: 937-552-2343<br>
1100 Wayne St<br>
Suite 1337<br>
Troy, OH 45373<br>
<br>
Those who don't understand UNIX are condemned to reinvent it,<br>
poorly.<br>
--- Henry Spencer<br>
<br>
<br>
To unsubscribe from the hobbit list, send an e-mail to<br>
<a href="mailto:hobbit-unsubscribe@hswn.dk" target="_blank">hobbit-unsubscribe@hswn.dk</a><br>
<mailto:<a href="mailto:hobbit-unsubscribe@hswn.dk" target="_blank">hobbit-unsubscribe@hswn.dk</a>><br>
<mailto:<a href="mailto:hobbit-unsubscribe@hswn.dk" target="_blank">hobbit-unsubscribe@hswn.dk</a><br>
<mailto:<a href="mailto:hobbit-unsubscribe@hswn.dk" target="_blank">hobbit-unsubscribe@hswn.dk</a>>><br>
<br>
<br>
<br>
<br>
<br>
-- Josh Luthman<br>
Office: 937-552-2340<br>
Direct: 937-552-2343<br>
1100 Wayne St<br>
Suite 1337<br>
Troy, OH 45373<br>
<br>
Those who don't understand UNIX are condemned to reinvent it,<br>
poorly.<br>
--- Henry Spencer<br>
<br>
<br>
To unsubscribe from the hobbit list, send an e-mail to<br>
<a href="mailto:hobbit-unsubscribe@hswn.dk" target="_blank">hobbit-unsubscribe@hswn.dk</a> <mailto:<a href="mailto:hobbit-unsubscribe@hswn.dk" target="_blank">hobbit-unsubscribe@hswn.dk</a>><br>
<br>
<br>
<br>
<br>
<br>
-- <br>
Josh Luthman<br>
Office: 937-552-2340<br>
Direct: 937-552-2343<br>
1100 Wayne St<br>
Suite 1337<br>
Troy, OH 45373<br>
<br>
Those who don't understand UNIX are condemned to reinvent it, poorly.<br>
--- Henry Spencer<br>
</div></div></blockquote><div><div></div><div class="Wj3C7c">
<br>
To unsubscribe from the hobbit list, send an e-mail to<br>
<a href="mailto:hobbit-unsubscribe@hswn.dk" target="_blank">hobbit-unsubscribe@hswn.dk</a><br>
<br>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Josh Luthman<br>Office: 937-552-2340<br>Direct: 937-552-2343<br>1100 Wayne St<br>Suite 1337<br>Troy, OH 45373<br><br>Those who don't understand UNIX are condemned to reinvent it, poorly.<br>
--- Henry Spencer