From f9b00eb98d6b3deec0231a54e56754e6579de3e6 Mon Sep 17 00:00:00 2001 From: Pim van den Berg Date: Fri, 10 May 2013 22:01:08 +0200 Subject: type: stick to the rrdgraph time specification Reference: http://rrdtool.mirror.graemef.net/doc/rrdfetch.en.html#IAT_STYLE_TIME_SPECIFICATION --- 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 48852d4..b8fd95e 100644 --- a/type/Default.class.php +++ b/type/Default.class.php @@ -185,7 +185,7 @@ class Type_Default { $rrdgraph[] = '-l 0'; $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); + $rrdgraph[] = sprintf('-s e-%d', is_numeric($this->seconds) ? $this->seconds : 86400); return $rrdgraph; } -- cgit v1.1