s5AgInfoReBoot
S5-AGENT-MIB ·
.1.3.6.1.4.1.45.1.6.4.2.1.1
Object
scalar r/w
Enumeration
Action object to reboot the agent.
The following values can only be read:
other(1).....agent in unknown or other state
running(2)...agent running
The following values can be written:
restart(3)...restart agent (i.e., jump to
beginning of agent code)
reboot(4)....start boot sequence for agent
(i.e., jump to beginning of
boot firmware)
reset(5).....do a hardware reset
download(6)..............activate download of
a new agent
downloadAndRestart(7)....activate download of
a new agent and restart
downloadAndReboot(8).....activate download of
a new agent and reboot
downloadAndReset(9)......activate download of
a new agent and reset
If s5AgInfoScheduleBootTime is set in the same PDU as
s5AgInfoReBoot, the action specified occurs when the
scheduled time reaches zero; otherwise, the action
occurs immediately. The agent does best efforts to
return a response before the action occurs.
If any of the combined download actions are
requested, neither action occurs until the
expiry of s5AgInfoScheduleBootTime, if set.
Context
- MIB
- S5-AGENT-MIB
- OID
.1.3.6.1.4.1.45.1.6.4.2.1.1- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- s5AgentGbl
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 'S5-AGENT-MIB' -M '/opt/observium/mibs/nortel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'S5-AGENT-MIB::s5AgInfoReBoot.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'S5-AGENT-MIB' -M '/opt/observium/mibs/nortel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'S5-AGENT-MIB::s5AgInfoReBoot'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | other |
2 | running |
3 | restart |
4 | reboot |
5 | reset |
6 | download |
7 | downloadAndRestart |
8 | downloadAndReboot |
9 | downloadAndReset |