[hobbit] Event start time
Henrik Stoerner
henrik at hswn.dk
Sat Jul 29 23:31:33 CEST 2006
On Wed, Jul 26, 2006 at 01:18:49PM -0500, Kruse, Jason K. wrote:
> Is there a way to query the server for the time that a status message
> caused a notification? I use the start time currently as a unique item
> to ensure I only open 1 ticket for each notification and have noticed
> that time() - $ENV{DOWNSECS} isn't always equal due to processing
> timeframes and delays.
bb 127.0.0.1 "hobbitdlog HOSTNAME.SERVICE fields=lastchange" | head -1
I'll add an EVENTSTART environment variable with the timestamp for
scripts.
Regards,
Henrik
More information about the Xymon
mailing list