Xymon Mailing List Archive search

TS - Holiday listing

3 messages in this thread

list Tom Schmitt · Tue, 4 Jan 2011 09:45:23 -0700 ·
I have updated the etc/hobbit-holidays.cfg file for holidays in 2011.

I have restarted xymon.

 
When I click on any "info" ICON I get 2 listings side by side on the
left is 2010 and on the right is 2011.

I only have entries for 2011 in the file.

How do I get rid of the 2010 entries????

 
The file has this information:

 
# USA-START     Must have this tag (REQUIRED)

[us]

New Year 0103:type=static month=1 day=3

Memorial Day 0530:type=mon month=5 offset=5

Independence Day 0704:type=static month=7  day=4

Labor Day 0905:type=mon month=9 offset=1

Thanksgiving Day 1124:type=fri month=11 offset=4

Christmas 1226:type=static month=12 day=26

 
# L3-USA with Off Friday's

Off Friday 0108:type=static month=01 day=7

Off Friday 0122:type=static month=01 day=21

Off Friday 0205:type=static month=02 day=4

Off Friday 0219:type=static month=02 day=18

Off Friday 0305:type=static month=03 day=4

Off Friday 0319:type=static month=03 day=18

Off Friday 0402:type=static month=04 day=1

Off Friday 0416:type=static month=04 day=15

Off Friday 0430:type=static month=04 day=29

Off Friday 0514:type=static month=05 day=13

Off Friday 0528:type=static month=05 day=27

Off Friday 0611:type=static month=06 day=10

Off Friday 0625:type=static month=06 day=24

Off Friday 0709:type=static month=07 day=8

Off Friday 0723:type=static month=07 day=22

Off Friday 0806:type=static month=08 day=5

Off Friday 0820:type=static month=08 day=19

Off Friday 0903:type=static month=09 day=2

Off Friday 0917:type=static month=09 day=16

Off Friday 1001:type=static month=09 day=30

Off Friday 1015:type=static month=10 day=14

Off Friday 1029:type=static month=10 day=28

Off Friday 1112:type=static month=11 day=11

Off Friday 1126:type=static month=11 day=25

Off Friday 1210:type=static month=12 day=9

Off Friday 1224:type=static month=12 day=23

# USA-END       Must have this tag (REQUIRED)

 
# ORIGINAL us SET

#Whit Monday:type=easter offset=50

#Martin Luther King Jr. Day:type=static month=1 day=15

#President's Day:type=mon month=2 offset=3

#Memorial Day:type=mon month=5 offset=5

#Flag Day:type=static month=6 day=14

#Independence Day:type=static month=7 day=4

#Labor Day:type=mon month=9 offset=1

#Veteran's Day:type=static month=11 day=11

#Thanksgiving:type=thu month=11 offset=4

 
Thanks,

 
Tom Schmitt

Senior IT Staff - R&D

L-3 Communication Systems West

640 North 2200 West

P.O. Box 16850

Salt Lake City, UT  XXXXX

Phone (XXX) XXX-XXXX

Cell      (XXX) XXX-XXXX

eFax    (XXX) XXX-XXXX

user-9c1ae820b621@xymon.invalid

           \\\\||////

             \ ~  ~ /  

             | @  @ |   

--oOo---(_)---oOo--
list Henrik Størner · Fri, 7 Jan 2011 11:30:22 +0000 (UTC) ·
In <user-8786135657dc@xymon.invalid> user-9c1ae820b621@xymon.invalid writes:
I have updated the etc/hobbit-holidays.cfg file for holidays in 2011.
Fine
I have restarted xymon.
Not necessary.
quoted from Tom Schmitt
When I click on any "info" ICON I get 2 listings side by side on the
left is 2010 and on the right is 2011.
I only have entries for 2011 in the file.
How do I get rid of the 2010 entries????

They will disappear automagically after a while (on April 1st).

The reasoning behind this is that since people may be using the
availability reports, it makes sense to know when was the holidays
late in the previous year - the same way that when we near the end
of a year, it will also show the holidays early in the coming
year.

The rule (as of 4.3.0 beta3 is this):
* In January+February+March, show last year's holidays in October+November+December
* In October thru December, skip the first half of this year from the display.
  Instead, show holidays in first half of next year.


Regards,
Henrik
list Tom Schmitt · Mon, 10 Jan 2011 14:27:29 -0700 ·
Thanks Henrik

 
I fudged the output by adding year=2011 to all of the new entries and made sure

that all month= and day= were 2 digits.

Since we do not use the holidays for alert changes at this time, I made the change.

 
The output now shows as:

       
         Thanks,

         
         Tom Schmitt

         Senior IT Staff - R&D

         Phone (XXX) XXX-XXXX

         user-9c1ae820b621@xymon.invalid

                 \\\\||////

                  \ ~  ~ /  

                  | @  @ |   

            --oOo---(_)---oOo--
quoted from Henrik Størner

 
-----Original Message-----
From: Henrik "Størner [mailto:user-ce4a2c883f75@xymon.invalid] 
Sent: Friday, January 07, 2011 4:30 AM
To: xymon at xymon.com
Subject: Re: [xymon] TS - Holiday listing

 
In <user-8786135657dc@xymon.invalid> user-9c1ae820b621@xymon.invalid writes:

 
I have updated the etc/hobbit-holidays.cfg file for holidays in 2011.
 
Fine

 
I have restarted xymon.
 
Not necessary.

 
When I click on any "info" ICON I get 2 listings side by side on the
left is 2010 and on the right is 2011.
 
I only have entries for 2011 in the file.
 
How do I get rid of the 2010 entries????
 
They will disappear automagically after a while (on April 1st).

 
The reasoning behind this is that since people may be using the

availability reports, it makes sense to know when was the holidays

late in the previous year - the same way that when we near the end

of a year, it will also show the holidays early in the coming

year.

 
The rule (as of 4.3.0 beta3 is this):

* In January+February+March, show last year's holidays in October+November+December

* In October thru December, skip the first half of this year from the display.

  Instead, show holidays in first half of next year.

 
Regards,

Henrik
Attachments (1)