why is snmpEnterprise trap binding added to standard traps
"Joan Landry" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <A9FCB77F97940A418A61FD9BB71E417003C9DFA6@dexbe012-6.exch012.intermedia.net> |
Does anyone know why net-snmp appends the enterprise specidic oid to
standard traps:
>From code agent_trap.c:
/*
* 'trap_vb' should point to the snmpTrapOID.0 varbind,
* identifying the requested trap. If not then bomb out.
* If it's a 'standard' trap, then we need to append an
* snmpEnterprise varbind (if there isn't already one).
*/
Which results in an extra binding on a trap such as linkDown
linkDown
Bindings (6)
Binding #1: sysUpTimeInstance *** (timeticks) 0 days
00h:00m:40s.97th
Binding #2: snmpTrapOID.0 *** (OBJECT IDENTIFIER) linkDown
Binding #3: ifIndex.26 *** (InterfaceIndex) 26 [26]
Binding #4: ifAdminStatus.26 *** (INTEGER) up(1)
Binding #5: ifOperStatus.26 *** (INTEGER) down(2)
Binding #6: snmpTrapEnterprise.0 *** (OBJECT IDENTIFIER)
enterprises.8072.3.2.10
Thanks,
Joan
------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a
Billion" shares his insights and actions to help propel your
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
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