[drraw-users] Help building my first template

Joel Krauska jkrauska at gmail.com
Fri May 1 11:13:45 MDT 2009


Alexander Bischoff wrote:
> This is what I have so far
> 
> Template name:  'Energy Graphs"
> Base Regular Expression: '/var/lib/cacti/rra/.rrd'
> Selection regular Expression: $1
> The last col has the name of my rrd in it:  I have left this blank


Try changing your Base Regular Expression to look like this:
(.+)_pdu_(.+).rrd

Your selection expression to:
$1-$2

And your last field to:
$1_pdu_$2.rrd





More information about the drraw-users mailing list