snAgReload
HP-SN-AGENT-MIB ·
.1.3.6.1.4.1.11.2.3.7.11.12.1.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
busy(4).......reload not allowed at this time, flash is busy
The following value can be written:
reset(3).....do a hard reset
The agent will return a
response before the action occurs.
Context
- MIB
- HP-SN-AGENT-MIB
- OID
.1.3.6.1.4.1.11.2.3.7.11.12.1.2.1.1- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- snAgentGbl
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 'HP-SN-AGENT-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HP-SN-AGENT-MIB::snAgReload.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HP-SN-AGENT-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HP-SN-AGENT-MIB::snAgReload'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | other |
2 | running |
3 | reset |
4 | busy |