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. --- type/Default.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'type') diff --git a/type/Default.class.php b/type/Default.class.php index 817521a..6b1ab5c 100644 --- a/type/Default.class.php +++ b/type/Default.class.php @@ -89,7 +89,7 @@ class Type_Default { $rrdgraph[] = sprintf('-w %d', is_numeric($this->width) ? $this->width : 400); $rrdgraph[] = sprintf('-h %d', is_numeric($this->heigth) ? $this->heigth : 175); $rrdgraph[] = '-l 0'; - $rrdgraph[] = sprintf('-t "%s"', $this->rrd_title); + $rrdgraph[] = sprintf('-t "%s on %s"', $this->rrd_title, $this->args['host']); $rrdgraph[] = sprintf('-v "%s"', $this->rrd_vertical); $rrdgraph[] = sprintf('-s -%d', is_numeric($this->seconds) ? $this->seconds : 86400); -- cgit v1.1