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/swap.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 'plugin/swap.php')
-rw-r--r-- | plugin/swap.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/swap.php b/plugin/swap.php index 8173890..638ddc3 100644 --- a/plugin/swap.php +++ b/plugin/swap.php | |||
@@ -45,7 +45,7 @@ $obj->width = $width; | |||
45 | $obj->heigth = $heigth; | 45 | $obj->heigth = $heigth; |
46 | $obj->seconds = $seconds; | 46 | $obj->seconds = $seconds; |
47 | 47 | ||
48 | $obj->rrd_title = "Swap utilization on $host"; | 48 | $obj->rrd_title = 'Swap utilization'; |
49 | $obj->rrd_vertical = 'Bytes'; | 49 | $obj->rrd_vertical = 'Bytes'; |
50 | $obj->rrd_format = '%5.1lf%s'; | 50 | $obj->rrd_format = '%5.1lf%s'; |
51 | 51 | ||