hmNetSNTPOperStatus

HMPRIV-MGMT-SNMP-MIB · .1.3.6.1.4.1.248.14.2.3.30.11

Object

Operational status of the SNTP sub-system.
The value is a bit mask:
   0  SNTP disabled
   1  local system clock synchronized
   2  SNTP loop detected
   4  generic error
   8  once synced, client disabled
 100  server 1 not synchronized
 200  server 1 bad protocol version
 400  server 1 not responding
10000  server 2 not synchronized
20000  server 2 bad protocol version
40000  server 2 not responding
(Note that all values are hexadecimal.)

Context

MIB
HMPRIV-MGMT-SNMP-MIB
OID
.1.3.6.1.4.1.248.14.2.3.30.11
Type
scalar
Access
readonly
Status
current
Parent
hmNetSNTPGroup

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::hmNetSNTPOperStatus.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::hmNetSNTPOperStatus'

Syntax

Source
SNMPv2-SMIInteger32
Base type
Integer32

Values & Constraints

Type Constraints
range: -2147483648..2147483647