Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

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


In reply to Net::Snmp->session->get_table() data missing by sherman

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2024-04-16 09:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found