[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

TIME and localtime in hobbitd-alerts.cfg



Hi,

We have problem setting TIME in our rules.


Example of a rule for excluding alerts for the ldap service between 05:00 and 05:30 AM:


HOST=uldns1,uldns2 SERVICE=ldap TIME=*:0500:0530


In notifications.log we see:

Wed May  3 03:02:40 2006 uldns1.ldap (1.2.3.4) 0797852006 1146625310 0
Wed May  3 03:02:40 2006 uldns2.ldap (1.2.3.4) mister.test (at) example.com 1146625360 0


This seems to indicate that Hobbit treats the TIME as GMT (2 hours shift because of summertime) but we use CEST on the server (TZ=Europe/Zurich)


How can we solve this?


Dominique UNIL - University of Lausanne