Skip to content

Commit 3ee9d31

Browse files
committed
SNMP: narrow _cisco-metadata serial_number to entPhysicalSerialNum.1
The .67109120 index is only known on Catalyst 1300 / CBS-derived chassis; those devices match the cisco-catalyst profile, which keeps its own .67109120 lookup in _cisco-catalyst.yaml. Keeping .67109120 in the generic Cisco mixin adds noise without coverage benefit. Updates the changelog to reflect the narrower mixin scope.
1 parent 196c0d2 commit 3ee9d31

2 files changed

Lines changed: 6 additions & 8 deletions

File tree

snmp/changelog.d/23498.fixed

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Add ``entPhysicalSerialNum`` fallbacks for Cisco ``serial_number`` metadata. The Cisco Catalyst, Cisco Small Business (cisco-sb), and generic Cisco profiles now resolve ``serial_number`` from ``entPhysicalSerialNum`` at entPhysical indexes ``67109120`` (Catalyst 1300 / CBS350) and ``1``. Adds new Catalyst 9200 (``1.3.6.1.4.1.9.1.3079``) and Catalyst 1300 (``1.3.6.1.4.1.9.1.3233``, ``1.3.6.1.4.1.9.1.3236``) sysobjectids to the cisco-catalyst profile.
1+
Add ``entPhysicalSerialNum`` fallbacks for Cisco ``serial_number`` metadata. The Cisco Catalyst and Cisco Small Business (cisco-sb) profiles now resolve ``serial_number`` from ``entPhysicalSerialNum`` at entPhysical indexes ``67109120`` (Catalyst 1300 / CBS350) and ``1``; the generic Cisco profiles inherit ``entPhysicalSerialNum.1`` via the shared metadata mixin. Adds new Catalyst 9200 (``1.3.6.1.4.1.9.1.3079``) and Catalyst 1300 (``1.3.6.1.4.1.9.1.3233``, ``1.3.6.1.4.1.9.1.3236``) sysobjectids to the cisco-catalyst profile.

snmp/datadog_checks/snmp/data/default_profiles/_cisco-metadata.yaml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,13 @@ metadata:
66
vendor:
77
value: "cisco"
88
serial_number:
9-
symbols:
10-
# ENTITY-MIB: entPhysicalSerialNum at entPhysicalIndex 67109120 — Catalyst 1300 / CBS-derived chassis.
11-
# Reference: https://www.cisco.com/c/en/us/support/docs/smb/switches/Cisco-Business-Switching/kmgmt3636-snmpv3-common-oids-cbs350.html
12-
- OID: 1.3.6.1.2.1.47.1.1.1.1.11.67109120
13-
name: entPhysicalSerialNum
9+
symbol:
1410
# ENTITY-MIB: entPhysicalSerialNum at entPhysicalIndex 1 — common chassis index.
1511
# Source: https://circitor.fr/Mibs/Html/ENTITY-MIB.php
16-
- OID: 1.3.6.1.2.1.47.1.1.1.1.11.1
17-
name: entPhysicalSerialNum
12+
# Catalyst 1300 / CBS-derived chassis (which use entPhysicalIndex 67109120) match the
13+
# cisco-catalyst profile, which provides its own serial_number lookup at that index.
14+
OID: 1.3.6.1.2.1.47.1.1.1.1.11.1
15+
name: entPhysicalSerialNum
1816
version:
1917
symbol:
2018
OID: 1.3.6.1.2.1.1.1.0

0 commit comments

Comments
 (0)