dnsServZoneCurrent
DNS-SERVER-MIB ·
.0.32.1.1.4.1.1.8
Object
column SNMPv2-TCTruthValue
Whether the server's copy of the zone represented by this row of the table is currently valid. If the zone has never been successfully loaded or has expired since it was last succesfully loaded, this variable will have the value false(2), otherwise this variable will have the value true(1).
Context
- MIB
- DNS-SERVER-MIB
- OID
.0.32.1.1.4.1.1.8- Type
- column
- Access
- readonly
- Status
- current
- Parent
- dnsServZoneEntry
- 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 'DNS-SERVER-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DNS-SERVER-MIB::dnsServZoneCurrent'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DNS-SERVER-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DNS-SERVER-MIB::dnsServZoneCurrent.<dnsServZoneName>.<dnsServZoneClass>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DNS-SERVER-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DNS-SERVER-MIB::dnsServZoneCurrent'
Syntax
- Source
- SNMPv2-TCTruthValue
- Base type
Enumeration
Type Description
Represents a boolean value.
Values & Constraints
Type Values
1 | true |
2 | false |
Conformance
Member of