I have this setup in my librenms for getting temp from a hirshmann switch. The tempurature is pulled with no issues but I can’t seem to get the low and high limit values. If anyone has an idea please let me know.
cat /opt/librenms/resources/definitions/os_discovery/hirschmann-greyhound.yaml
modules:
sensors:
temperature:
data:
-
oid: HM2-DEVMGMT-MIB::hm2DevMgmtTemperature
num_oid: '.1.3.6.1.4.1.248.11.10.1.5.1.0'
descr: 'Internal Temperature'
index: '0'
high_limit: '.1.3.6.1.4.1.248.11.10.1.5.2.0'
low_limit: '.1.3.6.1.4.1.248.11.10.1.5.3.0'
humidity:
data:
-
oid: HM2-DEVMGMT-MIB::hm2DevMgmtHumidity
num_oid: '.1.3.6.1.4.1.248.11.10.1.12.1.0'
descr: 'Internal Humidity'
index: '0'
state:
data:
-
oid: HM2-PWRMGMT-MIB::hm2PSTable
value: HM2-PWRMGMT-MIB::hm2PSState
index: '{{ $index }}'
num_oid: '.1.3.6.1.4.1.248.11.11.1.1.1.1.2.{{ $index }}'
descr: 'Power Supply {{ $index }}'
state_name: hm2PSState
states:
- { descr: active, value: 1, generic: 0 }
- { descr: notPlugged, value: 2, generic: 1 }
I am able to see the values with SNMP walk
snmpwalk REDACTED
iso.3.6.1.4.1.248.11.10.1.5.2.0 = INTEGER: 70
snmpwalk REDACTED
iso.3.6.1.4.1.248.11.10.1.5.3.0 = INTEGER: 0
Thank you