sherman has asked for the wisdom of the Perl Monks concerning the following question:
Not sure if anyone raised this before, please point me to the right thread if someone has answer this before.
I found Net::Snmp->get_table() failed to return all data. Net::Snmp version: 6.0.1.
I tried to retrieve a nic usagge on a window box but one of interface was not included on get_table() result the debug shows the missing PDU was retrieved from the window box, but not included in the return result object for some reason
debug: 965 Net::SNMP::PDU::_process_var_bind_list(): { 1.3.6.1.2.1.2.2.1.2.19 => OCTET STRING: Microsoft ISATAP Adapter #4 }
debug: 1506 Net::SNMP::Message::_process_octet_string(): not translating OCTET STRING, all octets are allowed in a DisplayString
debug: 965 Net::SNMP::PDU::_process_var_bind_list(): { 1.3.6.1.2.1.2.2.1.2.20 => OCTET STRING: GES EX (Giga Ethernet System) Express PCI Adapter (NDIS) }
debug: 1506 Net::SNMP::Message::_process_octet_string(): not translating OCTET STRING, all octets are allowed in a DisplayString
debug: 965 Net::SNMP::PDU::_process_var_bind_list(): { 1.3.6.1.2.1.2.2.1.2.21 => OCTET STRING: Microsoft ISATAP Adapter #5 }
debug: 1506 Net::SNMP::Message::_process_octet_string(): not translating OCTET STRING, all octets are allowed in a DisplayString
debug: 965 Net::SNMP::PDU::_process_var_bind_list(): { 1.3.6.1.2.1.2.2.1.2.22 => OCTET STRING: GES EX (Giga Ethernet System) Express PCI Adapter (NDIS) #2 }
debug: 1506 Net::SNMP::Message::_process_octet_string(): not translating OCTET STRING, all octets are allowed in a DisplayString
debug: 965 Net::SNMP::PDU::_process_var_bind_list(): { 1.3.6.1.2.1.2.2.1.2.23 => OCTET STRING: Microsoft ISATAP Adapter #6 }
Data Return by Net::Snmp->session->get_table()
OID : 1.3.6.1.2.1.2.2.1.2.19, Desc : Microsoft ISATAP Adapter #4
List : Microsoft ISATAP Adapter #4
OID : 1.3.6.1.2.1.2.2.1.2.22, Desc : GES EX (Giga Ethernet System) Express PCI Adapter (NDIS) #2 List : GES EX (Giga Ethernet System) Express PCI Adapter (NDIS) #2
The OID: 1.3.6.1.2.1.2.2.1.2.20 was discarded during the process for some reason
Does anyone has idea how I get the missing PDU return properly?
Thanks
Sherman
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Net::Snmp->session->get_table() data missing
by 1nickt (Canon) on Jul 02, 2015 at 20:02 UTC | |
Re: Net::Snmp->session->get_table() data missing
by akuk (Beadle) on Jul 03, 2015 at 04:22 UTC |