in reply to SNMP Error using Net::SNMP - Transport endpoint is not connected
This is an indication that you are supplying an incomplete OID to the SNMP query.
The "SNMPWALK" request succeeds because it dives deeper, returning all child OID's. A simpler SNMPGET would have failed.
Try changing the OID to "1.3.6.1.4.1.9.2.1.3.0" in your code.
To keep this on-topic (perl-related), please do use strict;, etc, as arc_of_descent recommends. Also, it is a good idea to check return values, to ensure that your SNMP object did indeed get created.
"As you get older three things happen. The first is your memory goes, and I can't remember the other two... " - Sir Norman Wisdom
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: SNMP Error using Net::SNMP - Transport endpoint is not connected
by glide (Pilgrim) on Apr 08, 2008 at 14:35 UTC | |
|
Re^2: SNMP Error using Net::SNMP - Transport endpoint is not connected
by Anonymous Monk on Apr 10, 2008 at 20:34 UTC |