moduleAction
CISCO-STACK-MIB ·
.1.3.6.1.4.1.9.5.1.3.1.1.12
Object
column r/w
Enumeration
This object, when read, returns one of the
following results:
other(1): module permanently enabled
enable(3): module currently enabled
disable(4): module currently disabled
Setting this object to one of the acceptable
values gives the following results:
other(1): gives an error
reset(2): resets the module's control logic
enable(3): if the module status is configurable,
enables the module, else gives error
disable(4): if the module status is
configurable, disables the module,
else gives error.
Setting this object to any other values results in
an error.
Context
- MIB
- CISCO-STACK-MIB
- OID
.1.3.6.1.4.1.9.5.1.3.1.1.12- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- moduleEntry
- Groups
- 1
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 'CISCO-STACK-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-STACK-MIB::moduleAction'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CISCO-STACK-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-STACK-MIB::moduleAction.<moduleIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-STACK-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-STACK-MIB::moduleAction'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | other |
2 | reset |
3 | enable |
4 | disable |
Conformance
Member of