From: sabrina pittarel (sabri_esame@yahoo.com)
Date: Mon Aug 14 2006 - 20:28:32 ART
To be honest I have no clue how the trap should look
like...but I run the OID shown in your capture
(cisco.9.43.2) on the CISCO SNMP Object navigator tool
and the result doesnt seem to match the documentation.
This is the "translation" of your OID:
cisco (9)
+ -- ciscoRttMonMIB (42)
|
- -- ciscoConfigManMIB (43)
| |
| + -- ciscoConfigManMIBObjects (1)
| |
| - -- ciscoConfigManMIBNotificationPrefix (2)
The documentation for IP SLA trap generation states:
SNMP traps for IP SLAs are supported by the
CISCO-RTTMON-MIB and CISCO-SYSLOG-MIB
http://www.cisco.com/univercd/cc/td/doc/product/software/ios124/124cr/hsla_r/sla_01h.htm#wp1078050
As you can see CISCO-RTTMON-MIB is #42, while your
trap is showing #43 ciscoConfigManMIB.
I'm not sure
Sabrina
--- Victor Cappuccio <cvictor@protokolgroup.com>
wrote:
> Hi Sabrina,
>
> Are you trying to generate this?
>
> 18:53:12.820979 IP (tos 0xc0, ttl 64, id 57358,
> offset 0, flags [none],
> proto: ICMP (1), length: 164) 150.1.254.254 >
> 150.1.9.6: ICMP 150.1.254.254
> udp port snmptrap unreachable, length 144
> IP (tos 0x0, ttl 253, id 0, offset 0, flags
> [none], proto: UDP (17),
> length: 136) 150.1.9.6.58638 >
> 150.1.254.254.snmptrap: { SNMPv1 C=CISCO {
> Trap(94) E:cisco.9.43.2 [|snmp] } } [|icmp]
>
> I used your configuration and seem to be working
> fine,
> Please let me know
>
> Chivediamo
> Vmctor.-
>
>
> -----Mensaje original-----
> De: nobody@groupstudy.com
> [mailto:nobody@groupstudy.com] En nombre de
> sabrina pittarel
> Enviado el: Lunes, 14 de Agosto de 2006 06:07 p.m.
> Para: sabrina pittarel; ccielab@groupstudy.com
> Asunto: How to generate SNMP traps upon SLA (or RTR)
> events (IEWB Lab9 Vol 2
> 10.1)
>
> Hi all,
> I realize this is not the most trendy topic, but I'd
> appreciate some help.
> I was trying to solve IEWB Lab 9 volume 2 Task 10.1
> that asks, in addition to regular SLA configuration,
> to export collected data to an SNMP server.
> The proposed solution only enables SNMP rtr traps
> and
> configures the SNMP host, but with only that
> configuration I cannot see any trap being generated.
> I browsed the documentation and I noticed that:
>
> ip sla monitor reaction-configuration <...>
>
> command is also required.
>
> I've played around with it a bit but still no lack
> on
> generating these traps.
> Last configuration I tried (see previous email) was
> supposed to generate a trap when the ping timeout
> expired, but nothing.
>
> Any idea ?
>
> Sabrina
>
>
>
> --- sabrina pittarel <sabri_esame@yahoo.com> wrote:
>
> > Hi,
> > I cannot make my router generate SLA traps.
> > I have the following config:
> >
> > ip sla monitor logging traps
> > ip sla monitor 10
> > type echo protocol ipIcmpEcho 128.1.125.5
> > source-interface Serial1/0
> > timeout 500
> > threshold 400
> > frequency 1
> > ip sla monitor reaction-configuration 10 react
> > timeout
> > action-type trapOnly
> > ip sla monitor schedule 10 start-time now
> >
> > <snip>
> >
> > snmp-server enable traps rtr
> > snmp-server host 150.1.1.1 CISCO rtr
> >
> >
> > Sabrina
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam? Yahoo! Mail has the best spam
> > protection around
> > http://mail.yahoo.com
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam
> protection around
> http://mail.yahoo.com
>
>
This archive was generated by hypermail 2.1.4 : Fri Sep 01 2006 - 15:41:57 ART