From 853a4e939c99fb683983d947f4267bf249f7c05e Mon Sep 17 00:00:00 2001 From: Pim van den Berg Date: Thu, 31 Dec 2009 11:42:14 +0100 Subject: always show 'on $host' in the rrd title 'on $host' doesn't have to be added manually to rrd_title anymore. --- plugin/df.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugin/df.php') diff --git a/plugin/df.php b/plugin/df.php index 6d7414b..bf9b850 100644 --- a/plugin/df.php +++ b/plugin/df.php @@ -33,7 +33,7 @@ $obj->width = $width; $obj->heigth = $heigth; $obj->seconds = $seconds; -$obj->rrd_title = "Free space ($tinstance) on $host"; +$obj->rrd_title = sprintf('Free space (%s)', $tinstance); $obj->rrd_vertical = 'Bytes'; $obj->rrd_format = '%5.1lf%sB'; -- cgit v1.1