currMeasureFunction
CPS-MIB ·
.1.3.6.1.4.1.3808.1.1.50.3.2.1.7
Object
column mandatory
r/w
Enumeration
Getting this oid to check the configuration be matched with actual installation. Setting this oid to tell system what the measure target is. For the DC current(prefix as dc), charge/discharge threshold would be considered and used. For the AC current(prefix ad ac), RMS threshold would be considered and used.
Context
- MIB
- CPS-MIB
- OID
.1.3.6.1.4.1.3808.1.1.50.3.2.1.7- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- currMeasureEntry
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'CPS-MIB' -M '/opt/observium/mibs/cyberpower:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CPS-MIB::currMeasureFunction'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CPS-MIB' -M '/opt/observium/mibs/cyberpower:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CPS-MIB::currMeasureFunction.<currMeasureIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CPS-MIB' -M '/opt/observium/mibs/cyberpower:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CPS-MIB::currMeasureFunction'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | dcBatteryStringA |
2 | dcBatteryStringB |
3 | dcBatteryStringC |
4 | dcBatteryStringD |
5 | dcBatteryStringE |
6 | dcBatteryStringF |
7 | dcBatteryStringG |
8 | dcBatteryStringH |
9 | dcReserved |
20 | acInputCurrent |