upsPwrSource
FORT-TELECOM-MIB ·
.1.3.6.1.4.1.42019.3.2.2.1.2
Object
scalar Enumeration
This variable shows the power source for switch. 'Battery' - power source is battery, no external AC voltage. 'AC' - power source is external AC voltage,normal operation. This option only for switches with UPS module.
Context
- MIB
- FORT-TELECOM-MIB
- OID
.1.3.6.1.4.1.42019.3.2.2.1.2- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- upsStatus
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'FORT-TELECOM-MIB' -M '/opt/observium/mibs/tfortis:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'FORT-TELECOM-MIB::upsPwrSource.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'FORT-TELECOM-MIB' -M '/opt/observium/mibs/tfortis:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'FORT-TELECOM-MIB::upsPwrSource'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | battery |
2 | ac |