aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/plugin/df.php
diff options
context:
space:
mode:
authorPim van den Berg2009-12-31 11:42:14 +0100
committerPim van den Berg2009-12-31 12:39:43 +0100
commit853a4e939c99fb683983d947f4267bf249f7c05e (patch)
treecfffabaa43f218fbc29c2b00cc7ceb36168a8b90 /plugin/df.php
parentreplace duplicate code by function rrd_options (diff)
downloadapt-panopticon_cgp-853a4e939c99fb683983d947f4267bf249f7c05e.zip
apt-panopticon_cgp-853a4e939c99fb683983d947f4267bf249f7c05e.tar.gz
apt-panopticon_cgp-853a4e939c99fb683983d947f4267bf249f7c05e.tar.bz2
apt-panopticon_cgp-853a4e939c99fb683983d947f4267bf249f7c05e.tar.xz
always show 'on $host' in the rrd title
'on $host' doesn't have to be added manually to rrd_title anymore.
Diffstat (limited to 'plugin/df.php')
-rw-r--r--plugin/df.php2
1 files changed, 1 insertions, 1 deletions
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;
33$obj->heigth = $heigth; 33$obj->heigth = $heigth;
34$obj->seconds = $seconds; 34$obj->seconds = $seconds;
35 35
36$obj->rrd_title = "Free space ($tinstance) on $host"; 36$obj->rrd_title = sprintf('Free space (%s)', $tinstance);
37$obj->rrd_vertical = 'Bytes'; 37$obj->rrd_vertical = 'Bytes';
38$obj->rrd_format = '%5.1lf%sB'; 38$obj->rrd_format = '%5.1lf%sB';
39 39