File: //lib/netdata/conf.d/go.d/snmp.profiles/default/_std-entity-sensor-mib.yaml
metrics:
- MIB: ENTITY-SENSOR-MIB
table:
OID: 1.3.6.1.2.1.99.1.1
name: entPhySensorTable
symbols:
- OID: 1.3.6.1.2.1.99.1.1.1.4
name: entPhySensorValue # Do not change this name — required by transformEntitySensorValue for matching and renaming logic
chart_meta:
description: Most recent measurement obtained by the agent for this sensor
family: 'Hardware/Sensor/Value'
unit: "1"
transform: |
{{- transformEntitySensorValue .Metric -}}
- OID: 1.3.6.1.2.1.99.1.1.1.5
name: entPhySensorOperStatus # Do not change this name — required by transformEntitySensorValue for matching and renaming logic
chart_meta:
description: Operational status of the sensor
family: 'Hardware/Sensor/Status'
unit: "{status}"
mapping:
1: ok
2: unavailable
3: nonoperational
transform: |
{{- transformEntitySensorValue .Metric -}}
metric_tags:
- tag: sensor_index
index: 1
- tag: _ent_phys_descr
MIB: ENTITY-MIB
table: entPhysicalTable
symbol:
OID: 1.3.6.1.2.1.47.1.1.1.1.2
name: entPhysicalDescr
- tag: _sensor_desc
symbol:
OID: 1.3.6.1.2.1.99.1.1.1.6
name: entPhySensorUnitsDisplay
- tag: rm:sensor_type # needed for transform
symbol:
OID: 1.3.6.1.2.1.99.1.1.1.1
name: entPhySensorType
- tag: rm:sensor_scale # needed for transform
symbol:
OID: 1.3.6.1.2.1.99.1.1.1.2
name: entPhySensorScale
- tag: rm:sensor_precision # needed for transform
symbol:
OID: 1.3.6.1.2.1.99.1.1.1.3
name: entPhySensorPrecision
# MIB: ENTITY-MIB
# table: entPhysicalTable
# symbol:
# name: entPhysicalClass
# OID: 1.3.6.1.2.1.47.1.1.1.1.5
# mapping:
# # RFC 6933 Standard Values (1-14)
# 1: other
# 2: unknown
# 3: chassis
# 4: backplane
# 5: container
# 6: powerSupply
# 7: fan
# 8: sensor
# 9: module
# 10: port
# 11: stack
# 12: cpu
# 13: energyObject
# 14: battery
# # Common Cisco Extensions (15-18) - Non-RFC
# 15: storageDisk # e.g., Cisco UCS hard drives
# 16: memory # e.g., RAM DIMMs in Nexus switches
# 17: software # Virtual/logical components (rare)
# 18: reserved # Unassigned (vendor-specific)