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":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.