[c-nsp] OT: SNMP trap receiver/alerter.
Thorsten Dahm
t.dahm at resolution.de
Thu Feb 14 05:51:03 EST 2008
Patrick Muldoon wrote:
> On Feb 13, 2008, at 5:44 PM, Thorsten Dahm wrote:
>> What's about Nagios? Sure, it's a bit overkill for what you want, but
>> you don't have to use the full featureset if you don't want to.
>
> EVENT linkUp .1.3.6.1.6.3.1.1.5.4 "Status Events" Normal
> FORMAT Link up on interface $1. Admin state: $2. Operational state: $3
> EXEC echo "[$@] PROCESS_SERVICE_CHECK_RESULT;$r;TRAP;0;$2 linkUp : $4"
> >>/var/spool/nagios/rw/nagios.cmd
>
> But with using the above with nagios, it is kind hard to clear the
> alarms if you have multiple interfaces going up/down on 1 box since
> nagios seems to track status for the entire service.
You can also track on a per-interface basis, but don't ask me how, it's
too long ago when I did this the last time. You have to define the
specific Interfaces in a cmd file and then Nagios will track the Chassis
but also the different interfaces seperately.
cheers,
Thorsten
More information about the cisco-nsp
mailing list