> I'm using snmptrapd in a linux box to collect ospf
> traps from a cisco router.
>
> Immediatly I can see the ospf traps in my linux box:
[snip]
> As you can see, the cisco routers sends a OSPF trap .1.3.6.1.2.1.14.16.2.16
> ... But I have a problem with the type of the trap parameters.:
> i.e the first parameter is .1.3.6.1.2.1.14.1.1
> ospfRouterId OBJECT-TYPE
> SYNTAX IpAddress
> And the value the cisco router return is an Integer (167838209) and
> snmptrapd says that is a wrong type.
And it's quite correct - IpAddress is a different type from Integer.
(And it's not even built on INTEGER anyway - IpAddress is defined as
a specific form of OCTET STRING).
> Is there any way that snmptrapd could convert that integer to ipaddress?.
> Could it be possible that I could be missing some mib in my snmp.conf file?
> Or somthing wrong in the snmp configuration of the Cisco Router?
No - this feels like an error with the Cisco box.
Dave
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users