[drraw-users] templates DS regexp
Christophe Kalt
kalt at taranis.org
Thu Apr 19 10:11:40 EDT 2007
Hi,
On Apr 18, Fabien Wernli wrote:
| OK just a simple question which is not very easily expressed:
| is it possible to make a Template containing a DS itself based on a regexp?
Yes, i have such templates, there is nothing special about
this.
As an example, here's a DS:
hostname/Unix/cpu-(\d+)
When you convert the graph into a template, here's what you
can do:
Base Regexp: ^(._)/Unix/cpu-(\d+)\.rrd
hostname/Unix/cpu-(\d+): $1/Unix/cpu-(\d+).rrd
Christophe
More information about the drraw-users
mailing list