Xymon Mailing List Archive search

Event start time

list Henrik Størner
Sat, 29 Jul 2006 23:31:33 +0200
Message-Id: <user-f41ca6391662@xymon.invalid>

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