hmRS2SelftestMode

HMPRIV-MGMT-SNMP-MIB · .1.3.6.1.4.1.248.14.1.10.12.2

Object

scalar r/w SNMPv2-SMIInteger32
Mode of the selftest coded as an integer value
with each bit representing a special behaviour
of the tests. 
          
Meaning of the bits:
Bit  0: reboot on failure
Bit  1: show failure with hmRS2SigRelayState 
     (a trap will be send also)
Bit  2: do switch memory test on start up
Bit  3: Clear Bit 2 after next reboot if test has been 
        successfully completed

Context

MIB
HMPRIV-MGMT-SNMP-MIB
OID
.1.3.6.1.4.1.248.14.1.10.12.2
Type
scalar
Access
readwrite
Status
current
Parent
hmRS2SelftestGroup

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HMPRIV-MGMT-SNMP-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HMPRIV-MGMT-SNMP-MIB::hmRS2SelftestMode.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HMPRIV-MGMT-SNMP-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HMPRIV-MGMT-SNMP-MIB::hmRS2SelftestMode'

Syntax

Source
SNMPv2-SMIInteger32
Base type
Integer32

Values & Constraints

Object Constraints
range: 0-500
Type Constraints
range: -2147483648..2147483647