hm2DiagSelftestAction

HM2-DIAGNOSTIC-MIB · .1.3.6.1.4.1.248.11.22.1.1.10.1.2

Object

column r/w Enumeration
The action that the self-test component should take.
The cause is always logged to the system log,
additionally a trap can be sent to the management 
station or a reboot can be performed.

Context

MIB
HM2-DIAGNOSTIC-MIB
OID
.1.3.6.1.4.1.248.11.22.1.1.10.1.2
Type
column
Access
readwrite
Status
current
Parent
hm2DiagSelftestActionEntry

Walk the column to discover its indexed instances, or supply every index to read one instance.

Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'HM2-DIAGNOSTIC-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HM2-DIAGNOSTIC-MIB::hm2DiagSelftestAction'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HM2-DIAGNOSTIC-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HM2-DIAGNOSTIC-MIB::hm2DiagSelftestAction.<hm2DiagSelftestActionCause>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HM2-DIAGNOSTIC-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HM2-DIAGNOSTIC-MIB::hm2DiagSelftestAction'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1logOnly
2sendTrap
3reboot