ostSntpServerIp2String
OMNITRON-EXT-MIB ·
.1.3.6.1.4.1.7342.7.1.3.1.1.33
Object
SNTP server 2 IPv4 or IPv6 address.
Setting this object also impacts the ostSntpServerIp2
returned value. If an IPv4 address is written to this object the
two objects return the same value. If this object is set with an IPv6
address then ostSntpServerIp2 returns an all zeros value.
Context
- MIB
- OMNITRON-EXT-MIB
- OID
.1.3.6.1.4.1.7342.7.1.3.1.1.33- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- ostModuleSettingsEntry
- Groups
- 1
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'OMNITRON-EXT-MIB' -M '/opt/observium/mibs/omnitron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OMNITRON-EXT-MIB::ostSntpServerIp2String'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'OMNITRON-EXT-MIB' -M '/opt/observium/mibs/omnitron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OMNITRON-EXT-MIB::ostSntpServerIp2String.<ostModuleIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'OMNITRON-EXT-MIB' -M '/opt/observium/mibs/omnitron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'OMNITRON-EXT-MIB::ostSntpServerIp2String'
Syntax
- Source
- OMNITRON-TC-MIBOstIpAddr
- Base type
OctetString
Values & Constraints
Type Constraints
range: 0..39
Conformance
Member of