Don't ask to ask, just ask | |
PerlMonks |
Net::SNMP get_request problemby chrism01 (Friar) |
on Sep 29, 2005 at 01:13 UTC ( [id://495954]=perlquestion: print w/replies, xml ) | Need Help?? |
chrism01 has asked for the wisdom of the Perl Monks concerning the following question:
Monks I'm trying to cvt a cmd line snmp call like this: /usr/bin/snmpget -Oq 1.2.3.4 passwd interfaces.ifTable.ifEntry.ifOutOctets.6 to a Perl Net::SNMP cmd as part of a Perl script. I tried the following, based on the example from the relevant CPAN module page: and got the following result: get_req ERROR: Expected OBJECT IDENTIFIER in dotted notation. Can anybody help me out, bearing in mind that I've never used SNMP before? (In both examples I've obscured the ip address + communitystring) Thx Chris
Back to
Seekers of Perl Wisdom
|
|