diff options
author | Pim van den Berg | 2009-12-31 11:42:14 +0100 |
---|---|---|
committer | Pim van den Berg | 2009-12-31 12:39:43 +0100 |
commit | 853a4e939c99fb683983d947f4267bf249f7c05e (patch) | |
tree | cfffabaa43f218fbc29c2b00cc7ceb36168a8b90 /plugin/df.php | |
parent | replace duplicate code by function rrd_options (diff) | |
download | apt-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 '')
-rw-r--r-- | plugin/df.php | 2 |
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 | ||