All MIBs › PRVT-UPS-MIB › upsLinePowerStatus
upsLinePowerStatus
Module: PRVT-UPS-MIB
OID (symbolic): PRVT-UPS-MIB::upsLinePowerStatus
OID (numeric): 1.3.6.1.4.1.738.1.5.103.1.2
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-only
Description: This object indicates the external AD power line status: the UPS is supplying the power from the internal battery or from an external AC power connection.
What is upsLinePowerStatus?
This reports whether the connected UPS is currently drawing power from external AC mains or has switched over to running on its internal battery. Administrators use it to know immediately when a power outage has occurred at the site, since a shift to fromInternalBattery means the UPS has taken over and runtime is now limited by battery capacity. Seeing this change from fromExternalConnection to fromInternalBattery would prompt an admin to check on the broader utility power situation and prepare for a potential graceful shutdown if the outage persists.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.738.1.5.103.1.2 snmpwalk -v2c -c public <target> PRVT-UPS-MIB::upsLinePowerStatus
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.738.1.5.103.1.2.1 snmpget -v2c -c public <target> PRVT-UPS-MIB::upsLinePowerStatus.1
Start monitoring BATM Advanced Communication switches/ipSwitch platforms with attached UPS with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the PRVT-UPS-MIB::upsLinePowerStatus OID value, configure state conditions and alerts, and monitor any BATM Advanced Communication switches/ipSwitch platforms with attached UPS from a single console.
OID Breakdown
Upper-level ancestors (9 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.738 | privateVendorOID | PRIV-VENDORDEF-MIB |
| 1.3.6.1.4.1.738.1 | prvt_products | PRVT-SWITCH-MIB |
| 1.3.6.1.4.1.738.1.5 | switch | PRVT-SWITCH-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.738.1.5.103 | prvtUPSMib | PRVT-UPS-MIB |
| 1.3.6.1.4.1.738.1.5.103.1 | upsStatus | PRVT-UPS-MIB |
| 1.3.6.1.4.1.738.1.5.103.1.2 | upsLinePowerStatus | PRVT-UPS-MIB |