monitorState
NS-ROOT-MIB ·
.1.3.6.1.4.1.5951.4.1.2.10.1.3
Object
column MonitorState
State of the specified monitor. Possible states are UP, OUT OF SERVICE, DOWN, GOING OUT OF SERVICE, and DOWN WHEN GOING OUT OF SERVICE.
Context
- MIB
- NS-ROOT-MIB
- OID
.1.3.6.1.4.1.5951.4.1.2.10.1.3- Type
- column
- Access
- readonly
- Status
- current
- Parent
- monServiceMemberEntry
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 'NS-ROOT-MIB' -M '/opt/observium/mibs/citrix:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NS-ROOT-MIB::monitorState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'NS-ROOT-MIB' -M '/opt/observium/mibs/citrix:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NS-ROOT-MIB::monitorState.<monServiceName>.<monitorName>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'NS-ROOT-MIB' -M '/opt/observium/mibs/citrix:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'NS-ROOT-MIB::monitorState'
Syntax
- Source
- MonitorState
- Base type
Enumeration
Values & Constraints
Type Values
0 | monitorStateNotProbed |
1 | monitorStateDown |
2 | monitorStateUnknown |
6 | monitorStateDisabled |
7 | monitorStateUp |