UPS Graph Problems and CRON Job Failure

  • 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



    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:


    Code
    ERROR: No DS called 'percent' in '/var/lib/collectd/rrd/localhost/nut-ups/percent-charge.rrd'


    Any thoughts on this one please?

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!