From 8e05c2e4d47fdef920fb62a1c86ad47edcaecd06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Martin=20Sl=C3=A5en?= Date: Thu, 9 Feb 2012 22:26:29 +0100 Subject: [PATCH] Fixed type ttl->rtt in rrd file generation --- scripts/rrd_graphgen.py | 2 +- scripts/rrd_service.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/rrd_graphgen.py b/scripts/rrd_graphgen.py index 33d8536..f424de0 100755 --- a/scripts/rrd_graphgen.py +++ b/scripts/rrd_graphgen.py @@ -44,7 +44,7 @@ RRD_GRAPH = "%s " \ "--right-axis 1:0 " \ "--x-grid MINUTE:10:HOUR:1:MINUTE:120:0:%%R " \ "--alt-y-grid --rigid " \ - "DEF:roundtrip=%s:ttl:AVERAGE " \ + "DEF:roundtrip=%s:rrd:AVERAGE " \ "LINE1:roundtrip#0000FF:\"latency(ms)\" " # RRD_GRAPH ARGS: , , <rrd> diff --git a/scripts/rrd_service.py b/scripts/rrd_service.py index cd43b01..3e9fe91 100755 --- a/scripts/rrd_service.py +++ b/scripts/rrd_service.py @@ -39,7 +39,7 @@ RRD_CREATE = "%s " \ "RRA:AVERAGE:0.5:72:124 "\ "RRA:AVERAGE:0.5:288:365" -RRD_UPDATE = "%s --template ttl N:%s" +RRD_UPDATE = "%s --template rtt N:%s" RRD_DIR = args.rrd_path RRDTOOL = "/usr/bin/rrdtool"