sWUpdateControl
TELESTE-COMMON-MIB ·
.1.3.6.1.4.1.3715.99.2.3.2.1.1
Object
column optional
r/w
Enumeration
Writing value updateStart(4) commands the module to run a software
update. The software image location and file name are specified in
sWUpdateURL and sWUpdateFilename.
Writing a updateIdle(1) when the update is running will terminate the
update process immediately. Writing any value when no update is
runnign has no effect.
Reading this object returns either updateIdle(1), updateRunning(2) or
updateFailed(3) depending on the status of the (last) software update.
Context
- MIB
- TELESTE-COMMON-MIB
- OID
.1.3.6.1.4.1.3715.99.2.3.2.1.1- Type
- column
- Access
- readwrite
- Status
- optional
- Parent
- moduleSWUpdateEntry
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 'TELESTE-COMMON-MIB' -M '/opt/observium/mibs/teleste:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TELESTE-COMMON-MIB::sWUpdateControl'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'TELESTE-COMMON-MIB' -M '/opt/observium/mibs/teleste:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TELESTE-COMMON-MIB::sWUpdateControl.<moduleId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'TELESTE-COMMON-MIB' -M '/opt/observium/mibs/teleste:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'TELESTE-COMMON-MIB::sWUpdateControl'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | updateIdle |
2 | updateRunning |
3 | updateFailed |
4 | updateStart |