kentik / snmp-profiles

SNMP Profiles for ktranslate
Apache License 2.0
25 stars 67 forks source link

[Missing SNMP Profile] Netgear M4300-12X12F ProSAFE #48

Closed ahill-itim closed 2 years ago

ahill-itim commented 3 years ago

Device Vendor: Netgear

Device Model: M4300-12X12F ProSAFE

System Object Identifier (SysOID): .1.3.6.1.4.1.4526.100.1.28

List of MIBs expected:

RFC 1907 - SNMPv2-MIB | The MIB module for SNMPv2 entities HC-RMON-MIB | The original version of this MIB, published as RFC3273. HCNUM-TC | A MIB module containing textual conventions for high capacity data types. SNMP-COMMUNITY-MIB | This MIB module defines objects to help support coexistence between SNMPv1, SNMPv2, and SNMPv3. SNMP-MPD-MIB | The MIB for Message Processing and Dispatching SNMP-TARGET-MIB | The Target MIB Module SNMP-VIEW-BASED-ACM-MIB | The management information definitions for the View-based Access Control Model for SNMP. NETGEAR-POWER-ETHERNET-MIB | NETGEAR Power Ethernet Extensions MIB SFLOW-MIB | sFlow MIB NETGEAR-ISDP-MIB | Industry Standard Discovery Protocol MIB NETGEAR-BOXSERVICES-PRIVATE-MIB | The NETGEAR Private MIB for NETGEAR Box Services Feature. IANA-ADDRESS-FAMILY-NUMBERS-MIB | The MIB module defines the AddressFamilyNumbers textual convention. NETGEAR-DHCPCLIENT-PRIVATE-MIB | The NETGEAR Private MIB for NETGEAR DHCP Client NETGEAR-DENIALOFSERVICE-PRIVATE-MIB | The NETGEAR Private MIB for NETGEAR Denial of Service. NETGEAR-KEYING-PRIVATE-MIB | The NETGEAR Private MIB for NETGEAR Keying Utility LLDP-EXT-DOT3-MIB | The LLDP Management Information Base extension module for IEEE 802.3 organizationally defined discovery information. NETGEAR-LLPF-PRIVATE-MIB | The NETGEAR Private MIB for NETGEAR Link Local Protocol Filtering. DISMAN-PING-MIB | The Ping MIB (DISMAN-PING-MIB) provides the capability of controlling the use of the ping function at a remote host. DNS-RESOLVER-MIB | The MIB module for entities implementing the client (resolver) side of the Domain Name System (DNS) protocol. NETGEAR-OUTBOUNDTELNET-PRIVATE-MIB | The NETGEAR Private MIB for NETGEAR Outbound Telnet NETGEAR-TIMEZONE-PRIVATE-MIB | The NETGEAR Private MIB for NETGEAR for system time, timezone and summer-time settings LAG-MIB | The Link Aggregation module for managing IEEE 802.3ad RFC 1493 - BRIDGE-MIB | Definitions of Managed Objects for Bridges (dot1d) RFC 2674 - Q-BRIDGE-MIB | The VLAN Bridge MIB module for managing Virtual Bridged Local Area Networks RFC 2863 - IF-MIB | The Interfaces Group MIB using SMIv2 NETGEAR-SWITCHING-MIB | NETGEAR Switching - Layer 2 NETGEAR-PORTSECURITY-PRIVATE-MIB | Port Security MIB. IANAifType-MIB | This MIB module defines the IANAifType Textual Convention MAU-MIB | Management information for 802.3 MAUs. NETGEAR-MVR-PRIVATE-MIB | The NETGEAR Private MIB for MVR Configuration IEEE8021-PFC-MIB | Priority-based Flow Control module for managing IEEE 802.1Qbb IEEE8021-PAE-MIB | Port Access Entity module for managing IEEE 802.1X. NETGEAR-DOT1X-AUTHENTICATION-SERVER-MIB | The NETGEAR Private MIB for NETGEAR Dot1x Authentication Server RADIUS-ACC-CLIENT-MIB | RADIUS Accounting Client MIB TACACS-CLIENT-MIB | Defines a portion of the SNMP MIB under the NETGEAR Corporation enterprise OID pertaining to TACACS+ client configuration. NETGEAR-AUTHENTICATION-MANAGER-MIB | The NETGEAR Private MIB for NETGEAR authentication manager feature. RFC 1724 - RIPv2-MIB | RIP Version 2 MIB Extension RFC 1850 - OSPF-TRAP-MIB | The MIB module to describe traps for the OSPF Version 2 Protocol. NETGEAR-ROUTING-MIB | NETGEAR Routing - Layer 3 IP-MIB | The MIB module for managing IP and ICMP implementations, but excluding their management of IP routes. NETGEAR-QOS-MIB | NETGEAR Flex QOS Support NETGEAR-QOS-COS-MIB | NETGEAR Flex QOS COS RFC 3289 - DIFFSERV-DSCP-TC | Management Information Base for the Textual Conventions used in DIFFSERV-MIB NETGEAR-QOS-DIFFSERV-EXTENSIONS-MIB | NETGEAR Flex QOS DiffServ Private MIBs' definitions NETGEAR-QOS-ISCSI-MIB | NETGEAR Flex QOS iSCSI Flow Acceleration MIBs' definitions draft-ietf-magma-mgmd-mib-03 | MGMD MIB, includes IGMPv3 and MLDv2. RFC 5240 - PIM-BSR-MIB | Bootstrap Router mechanism for PIM routers IANA-RTPROTO-MIB | IANA IP Route Protocol and IP MRoute Protocol Textual Conventions IPMROUTE-STD-MIB | The MIB module for management of IP Multicast routing, but independent of the specific multicast routing protocol in use. NETGEAR-NSF-MIB | The MIB module defines objects to configure Non Stop Forwarding. RFC 2466 - IPV6-ICMP-MIB | Management Information Base for IP Version 6: ICMPv6 Group NETGEAR-ROUTING6-MIB | The NETGEAR Private MIB for NETGEAR IPv6 Routing. NETGEAR-IPV6-LOOPBACK-MIB | The NETGEAR Private MIB for NETGEAR Loopback IPV6 address configuration.

If possible, please add a current SNMP walk of the device, with sensitive information removed

# v2c example
snmpwalk -v 2c -On -c $COMMUNITY_STRING $IP_ADDRESS . >> $DEVICE_TYPE.out

# v3 example
snmpwalk -v3 -On -l authPriv -u $USERNAME -a MD5|SHA -A $AUTH_PASS -x DES|AES -X $PRIV_PASS $IP_ADDRESS . >> $DEVICE_TYPE.out
thezackm commented 3 years ago

@ahill-itim - please provide a public gist with a sanitized SNMP walk of the device and we will get this in queue. We need a more targeted list of metrics than the generic list of every MIB the device supports please.

github-actions[bot] commented 2 years ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] commented 2 years ago

This issue was closed because it has been stalled for 5 days with no activity.

ahill-itim commented 2 years ago

Hi, please see requested snmp-walk here.

https://gist.github.com/ahill-itim/4ba52b14251b8c44dd92179374ed750b

thezackm commented 2 years ago

@ahill-itim - that SNMP walk isn't complete and looks to have timed out; can you please try a new walk with an extended timeout value and see if the end of the walk goes beyond the 1.3.6.1.2.* branch and into the 1.3.6.1.4.* area of the MIB tree?

# v2c example
snmpwalk -v 2c -t 10 -On -c $COMMUNITY_STRING $IP_ADDRESS . >> snmp_walk.out

# v3 example
snmpwalk -v3 -t 10 -l authPriv -u $USERNAME -a MD5|SHA -A $AUTH_PASS -x DES|AES -X $PRIV_PASS -ObentU -Cc $IP_ADDRESS . >> snmp_walk.out
ahill-itim commented 2 years ago

Hi Zack,

Uploaded new snmpwalk, can you confirm if this one has all the data you need?

Cheers, Andrew

Andrew Hill Lead Infrastructure Engineer itim

From: Zack Mutchler @.> Sent: 05 May 2022 15:12 To: kentik/snmp-profiles @.> Cc: Andrew Hill @.>; Mention @.> Subject: Re: [kentik/snmp-profiles] [Missing SNMP Profile] Netgear M4300-12X12F ProSAFE (Issue #48)

CAUTION: This email originated from outside of the organisation. Do not click links or open attachments unless you recognize the sender and know the content is safe.

@ahill-itimhttps://github.com/ahill-itim - that SNMP walk isn't complete and looks to have timed out; can you please try a new walk with an extended timeout value and see if the end of the walk goes beyond the 1.3.6.1.2. branch and into the 1.3.6.1.4. area of the MIB tree?

v2c example

snmpwalk -v 2c -t 10 -On -c $COMMUNITY_STRING $IP_ADDRESS . >> snmp_walk.out

v3 example

snmpwalk -v3 -t 10 -l authPriv -u $USERNAME -a MD5|SHA -A $AUTH_PASS -x DES|AES -X $PRIV_PASS -ObentU -Cc $IP_ADDRESS . >> snmp_walk.out

- Reply to this email directly, view it on GitHubhttps://github.com/kentik/snmp-profiles/issues/48#issuecomment-1118604745, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AWKOTVXPK5O2NU5YAV54FY3VIPJKZANCNFSM5HILQK5Q. You are receiving this because you were mentioned.Message ID: @.**@.>>

Itim Limited | Company registration number : 03208792 | 2nd Floor, Atlas House, 173 Victoria Street, London SW1E 5NH, England

This e-mail including any attachments is intended only for the addressee named above and it may contain confidential or privileged information. If you are not the intended recipient please notify the sender and note that the contents must not be disclosed to anyone else, no copies can be taken and all existing copies must be destroyed. Itim Limited will not be liable for any error in transmission. You should carry out your own virus checks before opening any attachments. Opinions, conclusions and other information in this message and attachments that do not relate to the official business of Itim Ltd are neither given nor endorsed by it. Itim Ltd maintains a policy of email monitoring including spot checks and audits to detect unauthorised use of its email system. Any email may therefore be intercepted.

thezackm commented 2 years ago

@ahill-itim - I don't see the new upload; can you share the link? (if it's on the gist then it's still truncating inside of the 1.3.6.1.2.* branch; more specifically it's ending in the midst of the DIFFSERV-MIB (1.3.6.1.2.1.97.*)

We can try adding this to the existing netgear-switch.yml profile which was built based on an SNMP walk from a M4300-52G ProSAFE 48-port device. I would assume they're going to be almost identical for performance metrics and it would keep you from having to try and get a full walk from your device.

If that's an acceptable path for you please let me know and I will get it handled ASAP.

ahill-itim commented 2 years ago

Hi Zack,

Please see link to gist below:

https://gist.github.com/ahill-itim/989e044e5569ce87a326fe271faf31fb

If that doesn't have all the info you need please proceed with the alternative path.

Thank you, Andrew

Andrew Hill Lead Infrastructure Engineer itim

From: Zack Mutchler @.> Sent: 12 May 2022 17:41 To: kentik/snmp-profiles @.> Cc: Andrew Hill @.>; Mention @.> Subject: Re: [kentik/snmp-profiles] [Missing SNMP Profile] Netgear M4300-12X12F ProSAFE (Issue #48)

CAUTION: This email originated from outside of the organisation. Do not click links or open attachments unless you recognize the sender and know the content is safe.

@ahill-itimhttps://github.com/ahill-itim - I don't see the new upload; can you share the link? (if it's on the gist then it's still truncating inside of the 1.3.6.1.2. branch; more specifically it's ending in the midst of the DIFFSERV-MIBhttps://mibs.observium.org/mib/DIFFSERV-MIB/ (1.3.6.1.2.1.97.)

We can try adding this to the existing netgear-switch.ymlhttps://github.com/kentik/snmp-profiles/blob/main/profiles/kentik_snmp/netgear/netgear-switch.yml profile which was built based on an SNMP walk from a M4300-52G ProSAFE 48-port device. I would assume they're going to be almost identical for performance metrics and it would keep you from having to try and get a full walk from your device.

If that's an acceptable path for you please let me know and I will get it handled ASAP.

- Reply to this email directly, view it on GitHubhttps://github.com/kentik/snmp-profiles/issues/48#issuecomment-1125207389, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AWKOTVQQT43DH6E3TP2SHNTVJUYCJANCNFSM5HILQK5Q. You are receiving this because you were mentioned.Message ID: @.**@.>>

Itim Limited | Company registration number : 03208792 | 2nd Floor, Atlas House, 173 Victoria Street, London SW1E 5NH, England

This e-mail including any attachments is intended only for the addressee named above and it may contain confidential or privileged information. If you are not the intended recipient please notify the sender and note that the contents must not be disclosed to anyone else, no copies can be taken and all existing copies must be destroyed. Itim Limited will not be liable for any error in transmission. You should carry out your own virus checks before opening any attachments. Opinions, conclusions and other information in this message and attachments that do not relate to the official business of Itim Ltd are neither given nor endorsed by it. Itim Ltd maintains a policy of email monitoring including spot checks and audits to detect unauthorised use of its email system. Any email may therefore be intercepted.

thezackm commented 2 years ago

thanks @ahill-itim - that walk had everything needed to confirm the existing profile should work just fine; I appreciate the help!