Currently, Cyberpower SNMP MIB is 0.51.

I replaced cyberpower-mib.c 0.51 by 0.52 (
https://github.com/networkupstools/nut/blame/master/drivers/cyberpower-mib.c
).

I recompiled Debian packages and installed it. Result is ok:

# upsc ups4@localhost
Init SSL without certificate database
battery.charge: 100
battery.current: 0
battery.runtime: 2700
battery.runtime.elapsed: 0
battery.temperature: 25
device.contact: Administrator
device.description: UPS SNMP Card
device.location: local info - baie gauche
device.mfr: CYBERPOWER
device.model: PR5000ELCDRTXL5U
device.serial: 2
device.type: ups
driver.name: snmp-ups
driver.parameter.mibs: cyberpower
driver.parameter.pollinterval: 2
driver.parameter.port: 192.168.33.244
driver.parameter.snmp_version: v1
driver.parameter.synchronous: auto
driver.version: 2.8.0
driver.version.data: cyberpower MIB 0.52
driver.version.internal: 1.21
input.frequency: 50
input.voltage: 221
output.current: 0
output.frequency: 50
output.voltage: 221
ups.delay.reboot: 0
ups.delay.shutdown: 180
ups.delay.start: 0
ups.firmware: 4.200
ups.load: 42
ups.mfr: CYBERPOWER
ups.model: PR5000ELCDRTXL5U
ups.serial: 2
ups.status: OL

-- 
Jean-Yves Boisiaud - Alcor Consulting
49, rue du Chemin Vert
49300 Cholet
mobile : +33 6 63 71 73 46

Reply via email to