From b38ef7b67f6493dda378648e70c81daf405b2073 Mon Sep 17 00:00:00 2001 From: Richard Wall Date: Sun, 14 Aug 2011 08:17:00 +0100 Subject: Testing vdefs --- docs/examples/index.html | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/docs/examples/index.html b/docs/examples/index.html index 267d221..03bf492 100644 --- a/docs/examples/index.html +++ b/docs/examples/index.html @@ -48,29 +48,36 @@ DEF:s_avg=data/load/load.rrd:shortterm:AVERAGE DEF:s_min=data/load/load.rrd:shortterm:MIN DEF:s_max=data/load/load.rrd:shortterm:MAX +VDEF:s_pct=s_avg,95,PERCENT DEF:m_avg=data/load/load.rrd:midterm:AVERAGE DEF:m_min=data/load/load.rrd:midterm:MIN DEF:m_max=data/load/load.rrd:midterm:MAX +VDEF:m_pct=m_avg,95,PERCENT DEF:l_avg=data/load/load.rrd:longterm:AVERAGE DEF:l_min=data/load/load.rrd:longterm:MIN DEF:l_max=data/load/load.rrd:longterm:MAX +VDEF:l_pct=l_avg,95,PERCENT AREA:s_max#B7EFB7 AREA:s_min#FFFFFF "LINE1:s_avg#00E000: 1m average" "GPRINT:s_min:MIN:%4.2lf Min," "GPRINT:s_avg:AVERAGE:%4.2lf Avg," "GPRINT:s_max:MAX:%4.2lf Max," -"GPRINT:s_avg:LAST:%4.2lf Last\n" +"GPRINT:s_avg:LAST:%4.2lf Last," +"GPRINT:s_pct:%6.2lf 95th\n" "LINE1:m_avg#0000FF: 5m average" "GPRINT:m_min:MIN:%4.2lf Min," "GPRINT:m_avg:AVERAGE:%4.2lf Avg," "GPRINT:m_max:MAX:%4.2lf Max," -"GPRINT:m_avg:LAST:%4.2lf Last\n" +"GPRINT:m_avg:LAST:%4.2lf Last," +"GPRINT:m_pct:%6.2lf 95th\n" "LINE1:l_avg#FF0000:15m average" "GPRINT:l_min:MIN:%4.2lf Min," "GPRINT:l_avg:AVERAGE:%4.2lf Avg," "GPRINT:l_max:MAX:%4.2lf Max," -"GPRINT:l_avg:LAST:%4.2lf Last\n" +"GPRINT:l_avg:LAST:%4.2lf Last," +"GPRINT:l_pct:%6.2lf 95th\n" +
-- cgit v1.1-4-g5e80