diff options
author | Pim van den Berg | 2014-04-15 22:38:45 +0200 |
---|---|---|
committer | Pim van den Berg | 2014-04-15 22:38:45 +0200 |
commit | ce82b6998bb9fb36e2623748e32d6a5cbb3ce78f (patch) | |
tree | 453a26b9280f1ffd24b9aaa848f72f9e7c943825 /plugin/df.php | |
parent | overview: disable showmem by default, add percent sign (diff) | |
download | apt-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 '')
-rw-r--r-- | plugin/df.php | 1 |
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 | ||
29 | switch($obj->args['type']) { | 29 | switch($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'; |