Re: Trapv1: which enterprises OID to use for generic and specific traps?
Fulko Hew <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <CAGuV3hMUjWEFBG50Ap0in7U2mH6Ss7xa4h+dhPaDuEd7KxfAPQ@mail.gmail.com> |
On Tue, Jan 29, 2013 at 4:06 AM, Giuseppe Modugno <[email protected]>wrote: > I'm interested in sending generic and specific v1 traps. The Trap-PDU > always includes an enterprise OID. Does the standard specify this OID > for generic traps (coldStart, warmStart...)? I noticed Net-SNMP > (Windows installation) sends coldStart with the following enterprise OID: > > NET-SNMP-MIB::netSnmpAgentOIDs.10 > > Is it correct? Shouldn't it be a more generic OID, so not related to > Net-SNMP, like SNMPv2-MIB::coldStart ( 1.3.6.1.6.3.1.1.5.1)? > ISTR... For generic traps, only the 'generic' number is relevant, and the OID part can (really) be anything. It seems most master agents use an OID that identifies the specific vendor/hardware/OS of the 'master agent'. > And what about the enterprise OID to use for specific v1 traps? Can I > choose whatever IDs under the private MIB? > For specific traps, you choose whatever IDs within your private MIB/MIBs you need, to uniquely identify your trap's meaning/intent. ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d _______________________________________________ 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