I have installed the UPS plugin last week to monitor an APC UPS I have connected with USB.
The UPS is connected to OMV and in Services > UPS > Variables, I get
Code
battery.charge: 100
battery.charge.low: 10
battery.charge.warning: 50
battery.date: 2001/09/25
battery.mfr.date: 2012/06/07
battery.runtime: 2400
battery.runtime.low: 120
battery.type: PbAc
battery.voltage: 13.6
battery.voltage.nominal: 12.0
device.mfr: American Power Conversion
device.model: Back-UPS RS 550GI
device.serial: 3B1223X14341
device.type: ups
driver.name: usbhid-ups
driver.parameter.pollfreq: 30
driver.parameter.pollinterval: 2
driver.parameter.port: auto
driver.version: 2.4.3
driver.version.data: APC HID 0.95
driver.version.internal: 0.34
input.sensitivity: medium
input.transfer.high: 282
input.transfer.low: 176
input.voltage: 247.0
input.voltage.nominal: 230
ups.beeper.status: enabled
ups.delay.shutdown: 20
ups.firmware: 857.L3 .I
ups.firmware.aux: L3
ups.load: 9
ups.mfr: American Power Conversion
ups.mfr.date: 2012/06/07
ups.model: Back-UPS RS 550GI
ups.productid: 0002
ups.serial: 3B1223X14341
ups.status: OL
ups.test.result: No test initiated
ups.timer.reboot: 0
ups.timer.shutdown: -1
ups.vendorid: 051d
Alles anzeigen
None of the graphs are working and I've noticed in the System Logs every 5 minutes I get this error:
/USR/SBIN/CRON[pid1]: (root) CMD (/usr/sbin/omv-mkgraph > /dev/null 2>&1)
/USR/SBIN/CRON[pid2]: (CRON) error (grandchild #pid1 failed with exist status 1)
I can't see anything glaring in omv-mkgraph, it appears to refer correctly to the .rrd's I have, excluding 'temperature-battery.rrd'.
Code
root@OMV:/var/lib/collectd/rrd/localhost/nut-ups# ls -al
total 748
drwxr-xr-x 2 root root 4096 Jul 19 10:57 .
drwxr-xr-x 11 root root 4096 Jul 19 10:57 ..
-rw-r--r-- 1 root root 148656 Jul 19 14:53 percent-charge.rrd
-rw-r--r-- 1 root root 148656 Jul 19 14:53 percent-load.rrd
-rw-r--r-- 1 root root 148656 Jul 19 14:54 timeleft-battery.rrd
-rw-r--r-- 1 root root 148656 Jul 19 14:53 voltage-battery.rrd
-rw-r--r-- 1 root root 148656 Jul 19 14:53 voltage-input.rrd
Manually running omv-mkgraph at the command line gives:
Any thoughts on this one please?