[hobbit] allevents stops updating after trimhistory
Henrik Stoerner
henrik at hswn.dk
Wed Oct 4 07:27:50 CEST 2006
On Tue, Oct 03, 2006 at 03:03:17PM -0400, John Glowacki wrote:
> On Solaris 9 hobbit 4.1.2 and RedHat 4 hobbit 4.2 I ran trimhistory and
> noticed the next day that no events were listed at the bottom of the bb2
> page. Working on my 4.2 test system I found hist/allevents stopped
> updating after running trimhistory. Restarting hobbit got it working
> again. Hobbit should not require any additional restarts after running
> trimhistory or it should be mentioned in the man page.
I think you're right about this. The hobbitd_history module keeps the
"allevents" file open while it is running, so trimhistory needs to
signal that it should re-open the new (truncated) file. Killing
hobbitd_history (it restarts automatically) fixes this, but that
shouldn't be needed.
Regards,
Henrik
More information about the Xymon
mailing list