aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/plugin
diff options
context:
space:
mode:
authorPim van den Berg2014-01-02 13:08:28 -0800
committerPim van den Berg2014-01-02 13:08:28 -0800
commitb311f05b2e37814fe289b2c307a7616fbf6fc90a (patch)
tree3d166c6af06e4a5ec01f8c83134220d29c2107d6 /plugin
parentplugin/tail: collectd < 5 backwards compatibility (diff)
parentTime left is in seconds (plugin apcupsd) (diff)
downloadapt-panopticon_cgp-b311f05b2e37814fe289b2c307a7616fbf6fc90a.zip
apt-panopticon_cgp-b311f05b2e37814fe289b2c307a7616fbf6fc90a.tar.gz
apt-panopticon_cgp-b311f05b2e37814fe289b2c307a7616fbf6fc90a.tar.bz2
apt-panopticon_cgp-b311f05b2e37814fe289b2c307a7616fbf6fc90a.tar.xz
Merge pull request #40 from oohlaf/apcupsd
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');