[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
using logadm (Solaris) with Hobbit
- To: hobbit (at) hswn.dk
- Subject: using logadm (Solaris) with Hobbit
- From: Dominique Frise <Dominique.Frise (at) unil.ch>
- Date: Fri, 05 May 2006 11:39:39 +0200
- Organization: University of Lausanne
- User-agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.7.12) Gecko/20051003
Hi all,
If you are using logadm for log files rotation where you restart your Hobbit
server, you may end up with your server using -partially- UTC instead of your
local timezone.
One noticeable effect is that the TIME settings in hobbit-alerts.cfg will not
be handled correctly. For example alarms will be sent when they should not.
The time shift -two hours for us- can be seen if you compare the
notifications.log and the event history log.
To correct this, you can set the correct timezone before the command for
restarting Hobbit in /etc/logadm.conf or set TZ in the start/stop script of hobbit.
Hope this helps.
Dominique
UNIL - University of Lausanne