TIME and localtime in hobbitd-alerts.cfg
list Dominique Frise
Wed, 03 May 2006 07:50:00 +0200
Message-Id: <user-53a5612ccc27@xymon.invalid>
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) user-2ab2b2b69de7@xymon.invalid 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