On checking the SNMPv2-SMI MIB, i found out that, corresponding to 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 ?. Shammi ----- Original Message ---- > From: Shameem Ahamed <shameem.aha...@yahoo.com> > To: beginners@perl.org > Sent: Wed, November 18, 2009 6:36:42 PM > Subject: Net::SNMP OID doubt > > Hi All, > > I am trying to create a script to get the logical disk status using Net::SNMP. > > 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 > > In this , OID part is SNMPv2-SMI::enterprises.1714.1.1.2.1.6.1 > > In the Net::SNMP get_request function, I am not able to use the OID as above. > > Can anyone please advise on this?. Also, how can i specify the MIB files to > be > used while creating a snmp session. > > Regards, > Shameem -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/