aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/plugin
diff options
context:
space:
mode:
authorOlaf Conradi2014-01-02 21:14:06 +0100
committerOlaf Conradi2014-01-02 21:14:06 +0100
commit63412690546bbbdd866708cdf1764ece4d38e8c7 (patch)
tree3d166c6af06e4a5ec01f8c83134220d29c2107d6 /plugin
parentplugin/tail: collectd < 5 backwards compatibility (diff)
downloadapt-panopticon_cgp-63412690546bbbdd866708cdf1764ece4d38e8c7.zip
apt-panopticon_cgp-63412690546bbbdd866708cdf1764ece4d38e8c7.tar.gz
apt-panopticon_cgp-63412690546bbbdd866708cdf1764ece4d38e8c7.tar.bz2
apt-panopticon_cgp-63412690546bbbdd866708cdf1764ece4d38e8c7.tar.xz
Time left is in seconds (plugin apcupsd)
Diffstat (limited to 'plugin')
-rw-r--r--plugin/apcups.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/apcups.php b/plugin/apcups.php
index faa586e..5566977 100644
--- a/plugin/apcups.php
+++ b/plugin/apcups.php
@@ -53,7 +53,7 @@ switch($obj->args['type']) {
53 $obj->ds_names = array('value' => 'Time Left'); 53 $obj->ds_names = array('value' => 'Time Left');
54 $obj->colors = array('value' => '0000f0'); 54 $obj->colors = array('value' => '0000f0');
55 $obj->rrd_title = sprintf('UPS Time Left'); 55 $obj->rrd_title = sprintf('UPS Time Left');
56 $obj->rrd_vertical = 'Minutes'; 56 $obj->rrd_vertical = 'Seconds';
57 break; 57 break;
58 case 'voltage': 58 case 'voltage':
59 $obj->order = array('battery', 'input', 'output'); 59 $obj->order = array('battery', 'input', 'output');