All MIBs › AGENT-STATS-MIB2 › state
state
Module: AGENT-STATS-MIB2
OID (symbolic): AGENT-STATS-MIB2::state
OID (numeric): 1.3.6.1.4.1.42.2.12.2.2.30.4.5
Node type: OBJECT-TYPE
Type: DisplayString
Access: read-only
Description: The state of the process
What is state?
This OID reports a string or integer enumeration describing the execution state of the agent process (such as running, idle, suspended, or errored). Monitoring this state allows operators to quickly detect when the agent enters an unexpected condition requiring intervention. A concrete example value could be 'running' or '1' (where 1 represents an active running state).
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.42.2.12.2.2.30.4.5 snmpwalk -v2c -c public <target> AGENT-STATS-MIB2::state
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.42.2.12.2.2.30.4.5.1 snmpget -v2c -c public <target> AGENT-STATS-MIB2::state.1
Start monitoring Unix/Solaris hosts running an SNMP agent with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the AGENT-STATS-MIB2::state OID value, configure state conditions and alerts, and monitor any Unix/Solaris hosts running an SNMP agent from a single console.
OID Breakdown
Upper-level ancestors (6 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.42 | sun | AGENT-STATS-MIB2 |
| 1.3.6.1.4.1.42.2 | prod | AGENT-STATS-MIB2 |
| 1.3.6.1.4.1.42.2.12 | sunsymon | AGENT-STATS-MIB2 |
| 1.3.6.1.4.1.42.2.12.2 | agent | AGENT-STATS-MIB2 |
| 1.3.6.1.4.1.42.2.12.2.2 | modules | AGENT-STATS-MIB2 |
| 1.3.6.1.4.1.42.2.12.2.2.30 | agentStats | AGENT-STATS-MIB2 |
| 1.3.6.1.4.1.42.2.12.2.2.30.4 | procstats | AGENT-STATS-MIB2 |
| 1.3.6.1.4.1.42.2.12.2.2.30.4.5 | state | AGENT-STATS-MIB2 |