ntpServIpAddr
HIK-DEVICE-MIB ·
.1.3.6.1.4.1.39165.1.33
Object
scalar r/w
OctetString
The IP address of NTP server.
Context
- MIB
- HIK-DEVICE-MIB
- OID
.1.3.6.1.4.1.39165.1.33- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- devicemib
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 'HIK-DEVICE-MIB' -M '/opt/observium/mibs/hikvision:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HIK-DEVICE-MIB::ntpServIpAddr.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HIK-DEVICE-MIB' -M '/opt/observium/mibs/hikvision:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HIK-DEVICE-MIB::ntpServIpAddr'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-255