[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
TIME and localtime in hobbitd-alerts.cfg
- To: hobbit (at) hswn.dk
- Subject: TIME and localtime in hobbitd-alerts.cfg
- From: Dominique Frise <Dominique.Frise (at) unil.ch>
- Date: Wed, 03 May 2006 07:50:00 +0200
- Organization: University of Lausanne
- User-agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.7.12) Gecko/20051003
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