ntpMasterCntl
MAIPU-NTP-MIB ·
.1.3.6.1.4.1.5651.3.97.2
Object
Indicates whether the NTP act as a master or not. 'Enabled' results in act as master and provide clock resource only, can not be synchronized by anyone else; 'disabled'results in can be synchronized and synchronize others.
Context
- MIB
- MAIPU-NTP-MIB
- OID
.1.3.6.1.4.1.5651.3.97.2- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- ntpMib
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 'MAIPU-NTP-MIB' -M '/opt/observium/mibs/maipu:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MAIPU-NTP-MIB::ntpMasterCntl.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MAIPU-NTP-MIB' -M '/opt/observium/mibs/maipu:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MAIPU-NTP-MIB::ntpMasterCntl'
Syntax
- Source
- EnabledStatus
- Base type
Enumeration
Type Description
A simple status value for the object.
Values & Constraints
Type Values
1 | enabled |
2 | disabled |