Hi all,
May be is solved, but in Debian etch jffnms version, when I define a 5
minutes alarm duration, the generated alarms get a date stop 0000.00-00
00:00:00. so never will stop.
In my case, I have some special interface wich can only be polled witch
snmp traps, so I send traps every 5 minuts when womething goes wrong. If I
don't receive any trap, alarm should desappear.
To resolve that issue, I have modified the file
/usr/share/jffnms/engine/consolidate/events.php:
There is a line that begins: "insert_alarm
($event["date"],"",$event["interface"]..."
-
You need to modify the second parameter with the correct alarm_duration.,
you can write this line (rescue from a previous function)
$date_stop = date("Y-m-d
H:i:s",(strtotime($event["date"])+$event["alarm_duration"]+30)); // add the
alarm duration + 30 sec
and then change the second parameter:
"insert_alarm ($event["date"],*$date_stop*,$event["interface"]..."
regards,
PD: I had been working on an alternative front end for JFFNMS which could be
showed by operators in far. if someones is interested in... just tell me.
--
Pau Seglar Segura
[EMAIL PROTECTED]
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
jffnms-users mailing list
jffnms-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jffnms-users