Hi, Thanks for the replies. I asked in this list, because initially i thought it was a problem with the Net::SNMP module. Sorry for the same.
I have one more doubt. Is there any tool, which i can use for automatically converting this strings to OIDs. Regards, Shammi ----- Original Message ---- > From: "Hack, Gabi (ext)" <[email protected]> > To: Shameem Ahamed <[email protected]>; "[email protected]" > <[email protected]> > Sent: Wed, November 18, 2009 7:22:52 PM > Subject: RE: Net::SNMP OID doubt > > > From: Shameem Ahamed [mailto:[email protected]] > > > > > SNMPv2-SMI::enterprise i can use the 1.3.6.1.4.1 > > > > Is it correct ?. Can i replace the string with this decimal values ?. > > > > It's the wrong list for your question, but yes, you can substitute all names > with the corresponding OIDs (e.g. if the MIB isn't available on the system). > And > yes again, it's the correct OID for SNMPv2-SMI::enterprise > > PRIVATE ENTERPRISE NUMBERS > > (last updated 2009-11-18) > > SMI Network Management Private Enterprise Codes: > > Prefix: iso.org.dod.internet.private.enterprise (1.3.6.1.4.1) > > This file is http://www.iana.org/assignments/enterprise-numbers > > > > > > > My snmpget query is > > > > > > snmpget -v2c -t 1 -r 9 -m ALL -v 1 -c public localhost:161 > > > SNMPv2-SMI::enterprises.1714.1.1.2.1.6.1 > > To find out the OID, use the output modifier "-O n". e.g.: > > snmpget -v2c -t 1 -r 9 -m ALL -v 1 -c public localhost:161 > SNMPv2-SMI::enterprises.1714.1.1.2.1.6.1 -O n > > gabi -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] http://learn.perl.org/
