hmSec2NetPingResult
HMSECURITY2-MIB ·
.1.3.6.1.4.1.248.52.1.12.8.5
Object
scalar Enumeration
Returns the result of the last ping operation. If the ping has been successful (host is reachable through ping) or ping has failed (host is not reachable through ping).
Context
- MIB
- HMSECURITY2-MIB
- OID
.1.3.6.1.4.1.248.52.1.12.8.5- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- hmSec2NetPingGroup
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HMSECURITY2-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HMSECURITY2-MIB::hmSec2NetPingResult.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HMSECURITY2-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HMSECURITY2-MIB::hmSec2NetPingResult'
Syntax
Enumeration
Values & Constraints
No enumerated values or constraints recorded.