netdisco / snmp-info

Other
35 stars 31 forks source link

SNMP::Info::Layer3::F5 - Update the module to correctly retrieve interfaces #492

Closed earendilfr closed 8 months ago

earendilfr commented 9 months ago

We have an issue with the current usage of the F5 MIB: the indexes for the interfaces are not an interger but a string (incompatible with the schema of Netdisco).

So, I have updated the F5 module with:

It could solve this issue on Netdisco: https://github.com/netdisco/netdisco/issues/1029

earendilfr commented 9 months ago

You can found here the output of the show device in netdisco with the module updated:

$ netdisco-do show -d 10.208.233.98 -e specify -DI
[73926] 2023-08-09 23:17:54  info App::Netdisco version 2.064001 loaded.
[73926] 2023-08-09 23:17:54  info show: [10.208.233.98]/specify started at Thu Aug 10 01:17:54 2023
[73926] 2023-08-09 23:17:54 debug show: running with timeout 600s
[73926] 2023-08-09 23:17:54 debug => running workers for phase: check
[73926] 2023-08-09 23:17:54 debug -> run worker check/1000000 "internal::snmpfastdiscover"
[73926] 2023-08-09 23:17:54 debug => running workers for phase: main
[73926] 2023-08-09 23:17:54 debug -> run worker main/100 "show"
[73926] 2023-08-09 23:17:54 debug snmp reader cache warm: [10.208.233.98]
[73926] 2023-08-09 23:17:54 debug [10.208.233.98:161] try_connect with v: 3, t: 0.2, r: 0, class: SNMP::Info::Layer3::F5, comm: <hidden>
SNMP::Info::_global uptime : DISMAN-EVENT-MIB::sysUpTimeInstance : .1.3.6.1.2.1.1.3.0
SNMP::Info::_global layers : SNMPv2-MIB::sysServices.0 : .1.3.6.1.2.1.1.7.0
SNMP::Info::_global description : SNMPv2-MIB::sysDescr.0 : .1.3.6.1.2.1.1.1.0
SNMP::Info::_global(description) Timeout at /opt/netdisco/perl5/lib/perl5/App/Netdisco/Transport/SNMP.pm line 292.
SNMP::Info::_global id : SNMPv2-MIB::sysObjectID.0 : .1.3.6.1.2.1.1.2.0
SNMP::Info 3.94
SNMP::Info::device_type() layers:01001110 id:3375 sysDescr:"undef"
SNMP::Info 3.94
SNMP::Info::device_type() layers:01001110 id:3375 sysDescr:"undef"
SNMP::Info::_global layers : SNMPv2-MIB::sysServices.0 : .1.3.6.1.2.1.1.7.0
SNMP::Info::_global description : SNMPv2-MIB::sysDescr.0 : .1.3.6.1.2.1.1.1.0
SNMP::Info::_global id : SNMPv2-MIB::sysObjectID.0 : .1.3.6.1.2.1.1.2.0
SNMP::Info 3.94
SNMP::Info::device_type() layers:01001110 id:3375 sysDescr:"BIG-IP i2600 : Linux 3.10.0-862.14.4.el7.x86_64 : BIG-IP software release 15.1.5.1, build 0.0.14"
SNMP::Info::specify() - Changed Class to SNMP::Info::Layer3::F5.
SNMP::Info::_validate_autoload_method(_data_printer) Unable to resolve method.
SNMP::Info::_validate_autoload_method(as_string) Unable to resolve method.
SNMP::Info::_validate_autoload_method(stringify) Unable to resolve method.
SNMP::Info::_validate_autoload_method(to_string) Unable to resolve method.
SNMP::Info::Layer3::F5  {
    parents: SNMP::Info::Layer3, Exporter
    linear @ISA: SNMP::Info::Layer3::F5, SNMP::Info::Layer3, SNMP::Info::PowerEthernet, SNMP::Info, Exporter, SNMP::Info::IPv6, SNMP::Info::Entity, SNMP::Info::EtherLike, SNMP::Info::Bridge, SNMP::Info::AdslLine, SNMP::Info::LLDP, SNMP::Info::DocsisHE
    public methods (173):
        convert_f5id_stdid, fan, i_duplex, i_mtu, i_vlan, i_vlan_membership, i_vlan_membership_untagged, model, os, v_index, v_name, vendor
        Carp:
            carp, confess, croak
        Data::Dumper:
            Dumper
        Exporter:
            as_heavy, export, export_fail, export_ok_tags, export_tags, export_to_level, import, require_version
        SNMP:
            RECEIVED_MESSAGE, SNMP_API_SINGLE, SNMP_API_TRADITIONAL, SNMP_DEFAULT_ADDRESS, SNMP_DEFAULT_COMMUNITY_LEN, SNMP_DEFAULT_ENTERPRISE_LENGTH, SNMP_DEFAULT_ERRINDEX, SNMP_DEFAULT_ERRSTAT, SNMP_DEFAULT_PEERNAME, SNMP_DEFAULT_REMPORT, SNMP_DEFAULT_REQID, SNMP_DEFAULT_RETRIES, SNMP_DEFAULT_TIME, SNMP_DEFAULT_TIMEOUT, SNMP_DEFAULT_VERSION, snmp_get, snmp_getnext, snmp_set, snmp_trap, SNMPERR_BAD_ADDRESS, SNMPERR_BAD_LOCPORT, SNMPERR_BAD_SESSION, SNMPERR_GENERR, SNMPERR_TOO_LONG, TIMED_OUT
        SNMP::Info:
            all, args, AUTOLOAD, bulkwalk, bulkwalk_no, c_cap, c_id, c_if, c_ip, c_platform, c_port, cache, can, cisco_comm_indexing, class, clear_cache, debug, DESTROY, device_type, error, error_throw, funcs, globals, has_layer, has_topo, i_speed, i_speed_raw, if_ignore, init, ip_index, ip_netmask, ip_table, load_all, loopdetect, mibs, modify_port_list, munge, munge_bits, munge_counter64, munge_dec2bin, munge_e_type, munge_highspeed, munge_i_up, munge_inetaddress, munge_ip, munge_mac, munge_null, munge_octet2hex, munge_port_list, munge_prio_mac, munge_prio_port, munge_speed, new, nosuch, offline, resolve_desthost, session, set_multi, snmp_comm, snmp_connect_ip, snmp_ver, specify, store, update
        SNMP::Info::Bridge:
            fw_mac, fw_port, fw_status, i_stp_bridge, i_stp_id, i_stp_port, i_stp_state, i_untagged, qb_fdb_index, qb_fw_mac, qb_fw_vlan, qb_i_vlan_t, set_add_i_vlan_tagged, set_i_pvid, set_i_untagged, set_i_vlan, set_remove_i_vlan_tagged
        SNMP::Info::Entity:
            e_index, e_port, entity_derived_os_ver, entity_derived_serial
        SNMP::Info::EtherLike:
            munge_el_duplex
        SNMP::Info::IPv6:
            CISCO, IPMIB, ipv6_addr, ipv6_addr_prefix, ipv6_addr_prefixlength, ipv6_index, ipv6_n2p_addr, ipv6_n2p_if, ipv6_n2p_mac, ipv6_n2p_state, ipv6_n2p_type, ipv6_pfx_origin, ipv6_type, IPV6MIB, munge_physaddr
        SNMP::Info::LLDP:
            hasLLDP, lldp_addr, lldp_cap, lldp_id, lldp_if, lldp_ip, lldp_ipv6, lldp_loc_id, lldp_mac, lldp_media_cap, lldp_platform, lldp_port
        SNMP::Info::Layer3:
            at_index, at_netaddr, at_paddr, i_name, i_subinterfaces, interfaces, isis_peers, root_ip, serial
        SNMP::Info::PowerEthernet:
            peth_port_ifindex, peth_port_neg_power
    private methods (0)
    internals: {
        args                {
            AuthPass            "RMx2Nm6UbQMgvEywbP4W",
            AuthProto           "SHA",
            AutoSpecify         0,
            BulkRepeaters       20,
            BulkWalk            1,
            Debug               1,
            DebugSNMP           0,
            DestHost            "10.208.233.98" (dualvar: 10.208),
            IgnoreNetSNMPConf   1,
            MibDirs             [
                [0]  "/opt/netdisco/netdisco-mibs/3com",
                [1]  "/opt/netdisco/netdisco-mibs/adtran",
                [2]  "/opt/netdisco/netdisco-mibs/aerohive",
                [3]  "/opt/netdisco/netdisco-mibs/alcatel",
                [4]  "/opt/netdisco/netdisco-mibs/allied",
                [5]  "/opt/netdisco/netdisco-mibs/apc",
                [6]  "/opt/netdisco/netdisco-mibs/arista",
                [7]  "/opt/netdisco/netdisco-mibs/aruba",
                [8]  "/opt/netdisco/netdisco-mibs/asante",
                [9]  "/opt/netdisco/netdisco-mibs/avaya",
                [10] "/opt/netdisco/netdisco-mibs/bluecoat",
                [11] "/opt/netdisco/netdisco-mibs/bluesocket",
                [12] "/opt/netdisco/netdisco-mibs/brother",
                [13] "/opt/netdisco/netdisco-mibs/cabletron",
                [14] "/opt/netdisco/netdisco-mibs/ceragon",
                [15] "/opt/netdisco/netdisco-mibs/cern",
                [16] "/opt/netdisco/netdisco-mibs/checkpoint",
                [17] "/opt/netdisco/netdisco-mibs/ciena",
                [18] "/opt/netdisco/netdisco-mibs/cisco",
                [19] "/opt/netdisco/netdisco-mibs/ciscosb",
                [20] "/opt/netdisco/netdisco-mibs/citrix",
                [21] "/opt/netdisco/netdisco-mibs/clavister",
                [22] "/opt/netdisco/netdisco-mibs/cloudgenix",
                [23] "/opt/netdisco/netdisco-mibs/colubris",
                [24] "/opt/netdisco/netdisco-mibs/cumulus",
                [25] "/opt/netdisco/netdisco-mibs/cyclades",
                [26] "/opt/netdisco/netdisco-mibs/d-link",
                [27] "/opt/netdisco/netdisco-mibs/dell",
                [28] "/opt/netdisco/netdisco-mibs/eaton",
                [29] "/opt/netdisco/netdisco-mibs/efficientip",
                [30] "/opt/netdisco/netdisco-mibs/enterasys",
                [31] "/opt/netdisco/netdisco-mibs/etherwan",
                [32] "/opt/netdisco/netdisco-mibs/exinda",
                [33] "/opt/netdisco/netdisco-mibs/EXTRAS",
                [34] "/opt/netdisco/netdisco-mibs/extreme",
                [35] "/opt/netdisco/netdisco-mibs/extricom",
                [36] "/opt/netdisco/netdisco-mibs/f5",
                [37] "/opt/netdisco/netdisco-mibs/force10",
                [38] "/opt/netdisco/netdisco-mibs/fortinet",
                [39] "/opt/netdisco/netdisco-mibs/foundry",
                [40] "/opt/netdisco/netdisco-mibs/gigamon",
                [41] "/opt/netdisco/netdisco-mibs/h3c",
                [42] "/opt/netdisco/netdisco-mibs/hirschmann",
                [43] "/opt/netdisco/netdisco-mibs/hp",
                [44] "/opt/netdisco/netdisco-mibs/hpe",
                [45] "/opt/netdisco/netdisco-mibs/huawei",
                [46] "/opt/netdisco/netdisco-mibs/hwgroup",
                [47] "/opt/netdisco/netdisco-mibs/ibm",
                [48] "/opt/netdisco/netdisco-mibs/intel",
                [49] "/opt/netdisco/netdisco-mibs/juniper",
                [50] "/opt/netdisco/netdisco-mibs/korenix",
                [51] "/opt/netdisco/netdisco-mibs/lancom",
                [52] "/opt/netdisco/netdisco-mibs/lantronix",
                [53] "/opt/netdisco/netdisco-mibs/lenovo",
                [54] "/opt/netdisco/netdisco-mibs/liebert",
                [55] "/opt/netdisco/netdisco-mibs/mediant",
                [56] "/opt/netdisco/netdisco-mibs/mellanox",
                [57] "/opt/netdisco/netdisco-mibs/meraki",
                [58] "/opt/netdisco/netdisco-mibs/meru",
                [59] "/opt/netdisco/netdisco-mibs/microsens",
                [60] "/opt/netdisco/netdisco-mibs/mikrotik",
                [61] "/opt/netdisco/netdisco-mibs/moser-baer",
                [62] "/opt/netdisco/netdisco-mibs/motorola",
                [63] "/opt/netdisco/netdisco-mibs/moxa",
                [64] "/opt/netdisco/netdisco-mibs/nateks",
                [65] "/opt/netdisco/netdisco-mibs/net-snmp",
                [66] "/opt/netdisco/netdisco-mibs/netapp",
                [67] "/opt/netdisco/netdisco-mibs/netgear",
                [68] "/opt/netdisco/netdisco-mibs/netonix",
                [69] "/opt/netdisco/netdisco-mibs/netscreen",
                [70] "/opt/netdisco/netdisco-mibs/nexans",
                [71] "/opt/netdisco/netdisco-mibs/nortel",
                [72] "/opt/netdisco/netdisco-mibs/northerndesign",
                [73] "/opt/netdisco/netdisco-mibs/oneaccess",
                [74] "/opt/netdisco/netdisco-mibs/openbsd",
                [75] "/opt/netdisco/netdisco-mibs/opengear",
                [76] "/opt/netdisco/netdisco-mibs/packetfront",
                [77] "/opt/netdisco/netdisco-mibs/paloalto",
                [78] "/opt/netdisco/netdisco-mibs/pica8",
                [79] "/opt/netdisco/netdisco-mibs/pulsesecure-gateway",
                [80] "/opt/netdisco/netdisco-mibs/rad",
                [81] "/opt/netdisco/netdisco-mibs/redlionram",
                [82] "/opt/netdisco/netdisco-mibs/rfc",
                [83] "/opt/netdisco/netdisco-mibs/rittal",
                [84] "/opt/netdisco/netdisco-mibs/riverbed",
                [85] "/opt/netdisco/netdisco-mibs/ruckus",
                [86] "/opt/netdisco/netdisco-mibs/schleifenbauer",
                [87] "/opt/netdisco/netdisco-mibs/sentry",
                [88] "/opt/netdisco/netdisco-mibs/siemens",
                [89] "/opt/netdisco/netdisco-mibs/sixnet",
                [90] "/opt/netdisco/netdisco-mibs/sonicwall",
                [91] "/opt/netdisco/netdisco-mibs/sophos",
                [92] "/opt/netdisco/netdisco-mibs/teleste",
                [93] "/opt/netdisco/netdisco-mibs/teltonika",
                [94] "/opt/netdisco/netdisco-mibs/tplink",
                [95] "/opt/netdisco/netdisco-mibs/trapeze",
                [96] "/opt/netdisco/netdisco-mibs/ubnt",
                [97] "/opt/netdisco/netdisco-mibs/vmware",
                [98] "/opt/netdisco/netdisco-mibs/watchguard",
                [99] "/opt/netdisco/netdisco-mibs/wipipe",
                     (...skipping 2 items...)
            ],
            NonIncreasing       0,
            PrivPass            "wAj4y6GqM9NPpNQFDe2Z",
            PrivProto           "AES",
            RemotePort          161,
            Retries             2,
            SecLevel            "authPriv",
            SecName             "snmp-user-ro",
            Session             SNMP::Session,
            Timeout             3000000,
            Version             3
        },
        BulkRepeaters       20,
        BulkWalk            1,
        class               "SNMP::Info::Layer3::F5",
        debug               1,
        funcs               {
            adsl_atuc_crc_block_len                    "adslAtucChanCrcBlockLength",
            adsl_atuc_curr_tx_rate                     "adslAtucChanCurrTxRate",
            adsl_atuc_interleave_delay                 "adslAtucChanInterleaveDelay",
            adsl_atuc_prev_tx_rate                     "adslAtucChanPrevTxRate",
            adsl_atur_crc_block_len                    "adslAturChanCrcBlockLength",
            adsl_atur_curr_tx_rate                     "adslAturChanCurrTxRate",
            adsl_atur_interleave_delay                 "adslAturChanInterleaveDelay",
            adsl_atur_prev_tx_rate                     "adslAturChanPrevTxRate",
            at_index                                   "ipNetToMediaIfIndex",
            at_netaddr                                 "ipNetToMediaNetAddress",
            at_paddr                                   "ipNetToMediaPhysAddress",
            bgp_peer_addr                              "bgpPeerRemoteAddr",
            bgp_peer_as                                "bgpPeerRemoteAs",
            bgp_peer_fsm_est_trans                     "bgpPeerFsmEstablishedTransitions",
            bgp_peer_id                                "bgpPeerIdentifier",
            bgp_peer_in_tot_msgs                       "bgpPeerInTotalMessages",
            bgp_peer_in_upd                            "bgpPeerInUpdates",
            bgp_peer_in_upd_el_time                    "bgpPeerInUpdateElapsedTime",
            bgp_peer_out_tot_msgs                      "bgpPeerOutTotalMessages",
            bgp_peer_out_upd                           "bgpPeerOutUpdates",
            bgp_peer_state                             "bgpPeerState",
            bgp_peers                                  "bgpPeerLocalAddr",
            bp_index                                   "dot1dBasePortIfIndex",
            bp_port                                    "dot1dBasePortCircuit",
            bs_mac                                     "dot1dStaticAddress",
            bs_port                                    "dot1dStaticReceivePort",
            bs_status                                  "dot1dStaticStatus",
            bs_to                                      "dot1dStaticAllowedToGoTo",
            c_addr6_index                              "cIpAddressIfIndex",
            c_addr6_pfx                                "cIpAddressPrefix",
            c_addr6_type                               "cIpAddressType",
            c_inet_phys_addr                           "cInetNetToMediaPhysAddress",
            c_inet_phys_state                          "cInetNetToMediaState",
            c_inet_phys_type                           "cInetNetToMediaType",
            c_pfx_origin                               "cIpAddressPfxOrigin",
            docs_cmts_cm_down_channel_if_index         "docsIfCmtsCmStatusDownChannelIfIndex",
            docs_cmts_cm_up_channel_if_index           "docsIfCmtsCmStatusUpChannelIfIndex",
            docs_if3_cmts_cm_status_md_if_index        "docsIf3CmtsCmRegStatusMdIfIndex",
            docs_if_cmts_cm_status_inet_address        "docsIfCmtsCmStatusInetAddress",
            docs_if_cmts_cm_status_inet_address_type   "docsIfCmtsCmStatusInetAddressType",
            e_alias                                    "entPhysicalAlias",
            e_class                                    "entPhysicalClass",
            e_descr                                    "entPhysicalDescr",
            e_fru                                      "entPhysicalIsFRU",
            e_fwver                                    "entPhysicalFirmwareRev",
            e_hwver                                    "entPhysicalHardwareRev",
            e_id                                       "entPhysicalAssetID",
            e_map                                      "entAliasMappingIdentifier",
            e_model                                    "entPhysicalModelName",
            e_name                                     "entPhysicalName",
            e_parent                                   "entPhysicalContainedIn",
            e_pos                                      "entPhysicalParentRelPos",
            e_serial                                   "entPhysicalSerialNum",
            e_swver                                    "entPhysicalSoftwareRev",
            e_type                                     "entPhysicalVendorType",
            e_vendor                                   "entPhysicalMfgName",
            el_chipset                                 "dot3StatsEtherChipSet",
            el_coll_excess                             "dot3StatsExcessiveCollisions",
            el_coll_freq                               "dot3CollFrequencies",
            el_coll_late                               "dot3StatsLateCollisions",
            el_coll_mult                               "dot3StatsMultipleCollisionFrames",
            el_coll_single                             "dot3StatsSingleCollisionFrames",
            el_duplex                                  "dot3StatsDuplexStatus",
            el_error_alignment                         "dot3StatsAlignmentErrors",
            el_error_cs                                "dot3StatsCarrierSenseErrors",
            el_error_fcs                               "dot3StatsFCSErrors",
            el_error_frame                             "dot3StatsFrameTooLongs",
            el_error_mac_rec                           "dot3StatsInternalMacReceiveErrors",
            el_error_mac_xmit                          "dot3StatsInternalMacTransmitErrors",
            el_error_sqe                               "dot3StatsSQETestErrors",
            el_error_symbol                            "dot3StatsSymbolErrors",
            el_index                                   "dot3StatsIndex",
            el_xmit_defer                              "dot3StatsDeferredTransmissions",
            fan_state                                  "sysChassisFanStatus",
            fw_mac                                     "dot1dTpFdbAddress",
            fw_port                                    "dot1dTpFdbPort",
            fw_status                                  "dot1dTpFdbStatus",
            i6_addr_pfxlen                             "ipv6AddrPfxLength",
            i6_n2p_phys_addr                           "ipv6NetToMediaPhysAddress",
            i6_n2p_phys_state                          "ipv6IfNetToMediaState",
            i6_n2p_phys_type                           "ipv6NetToMediaType",
            i_alias                                    "ifAlias",
            i_bad_proto_in                             "ifInUnknownProtos",
            i_description                              "ifDescr",
            i_discards_in                              "ifInDiscards",
            i_discards_out                             "ifOutDiscards",
            i_errors_in                                "ifInErrors",
            i_errors_out                               "ifOutErrors",
            i_index                                    "ifIndex",
            i_lastchange                               "ifLastChange",
            i_mac                                      "ifPhysAddress",
            i_mtu                                      "ifMtu",
            i_name                                     "ifName",
            i_octet_in                                 "ifInOctets",
            i_octet_in64                               "ifHCInOctets",
            i_octet_out                                "ifOutOctets",
            i_octet_out64                              "ifHCOutOctets",
            i_pkts_bcast_in                            "ifInBroadcastPkts",
            i_pkts_bcast_in64                          "ifHCInBroadcastPkts",
            i_pkts_bcast_out                           "ifOutBroadcastPkts",
            (...skipping 145 keys...)
        },
        globals             {
            b_mac                "dot1dBaseBridgeAddress",
            b_ports              "dot1dBaseNumPorts",
            b_type               "dot1dBaseType",
            bgp_id               "bgpIdentifier.0",
            bgp_local_as         "bgpLocalAs.0",
            contact              "sysContact",
            description          "sysDescr",
            id                   "sysObjectID",
            ipforwarding         "ipForwarding",
            layers               "sysServices",
            lldp_loc_id_os       "lldpLocChassisId",
            lldp_loc_id_type     "lldpLocChassisIdSubtype",
            lldp_sys_cap         "lldpLocSysCapEnabled",
            lldp_sysdesc         "lldpLocSysDesc",
            lldp_sysname         "lldpLocSysName",
            location             "sysLocation",
            mac                  "ifPhysAddress.1",
            mkt_name             "sysPlatformInfoMarketingName",
            name                 "sysName",
            os_ver               "sysProductVersion",
            ports                "sysInterfaceNumber",
            ps1_status           "sysChassisPowerSupplyStatus.1",
            ps2_status           "sysChassisPowerSupplyStatus.2",
            qb_next_vlan_index   "dot1qNextFreeLocalVlanIndex",
            qb_vlans             "sysVlanNumber",
            qb_vlans_max         "dot1qMaxSupportedVlans",
            router_ip            "ospfRouterId.0",
            serial1              "sysGeneralChassisSerialNum",
            stp_priority         "dot1dStpPriority",
            stp_root             "dot1dStpDesignatedRoot",
            stp_root_port        "dot1dStpRootPort",
            stp_time             "dot1dStpTimeSinceTopologyChange",
            stp_ver              "dot1dStpProtocolSpecification",
            uptime               "sysUpTime"
        },
        IgnoreNetSNMPConf   1,
        init                \ 1,
        mibdirs             var{args}{MibDirs},
        mibs                {
            ADSL-LINE-MIB         "adslLineType",
            BGP4-MIB              "bgpIdentifier",
            BRIDGE-MIB            "dot1dBaseBridgeAddress",
            CISCO-IETF-IP-MIB     "cInetNetToMediaNetAddress",
            DOCS-IF-MIB           "docsIfMib",
            DOCS-IF3-MIB          "docsIf3Mib",
            ENTITY-MIB            "entPhysicalSerialNum",
            EtherLike-MIB         "etherMIB",
            F5-BIGIP-SYSTEM-MIB   "sysAttrArpMaxEntries",
            IF-MIB                "ifIndex",
            IP-MIB                "ipNetToMediaIfIndex",
            IPV6-MIB              "ipv6IfTableLastChange",
            ISIS-MIB              "isisSysID",
            LLDP-EXT-DOT1-MIB     "lldpXdot1MIB",
            LLDP-EXT-DOT3-MIB     "lldpXdot3MIB",
            LLDP-EXT-MED-MIB      "lldpXMedMIB",
            LLDP-MIB              "lldpLocSysCapEnabled",
            OSPF-MIB              "ospfRouterId",
            POWER-ETHERNET-MIB    "pethPsePortDetectionStatus",
            Q-BRIDGE-MIB          "dot1qPvid",
            RSTP-MIB              "dot1dStpPortOperEdgePort",
            SNMPv2-MIB            "sysObjectID"
        },
        munge               {
            at_paddr                 sub { ... },
            b_mac                    var{munge}{at_paddr},
            bs_mac                   var{munge}{at_paddr},
            c_inet_phys_addr         sub { ... },
            e_type                   sub { ... },
            el_duplex                sub { ... },
            fw_mac                   var{munge}{at_paddr},
            i6_n2p_phys_addr         var{munge}{at_paddr},
            i_mac                    var{munge}{at_paddr},
            i_octet_in64             sub { ... },
            i_octet_out64            var{munge}{i_octet_in64},
            i_pkts_bcast_in64        var{munge}{i_octet_in64},
            i_pkts_bcast_out64       var{munge}{i_octet_in64},
            i_pkts_multi_out64       var{munge}{i_octet_in64},
            i_pkts_mutli_in64        var{munge}{i_octet_in64},
            i_pkts_ucast_in64        var{munge}{i_octet_in64},
            i_pkts_ucast_out64       var{munge}{i_octet_in64},
            i_speed                  sub { ... },
            i_speed_high             sub { ... },
            i_up                     sub { ... },
            ip                       sub { ... },
            ip_n2p_phys_addr         var{munge}{at_paddr},
            layers                   sub { ... },
            lldp_lport_desc          sub { ... },
            lldp_lport_id            var{munge}{lldp_lport_desc},
            lldp_rem_asset           var{munge}{lldp_lport_desc},
            lldp_rem_cap_spt         sub { ... },
            lldp_rem_fw_rev          var{munge}{lldp_lport_desc},
            lldp_rem_hw_rev          var{munge}{lldp_lport_desc},
            lldp_rem_media_cap       var{munge}{lldp_rem_cap_spt},
            lldp_rem_media_cap_spt   var{munge}{lldp_rem_cap_spt},
            lldp_rem_model           var{munge}{lldp_lport_desc},
            lldp_rem_port_desc       var{munge}{lldp_lport_desc},
            lldp_rem_serial          var{munge}{lldp_lport_desc},
            lldp_rem_sw_rev          var{munge}{lldp_lport_desc},
            lldp_rem_sys_cap         var{munge}{lldp_rem_cap_spt},
            lldp_rem_sysdesc         var{munge}{lldp_lport_desc},
            lldp_rem_sysname         var{munge}{lldp_lport_desc},
            lldp_rem_vendor          var{munge}{lldp_lport_desc},
            lldp_sys_cap             var{munge}{lldp_rem_cap_spt},
            lldp_sysdesc             var{munge}{lldp_lport_desc},
            lldp_sysname             var{munge}{lldp_lport_desc},
            mac                      var{munge}{at_paddr},
            n2p_paddr                var{munge}{at_paddr},
            old_at_paddr             var{munge}{at_paddr},
            qb_cv_egress             sub { ... },
            qb_cv_untagged           var{munge}{qb_cv_egress},
            qb_v_egress              var{munge}{qb_cv_egress},
            qb_v_fbdn_egress         var{munge}{qb_cv_egress},
            qb_v_untagged            var{munge}{qb_cv_egress},
            stp_i_mac                var{munge}{at_paddr},
            stp_i_root               sub { ... },
            stp_p_bridge             var{munge}{stp_i_root},
            stp_p_port               sub { ... },
            stp_p_root               var{munge}{stp_i_root},
            stp_root                 var{munge}{stp_i_root}
        },
        nosuch              1,
        sess                var{args}{Session},
        snmp_comm           "public",
        snmp_user           "snmp-user-ro",
        snmp_ver            3,
        store               {}
    }
}
[73926] 2023-08-09 23:17:55  info show: finished at Thu Aug 10 01:17:55 2023
[73926] 2023-08-09 23:17:55  info show: status done: Showed specify response from 10.208.233.98
ollyg commented 8 months ago

Many thanks @earendilfr !