From ce82b6998bb9fb36e2623748e32d6a5cbb3ce78f Mon Sep 17 00:00:00 2001 From: Pim van den Berg Date: Tue, 15 Apr 2014 22:38:45 +0200 Subject: 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 --- plugin/df.php | 1 + 1 file changed, 1 insertion(+) (limited to 'plugin') 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( switch($obj->args['type']) { case 'df_complex': + default: $obj->rrd_title = sprintf('Free space (%s)', $obj->args['pinstance']); $obj->rrd_vertical = 'Bytes'; $obj->rrd_format = '%5.1lf%sB'; -- cgit v1.1