aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/plugin
diff options
context:
space:
mode:
authorPim van den Berg2014-04-15 22:38:45 +0200
committerPim van den Berg2014-04-15 22:38:45 +0200
commitce82b6998bb9fb36e2623748e32d6a5cbb3ce78f (patch)
tree453a26b9280f1ffd24b9aaa848f72f9e7c943825 /plugin
parentoverview: disable showmem by default, add percent sign (diff)
downloadapt-panopticon_cgp-ce82b6998bb9fb36e2623748e32d6a5cbb3ce78f.zip
apt-panopticon_cgp-ce82b6998bb9fb36e2623748e32d6a5cbb3ce78f.tar.gz
apt-panopticon_cgp-ce82b6998bb9fb36e2623748e32d6a5cbb3ce78f.tar.bz2
apt-panopticon_cgp-ce82b6998bb9fb36e2623748e32d6a5cbb3ce78f.tar.xz
plugin/df: fix support for collectd 4
Support for collectd 4 was broken since commit: v0.4.1-52-g0c50eff [Plugin/df: Add support for inode graphs] Closes: https://github.com/pommi/CGP/issues/64
Diffstat (limited to 'plugin')
-rw-r--r--plugin/df.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugin/df.php b/plugin/df.php
index b0e47ef..d4ccc0e 100644
--- a/plugin/df.php
+++ b/plugin/df.php
@@ -28,6 +28,7 @@ $obj->colors = array(
28 28
29switch($obj->args['type']) { 29switch($obj->args['type']) {
30 case 'df_complex': 30 case 'df_complex':
31 default:
31 $obj->rrd_title = sprintf('Free space (%s)', $obj->args['pinstance']); 32 $obj->rrd_title = sprintf('Free space (%s)', $obj->args['pinstance']);
32 $obj->rrd_vertical = 'Bytes'; 33 $obj->rrd_vertical = 'Bytes';
33 $obj->rrd_format = '%5.1lf%sB'; 34 $obj->rrd_format = '%5.1lf%sB';