[Xymon] Holidays.cfg question

Taylor Lewick tlewick at tradebotsystems.com
Tue Jan 3 15:51:13 CET 2012


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/bb8dfe60/attachment.html>


More information about the Xymon mailing list