May 11, 2011, 3:00 PM
Post #2 of 4
If you have Net::SNMP installed, why are you using a system command in backticks instead of using the module?
Re: [venuyacha] how to get proper snmpget values using perl script
[In reply to]
If you want to stick with the backticks approach, you'll need to use a regex to parse out the desired value.
If you use the module, I think it will return the value directly, but I can't test that until I get back to work tomorrow.