sysNodeRunLevel
LUM-SYSTEM-MIB ·
.1.3.6.1.4.1.8708.2.2.2.2.6
Object
scalar deprecated
r/w
Enumeration
Note: This attribute is deprecated!
Indicates the runlevel of the software.
halt - Shutdown the entire node.
single - Stop all applications and enter
single user mode.
normal - Normal operations.
reboot - Restart the entire node.
tbd: no network?
tbd: restart with default configuration
Context
- MIB
- LUM-SYSTEM-MIB
- OID
.1.3.6.1.4.1.8708.2.2.2.2.6- Type
- scalar
- Access
- readwrite
- Status
- deprecated
- Default
normal- Parent
- sysNode
- Groups
- 4
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 'LUM-SYSTEM-MIB' -M '/opt/observium/mibs/infinera:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'LUM-SYSTEM-MIB::sysNodeRunLevel.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'LUM-SYSTEM-MIB' -M '/opt/observium/mibs/infinera:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'LUM-SYSTEM-MIB::sysNodeRunLevel'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | undefined |
1 | halt |
2 | single |
3 | normal |
4 | reboot |