cpmProcessState
CISCO-PROCESS-MIB ·
.1.3.6.1.4.1.9.9.109.1.2.1.1.3
Object
column Enumeration
This object indicates the current state of a process.
Running state means that the process is actively
consuming CPU. All the other states are just waiting
states. The valid states are:
other - Any other state apart from the
ones listed.
down - The process is not operational.
running - Actively running on a core.
started - The process is just forked.
waiting - The ProcessMgr config for this process specifies a delay before the
process moves to running.
disabled - The process is not enabled in the ProcessMgr configuration.
userdisabled - The process is put to disabled state by admin.
locked - Implies that if the process exits, it will not be restarted until
the lock is released.
Context
- MIB
- CISCO-PROCESS-MIB
- OID
.1.3.6.1.4.1.9.9.109.1.2.1.1.3- Type
- column
- Access
- readonly
- Status
- current
- Parent
- cpmProcessEntry
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-PROCESS-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-PROCESS-MIB::cpmProcessState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CISCO-PROCESS-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-PROCESS-MIB::cpmProcessState.<cpmCPUTotalIndex>.<cpmProcessPID>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-PROCESS-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-PROCESS-MIB::cpmProcessState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | down |
1 | running |
2 | started |
3 | waiting |
4 | disabled |
5 | userdisabled |
6 | locked |
7 | other |