Xymon Mailing List Archive search

hobbit-alerts DOWNSECS

3 messages in this thread

list Mario Andre · Thu, 17 Aug 2006 16:31:18 -0300 ·
Hi friends,

I'm trying to set a custom mail script for hobbit-alerts.When I use the
$DOWNSECS , the value showed is the downsecs for the current day and not the
real value in case of the service is down for more then a day.

Hobbit version 4.1.1


Thanks in advance.
list Mario Andre · Thu, 17 Aug 2006 16:50:51 -0300 ·
quoted from Mario Andre
 Hi friends,

I'm trying to set a custom mail script for hobbit-alerts.When I use the

$DOWNSECS , the value showed in the downsecs in the message is different
from the one on page in Status Unchanged time.


Hobbit version 4.1.1


Thanks in advance.
list Henrik Størner · Thu, 17 Aug 2006 22:59:35 +0200 ·
quoted from Mario Andre
On Thu, Aug 17, 2006 at 04:31:18PM -0300, mario andre wrote:
I'm trying to set a custom mail script for hobbit-alerts.When I use the
$DOWNSECS , the value showed is the downsecs for the current day and not the
real value in case of the service is down for more then a day.

Hobbit version 4.1.1
You probably need to upgrade. From the Hobbit "Changes" file:


Changes from 4.1.2 -> 4.1.2p1 (10 Nov 2005)
Bugfixes:
[snip]
* The handling of alerts was counting the duration of an event
  based on when the color last changed. This meant that each
  time the color changed, any DURATION counters were reset.
  This would cause alerts to not go out if a status was
  changing between yellow and red faster than any DURATION
  setting. Changed this to count the event start as the *first*
  time the status went into an alert state (yellow or red, usually).


Note that this would also bite you if the host has a DOWNTIME setting,
since it then changes to "blue", causing the duration counters to
be reset.


Of course, I'd recommend that you upgrade to version 4.2.0.


Regards,
Henrik