[hobbit] Holidays and planned downtime
wiskbroom at hotmail.com
wiskbroom at hotmail.com
Wed Mar 17 20:35:18 CET 2010
Send
I've just added this into my own servers hobbitserver.cfg, the default one was %m/%d, I prefer the reverse (the way you've shown in the config entry below).
HOLIDAYFORMAT="%d/%m"
So far no change, I'll let you know if the display/look does change.
By the way, my holidays were added in bb-hosts like this:
# You need to define at least the Xymon server itself here.
0.0.0.0 .default. # holidays=us
I changed this to:
# You need to define at least the Xymon server itself here.
0.0.0.0 .default. # holidays=US
And now my info page is showing US instead of us.
.vp
> Thanks for the info.
> So the missing line in hobbitserver.cfg is really just a format variable.
> HOLIDAYFORMAT="%d/%m" # How holiday dates
> are displayed
>
> To enable/disable holiday alerting, your following lines are the instruction.
>
>
> On Wed, Mar 17, 2010 at 1:57 PM, wrote:
>>
>> By the way, here is the top portion for this file:
>>
>> # If you want to handle alerts on a holiday
>> # like alerts on sunday set
>> # HOLIDAYLIKEWEEKDAY=0
>> # or like fridays then set
>> # HOLIDAYLIKEWEEKDAY=5
>> # To disable the holiday calculation set
>> # HOLIDAYLIKEWEEKDAY=-1
>>
>> HOLIDAYLIKEWEEKDAY=-1 # -1= no holiday calculation
>> # 0=handle holidays like sundays
>> # 6=handle holidays like saturdays
>>
>> So you can disable holidays altogether, or handle in any way you need, to include adding your own even to this file.
>>
>>
>>
>>>>>> I checked 4.3.0 src tree, hobbit-holidays.cfg is inside
>>>>>> hobbitd/etcfiles directory.
>>>>>> Not sure why Henrik didn't add HOLIDAYFORMAT into hobbitserver.cfg.DIST file.
>>>>>
>>>>> Perhaps I am mis-reading this, but isn't this defined in
>>>>> /etc/hobbit-holidays.cfg?
>>>>
>>>> HOLIDAYFORMAT is defined in hobbtserver.cfg.
>>>> See http://www.hswn.dk/hobbit-cgi/viewconf.sh?server for example.
>>>
>>> Not in my version, I am running 4.3.0-0.beta2.
>>>
>>>
>>>>>> Maybe this is considered an optional feature ?
>>>>>>
>>>>>> Do you think holiday should be enabled by default for 4.3.0 ?
>>>
>>> Judging from the above, I would guess so, never used any earlier versions.
>>>
>>> To unsubscribe from the hobbit list, send an e-mail to
>>> hobbit-unsubscribe at hswn.dk
>>>
>>>
>>
>> To unsubscribe from the hobbit list, send an e-mail to
>> hobbit-unsubscribe at hswn.dk
>>
>>
>>
>
>
>
> --
> T.J. Yang
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
>
>
More information about the Xymon
mailing list