I don't understand.

The duration of an alarm when is active (interface is down) is from now minus the start date of that alarm.

Javier

Greg Albrecht wrote:
hi all,
we're having a weird problem where our triggers will recognize the
duration of an 'up' event, but will not recognize the duration of a
'down' event:

[EMAIL PROTECTED] $ php poller.php 63 543
15:29:09  :  H  63 : Poller Start : 5 Items.
15:29:09  :  H  63 :  I 543 :  P  10 :
app_status,current_instances(httpd): not running -> multi_buffer(): 2
(time P:263.35 | 9.91)
15:29:09  :  H  63 :  I 543 :  P  20 : app_status(): not running ->
alarm(38): Nothing was done (time P:4.75 | 2.01)
15:29:09  :  H  63 :  I 543 :  P  30 : hostmib_perf:used_memory(2):
-> buffer(): 3 (time P:0.35 | 0.48)
15:29:09  :  H  63 :  I 543 :  P  90 : no_poller(): 0 -> rrd(*):
(time P:0.46 | 3.26)
15:29:09  :  H  63 :  I 543 :  P LPD : last_poll_date(): 1142033349 ->
db(last_poll_date): 1 (time P:0.5 | 2.44)
15:29:09  :  H  63 : Poller End, Total Time: 298.18 msec.

[EMAIL PROTECTED] $ grep 'alarm 59618:' triggers-2006-03-10.log
triggers-2006-03-10.log:14:36:48 alarm 59618:   T 2 - P 10 - R 2
If 'type(38) !IN 12,25' (1)     Then email (1)
triggers-2006-03-10.log:14:36:48 alarm 59618:
--------------------------------------------------------------------------------
triggers-2006-03-10.log:14:36:48 alarm 59618:   T 3 - P 5 - R 16
If 'interface_client_id(3) = 4' (0)
triggers-2006-03-10.log:14:36:48 alarm 59618:   T 3 - P 10 - R 6
If 'duration(12) > 300' (0)     Stop
triggers-2006-03-10.log:14:36:48 alarm 59618:
--------------------------------------------------------------------------------
triggers-2006-03-10.log:14:36:48 alarm 59618:   T 4 - P 5 - R 26
If 'interface_client_id(3) != 4' (1)    Stop
triggers-2006-03-10.log:14:36:48 alarm 59618:
--------------------------------------------------------------------------------
triggers-2006-03-10.log:14:36:48 alarm 59618:   T 5 - P 5 - R 28
If 'interface_client_id(3) = 4' (0)
triggers-2006-03-10.log:14:36:48 alarm 59618:   T 5 - P 10 - R 29
If 'duration(12) > 300' (0)     Stop


this is what 'alarm editor' shows:
ID Start Date Stop Date Duration Type State Interface Triggered Start/Stop Ref 59618 2006-03-10 14:36:36 0000-00-00 00:00:00 00:42:51 Application not running (1) schematic httpd 3440912 / 0

-g

--
Greg Albrecht ([EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>)
The Letter G - http://theletterg.org <http://theletterg.org>

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Javier Szyszlican, Project Leader, JFFNMS
[EMAIL PROTECTED]

I hope JFFNMS or I were helpful to you, if you
can, please donate at http://jffnms.org/donate



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
jffnms-users mailing list
jffnms-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jffnms-users

Reply via email to