![]() |
|
Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Net::SNMP get_bulk_request Not Workingby spickles (Scribe) |
on Jul 30, 2010 at 20:23 UTC ( #852162=perlquestion: print w/replies, xml ) | Need Help?? |
spickles has asked for the wisdom of the Perl Monks concerning the following question: This may not necessarily be perl related per se, but I'm hoping someone knows enough about SNMP to help anyways as I'm sure I'm not implementing the Net::SNMP get_bulk_request properly. If I use my MIB walk via SolarWinds, I get a tree that represents all of the MAC addresses of the APs connected to the controller. I see an OID that represents the AP MAC address in general, but each MAC address has additional OID digits that are added on to show each individual record. So if I try to enter the root OID that is common to each AP, I get an error that states that there is noSuchInstance. This behavior goes away when I input the OID for a particular AP. So how does my SolarWinds program walk the MIB successfully, yet I cannot perform the same function with Net::SNMP? A couple of the OIDs are as follows: Root OID: 1.3.6.1.4.1.9.9.513.1.1.1.1.2AP Specific OID: 1.3.6.1.4.1.9.9.513.1.1.1.1.2.0.23.223.167.189.192 So I'm hoping someone can tell me either what it is about how SNMP works that I don't understand, or what it is about my code that doesn't work to grab all of the MAC addresses for my APs. Code is below: Thanks,Scott
Back to
Seekers of Perl Wisdom
|
|