
FishMonger
Veteran
/ Moderator
May 11, 2011, 3:00 PM
Post #2 of 4
(6028 views)
|
Re: [venuyacha] how to get proper snmpget values using perl script
[In reply to]
|
Can't Post
|
|
If you have Net::SNMP installed, why are you using a system command in backticks instead of using the module? 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.
|