Le Lundi, 21 Déc 2009 00:00:18 +0100,
Thomas Anders <[email protected]> a écrit :

> lanas wrote:
> >   Is it possible to easily change the 8072 identifier when, for
> > instance, receiving an IF-MIB trap such as:
> > 
> > 'SNMPv2-MIB::snmpTrapEnterprise.0 (1.3.6.1.6.3.1.1.4.3.0):
> > 1.3.6.1.4.1.8072.3.2.10'.

> Check the (help output for the) configure options
> "--with-enterprise-oid" and "--with-enterprise-notification-oid" when
> building net-snmp from source.

Thanks.  I added to the configure options the following just
before the end of the options:

[...]
--with-enterprise-oid="1234" \
--with-defaults

I am not clear with this one (from configure --help on 5.4.1) :

 --with-enterprise-notification-oid 

 The OID used for the root of
 enterprise specific notifications.
 (default .1.3.6.1.4.1.8072.4 =
 "netSnmpNotificationPrefix")

Would an IF-MIB trap be considered entreprise specific ?  We do
have some specific traps but so far they are sent explicitly by
running the snmptrap command, similar to:

snmptrap -v2c -c public someHost "" MYOWN-MIB::myOwnNotification myValue i 42

In which case the sysobjectOID defined in snmpd.conf is used.
That's all well because the 1234 enterprise oid is in that trap.

All other traps being sent are only IF-MIB up/down traps, and
even though with 1234 defined at compilation time as above, the
IF-MIB traps still have the net-snmp 8072 value.

Are there some -D checkpoints I can run snmpd with to verify what
snmpd thinks the enterprise OID should be ?  This is version
5.4.1.

Thanks.


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-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

Reply via email to