All MIBs › TRIPPLITE-MIB › upsTrapCode
upsTrapCode
Module: TRIPPLITE-MIB
OID (symbolic): TRIPPLITE-MIB::upsTrapCode
OID (numeric): 1.3.6.1.4.1.850.1.2.1
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-only
Description: A numeric code identifiying the condition that caused the trap to be sent. If the trap number is 104 (upsAgentStarted) or 105 (upsAgentStopped), this code will indicate whether the SNMP agent is software (1) or hardware (2).
What is upsTrapCode?
A legacy numeric code identifying which condition caused a trap to be sent, from the old PowerAlert v11 trap scheme; for the agentStarted/agentStopped traps specifically it indicates whether the SNMP agent is software or hardware-based.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.850.1.2.1 snmpwalk -v2c -c public <target> TRIPPLITE-MIB::upsTrapCode
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.850.1.2.1.1 snmpget -v2c -c public <target> TRIPPLITE-MIB::upsTrapCode.1
Start monitoring Tripp Lite UPS (uninterruptible power supply) with PowerAlert management (battery charge/load/alarm status) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the TRIPPLITE-MIB::upsTrapCode OID value, configure state conditions and alerts, and monitor any Tripp Lite UPS (uninterruptible power supply) with PowerAlert management (battery charge/load/alarm status) from a single console.
OID Breakdown
Upper-level ancestors (7 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.850 | tripplite | TRIPPLITE |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.850.1 | trippUPS | TRIPPLITE-MIB |
| 1.3.6.1.4.1.850.1.2 | trippUpsTrapInfo | TRIPPLITE-MIB |
| 1.3.6.1.4.1.850.1.2.1 | upsTrapCode | TRIPPLITE-MIB |