[Xymon] Holidays.cfg question
Dugan, Darin D [EIT]
dddugan at iastate.edu
Tue Jan 3 22:03:57 CET 2012
FYI - I noticed the same problem with Thanksgiving after moving from an ancient version to 4.3.7. Both Thanksgiving 2011 and 2012 show one day early on the info pages. Haven't taken the time to debug yet. I thought 2012 might be a leap year bug somehow, but 2011 also has the problem, and my other offset holidays appear correct:
Martin Luther King Jr. Day:type=mon month=1 offset=3
Memorial Day:type=mon month=5 offset=5
Labor Day:type=mon month=9 offset=1
Thanksgiving:type=thu month=11 offset=4
On a related note, Martin Luther King Jr. Day is observed on the 3rd Monday of January in the US, not January 15th (the actual birth date). Would others support changing/correcting the definition in holidays.cfg? It currently has static January 15th.
Cheers.
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/005bb564/attachment.html>
More information about the Xymon
mailing list