# rrds/remoteping-* - replaces the old remoteping RRD
# CVS $Id: remoteping-,v 1.2 2003/03/20 18:09:45 remstats Exp $
# from remstats version @@VERSION@@
# Copyright 2003 by Thomas Erskine <@@AUTHOR@@>

# You can get one rrd per remoteping-server host.  You may want to make
# customgraph's to combine the different pings if you have multiple
# remoteping-server hosts.

source	remoteping
step	300
data	sent=ping-sent:* GAUGE:600:0:10
data	rcvd=ping-rcvd:* GAUGE:600:0:10
data	min=pingrtt-min:* GAUGE:600:U:U
data	avg=pingrtt-avg:* GAUGE:600:U:U
data	max=pingrtt-max:* GAUGE:600:U:U

archives day-avg week-avg month-avg 3month-avg year-avg day-min week-min month-min 3month-min year-min day-max week-max month-max 3month-max year-max
times	day yesterday week month 3month year

graph	remoteping-*
		--upper-limit 10 --lower-limit 0 --rigid
		--vertical-label 'packets'
		--title 'Remote Ping Response ##WILDPART## (##GRAPHTIME##)'
		DEF:sent=##DB##:sent:AVERAGE
		DEF:rcvd=##DB##:rcvd:AVERAGE
		CDEF:missing=sent,UN,INF,UNKN,IF
		'LINE1:sent###COLOR1##:sent'
		'LINE1:rcvd###COLOR2##:rcvd'
		'AREA:missing###MISSING##:missing'

graph		remotepingrtt-* ##WILDPART## desc='the RTT (Return Trip Time) for the ping is how long it took to send a ping and receive the response for it'
		--title 'Remote Ping RTT (##GRAPHTIME##)' 
		--lower-limit 0
		--vertical-label 'ms'
		DEF:min=##DB##:min:AVERAGE
		DEF:avg=##DB##:avg:AVERAGE
		DEF:max=##DB##:max:AVERAGE
		CDEF:missing=min,UN,INF,UNKN,IF
		'LINE1:max###COLOR1##:Max RTT'
		'LINE1:avg###COLOR2##:Avg RTT'
		'LINE1:min###COLOR3##:Min RTT'
		'AREA:missing###MISSING##:missing'

