G'day vlad3848,
I'm not a user of Net::SNMP; however, the documentation for get_result() seems to suggest you're receiving a boolean value. From get_request() - send a SNMP get-request to the remote agent:
"... In non-blocking mode, a true value is returned when no error has occurred. ..."
If you look further down the documentation to the EXAMPLES section, I think 1. Blocking SNMPv1 get-request for sysUpTime may provide what you're looking for.
-- Ken
In reply to Re: Perl Net::SNMP returns 1 instead of the desired outcome
by kcott
in thread Perl Net::SNMP returns 1 instead of the desired outcome
by vlad3848
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |