[drraw-users] how do I create a template?
Christophe Kalt
kalt at taranis.org
Sat Nov 8 15:30:10 MST 2008
Yikes! ;-)
You should be able to get to what you want, i've created such graphs before
but it's a bit tricky to get right.
- First, create a graph that presents what you want for "gw-routername1".
This should be fairly trivial, you need something like
"router/gw-routername1/gw-routername1-(.+)\.rrd" as "File RE".
- Second, turn it into a template. The "File RE" shouldn't change, it's a
matter of setting the proper base regular expression and the right
transformation for the pattern above. Quick guesses:
- Base Regular Expression: router/([^/]+)/
- router/gw-routername1/gw-routername1-(.+)\.rrd: router/$1/$1-(.+)\.rrd
i think this (or something close to it) should work. Make sure to "show"
the "rrdtool invocation" in the edition page, it'll help you figure out the
patterns.
Good luck.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.taranis.org/pipermail/drraw-users_lists.taranis.org/attachments/20081108/f5322b7e/attachment.html>
More information about the drraw-users
mailing list