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"