hm2LogEmailAction

HM2-LOGGING-MIB · .1.3.6.1.4.1.248.11.23.1.10.9

Object

scalar r/w Enumeration
After configuring all email alert settings, set this object 
to 'test' to sendt a test message to the configured address(es). 
Setting the object to 'non-urgent' will force the device to 
immediately sent all buffered logs to the configured email 
server(s)/address(es). 
When read the object is read it always returns 'other'. 
The object can't be set as 'other'.

Context

MIB
HM2-LOGGING-MIB
OID
.1.3.6.1.4.1.248.11.23.1.10.9
Type
scalar
Access
readwrite
Status
current
Parent
hm2LogEmailAlertGroup

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

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

Syntax

Enumeration

Values & Constraints

Enumerated Values
1other
2test
3non-urgent