All MIBs › SUN-MASTER-AGENT-MIB › sunSubAgentStatus
sunSubAgentStatus
Module: SUN-MASTER-AGENT-MIB
OID (symbolic): SUN-MASTER-AGENT-MIB::sunSubAgentStatus
OID (numeric): 1.3.6.1.4.1.42.2.15.8.1.2
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: This variable provides the state of the sub-agent. When the sub-agent is started the state is 'init'. Once the sub-agent has read it's configuration files, but has not registered with the master , the state is 'load'. After the 'load' state the sub-agent goes into 'active' state. In this state the sub-agent has registered with the master agent and would respond to any requests from the master agent and can also generate traps.
What is sunSubAgentStatus?
Reports the sub-agent's lifecycle state: init when it first starts, load once it has read its own config but not yet registered, and active once it has registered with the master agent and can respond to requests or send traps; inactive and destroy mark it winding down.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.42.2.15.8.1.2 snmpwalk -v2c -c public <target> SUN-MASTER-AGENT-MIB::sunSubAgentStatus
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.42.2.15.8.1.2.1 snmpget -v2c -c public <target> SUN-MASTER-AGENT-MIB::sunSubAgentStatus.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.42.2.15.8.1.2.1 i <value>
Start monitoring Sun/Solaris host running SNMP master agent (subagent registration/recovery) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the SUN-MASTER-AGENT-MIB::sunSubAgentStatus OID value, configure state conditions and alerts, and monitor any Sun/Solaris host running SNMP master agent (subagent registration/recovery) from a single console.
OID Breakdown
Upper-level ancestors (8 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 |
| 1.3.6.1.4.1.42 | sun | AGENT-STATS-MIB2 |
| 1.3.6.1.4.1.42.2 | prod | AGENT-STATS-MIB2 |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.42.2.15 | sunMasterAgent | SUN-MASTER-AGENT-MIB |
| 1.3.6.1.4.1.42.2.15.8 | sunSubAgentTable | SUN-MASTER-AGENT-MIB |
| 1.3.6.1.4.1.42.2.15.8.1 | sunSubAgentEntry | SUN-MASTER-AGENT-MIB |
| 1.3.6.1.4.1.42.2.15.8.1.2 | sunSubAgentStatus | SUN-MASTER-AGENT-MIB |