can you try replacing the $cv->begin, $cv->end with a single $cv->send where the $cv->end is?
Additionally, can you check the return of get_table(), if I read the following right:
When a Net::SNMP object is created having non-blocking behavior, the invocation of a method associated with the object returns immediately, allowing the flow of the code to continue. When a method is invoked that would initiate a SNMP protocol exchange requiring a response, either a true value (i.e. 0x1) is returned immediately or the undefined value is returned if there was a failure. The error() method can be used to determine the cause of the failure.
bw, bliako
In reply to Re: Error handling in AnyEvent::SNMP
by bliako
in thread Error handling in AnyEvent::SNMP
by mmoorreett
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |