|Reported by:||jiska||Owned by:||jorne|
graph_args inserts arguments in the beginning of "rrdtool graph". if you want to add some arguments that depend on previous DEF (data sources) or CDEF definitions, or if you want to use VDEF that is not defined for Munin, graph_args doesn't work.
the reason is, that you have to define data sources etc. before you can insert CDEF/VDEF/...-arguments. this patch introduces "graph_args_after". they are inserted as following:
"rrdtool graph $graph_args $munin_args $graph_args_after --end $time"
you can use them to insert whatever you want, e.g. to draw average lines:
graph_args_after VDEF:avg=ctransaction,AVERAGE LINE1:avg\#999999:avg\l:dashes