# rrds/remoteping - obsolete; needs to be replaced, but I don't use it now
# This one has to be carefully munged to add another remoteping-server.
# Somehow, the data will have to be unloaded and reloaded into a new
# rrd with extra columns.  The graphs will also have to be fixed.
source		remoteping
step		300
data		sent1=ping-sent:1 GAUGE:600:0:10
data		rcvd1=ping-rcvd:1 GAUGE:600:0:10
data		min1=pingrtt-min:1 GAUGE:600:U:U
data		avg1=pingrtt-avg:1 GAUGE:600:U:U
data		max1=pingrtt-max:1 GAUGE:600:U:U
data		sent2=ping-sent:2 GAUGE:600:0:10
data		rcvd2=ping-rcvd:2 GAUGE:600:0:10
data		min2=pingrtt-min:2 GAUGE:600:U:U
data		avg2=pingrtt-avg:2 GAUGE:600:U:U
data		max2=pingrtt-max:2 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 3month year

graph		remoteping
		--upper-limit 10 --lower-limit 0 --rigid
		--vertical-label 'packets'
		--title 'Remote Ping Response (##GRAPHTIME##)'
		DEF:sent1=##DB##:sent1:AVERAGE
		DEF:rcvd1=##DB##:rcvd1:AVERAGE
		DEF:sent2=##DB##:sent2:AVERAGE
		DEF:rcvd2=##DB##:rcvd2:AVERAGE
		'LINE1:sent1###COLOR1##:silverlock sent'
		'LINE1:rcvd1###COLOR2##:silverlock rcvd'
		'LINE1:sent2###COLOR3##:lois sent'
		'LINE1:rcvd2###COLOR4##:lois rcvd'

graph		remotepingrtt 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:min1=##DB##:min1:AVERAGE
		DEF:avg1=##DB##:avg1:AVERAGE
		DEF:max1=##DB##:max1:AVERAGE
		DEF:min2=##DB##:min2:AVERAGE
		DEF:avg2=##DB##:avg2:AVERAGE
		DEF:max2=##DB##:max2:AVERAGE
		'LINE1:max1###COLOR1##:Max RTT'
		'LINE1:avg1###COLOR2##:Avg RTT'
		'LINE1:min1###COLOR3##:Min RTT'
		'LINE1:max2###COLOR4##:Max RTT'
		'LINE1:avg2###COLOR5##:Avg RTT'
		'LINE1:min2###COLOR6##:Min RTT'

