Hello, I am using nagios-3.0 (with a patched trends.cgi from 3.0.1). Yesterday, I added easter dates to german holidays (etc/objects/timeperiods.cfg):
define timeperiod{ name de-holidays timeperiod_name de-holidays alias German Holidays january 1 00:00-00:00 ; Neujahr january 6 00:00-00:00 ; Heilige drei Koenige may 1 00:00-00:00 ; Maifeiertag october 3 00:00-00:00 ; Tag d. dt. Einheit november 1 00:00-00:00 ; Allerheiligen december 25 00:00-00:00 ; 1. Weihnachtstag december 26 00:00-00:00 ; 2. Weihnachtstag 2009-04-10 00:00-00:00 ; Karfreitag 2009-04-13 00:00-00:00 ; Ostermontag 2009-05-21 00:00-00:00 ; Christi Himmelfahrt 2009-06-01 00:00-00:00 ; Pfingstmontag 2009-06-11 00:00-00:00 ; Fronleichnam ... (2010/2011/2012 added as well) } However, if I look in the WEB interface under "View Config ->Object Type: Timeperiods, I get a different list: Months are off by minus 2: de-holidays German Holidays ... ... 2009-04-11 00:00:00 - 00:00:00 2009-04-01 00:00:00 - 00:00:00 2009-03-21 00:00:00 - 00:00:00 2009-02-13 00:00:00 - 00:00:00 2009-02-10 00:00:00 - 00:00:00 (instead of 2009-06-11 appears 2009-04-11 a.s.o). Somethings is wrong here. I think the web interface should increment the internal representation by 1 (internal month 0-11 means jan-dec), but this does not explain the offset 2. According to the Changlog, I cannot see that this has been fixed in 3.0.2 (or has it). Regards, Reiner -- Reiner Huober (Extern) [EMAIL PROTECTED] +49(0)731 9533-1760 ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null