[Xymon] Holidays.cfg question
Taylor Lewick
tlewick at tradebotsystems.com
Tue Jan 3 17:14:02 CET 2012
FYI, Victoria Day is fixed by changing negative mon to positive mon and setting the day to the 17th.
So Victoria Day:type=+mon month=5 day=17.
Still not sure why Thanksgiving is not displaying the correct date.
From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of Taylor Lewick
Sent: Tuesday, January 03, 2012 8:51 AM
To: xymon at xymon.com
Subject: [Xymon] Holidays.cfg question
So I updated the holidays.cfg file for static dates in 2012.
After doing this I'm noticing two issues. First, xymon is reporting Thanksgiving for 2012 is on Nov 21st, when it should be Nov 22nd.
Also, for Victoria Day in Canada it is reporting May 25th, and its actually on May 21st.
Here are official and xymon definitions for each.
Victoria Day is celebrated on last Monday before May 25th. So this year that would be May 21st.
I tried to use the following definition In holiday.cfg.
Victoria Day: type=-mon month=5 day=25
For Thanksgiving in US its just the 4th Thursday of November, hence:
Thanksgiving:type=thu month=11 offset=4
I could see where the Victoria Day logic may not be working, perhaps xymon doesn't back off one Monday from May 25th like I think it should. But no clue as to why the Thanksgiving date is incorrect.
Any ideas as to what I'm doing wrong?
Thanks,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20120103/657d11c4/attachment.html>
More information about the Xymon
mailing list