Hi list,
I'm trying to configure mon to alert when one of our routers interfaces flaps 3
times during 30
secs. I also would like mon not to send more than 1 alert every 30 minutes I
came up with this config:
watch mad_log_flapping
service path_a
description flapping on path_a
period wd {Mon-Sun}
alertafter 3 30s
alertevery 30m
#trapduration 30s
alert mail.alert <email_address>
I'm redirecting SNMP traps from the router to mon using snmptrap2mon.pl. The
thing is that if I
redirect linkUp and linkDown traps, the service never come down and mon never
sends and alert even
when there are more than 2 transitions (linkDown & linkUp). If only linkDown
traps are redirected,
mon sends the alerts as it should but the services is always down (it shows up
on red on moncgi)
after a flapping occurs, which bothers me. This is mainly because no linkUp
traps are redirected.
I've tried option "trapduration 30s" but on the lastet CVS release mon
complains with "unknown
syntax [trapduration 30s], line 59".
I'd like to have the service on green while there is no flapping and, if there
is flapping (3
interface transitions during 30 secs), put in on red during 30 min and bring it
back to green if no
more flapping happens.
Any help would be appreciated.
Regards,
Emilio
_______________________________________________
mon mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/mon