swPackActivityState
RAD-SwPack-MIB ·
.1.3.6.1.4.1.164.6.2.67.4.1.1.2
Object
column Enumeration
SW Pack activity states are:
active (1) - is set upon SW Pack installation starting
process.
Only one SW Pack may be 'active' at any given time.
When a SW Pack becomes 'active' agent sets 'readOnly'
bit of the fileSystemEntry.fileSystemValidIndication
object.
In addition the agent shall mark the previous active SW
Pack to 'previousActive' (see below description of
'previousActive (3)').
ready (2) - means that the SW Pack was loaded successfully
and it is ready to be installed. The 'readOnly' bit of
the fileSystemEntry.fileSystemValidIndication object
shall be reset.
previousActive (3)- This is a transitional status that
remains during the installation process. After the
completion of the installation the Agent changes it to
'ready'. In case of SW Pack installation interruption by
the 'undoInstall' command the agent shall change the
'previousActive' state to 'active'.
Note: Only one previousActive SW Pack may exist at any
given time.
Context
- MIB
- RAD-SwPack-MIB
- OID
.1.3.6.1.4.1.164.6.2.67.4.1.1.2- Type
- column
- Access
- readonly
- Status
- current
- Parent
- swPackEntry
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 'RAD-SwPack-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RAD-SwPack-MIB::swPackActivityState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'RAD-SwPack-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RAD-SwPack-MIB::swPackActivityState.<fileSystemPath>.<fileSystemObjType>.<fileSystemObjName>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'RAD-SwPack-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'RAD-SwPack-MIB::swPackActivityState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | active |
2 | ready |
3 | previousActive |