[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Event start time
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