Public bug reported: Binary package hint: nagios3
I've discovered a Daylight Savings Time bug within the avail, histogram, summary and trends CGIs. To reproduce, run a custom report timeperiod for a duration which spans migration into or out of DST. As an example using NZST either 1st Apr to 30th Apr or 1st Sep to 30th Sep. Note the start and end time, either the start or end time will be an hour out from what one would expect. Please see the attached patch to fix. The problem arises from using the generated tm_isdst flag from calling localtime(¤t_time) within compute_report_times(). It should be noted setting tm_isdst=-1 is used elsewhere within these CGIs already. This bug is present in intrepid, jaunty and will be present in karmic too. It is also present the latest stable upstream (3.1.2). I've seperately raised this issue on the nagios-devel mailing list. ** Affects: nagios3 (Ubuntu) Importance: Undecided Status: New -- Reporting CGIs incorrectly calculate start or end time for periods spanning changes to daylight time https://bugs.launchpad.net/bugs/394211 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nagios3 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs