[drraw-users] v2.2a4 selection criteria and variable expansion

paul dial dialp at ucar.edu
Tue Oct 2 10:07:12 MDT 2007


Hi,

I'm having some problems with the selection criteria for a template.
Here is some background info.  I'm using v2.2a4.  The rrds in question
live in a directory structure that looks like this
/<base_directory>/<member>/peerAS_<peerAS#>.rrd.  Each 'member' has the
exact same peer AS rrds.  My base regular expression looks like this:

(.+)\/peerAS(.+)\.rrd

Ideally, when I view the template, I would be able to select a view
based on member name and the resulting graph will show all peerAS
traffic for that member

When I configure my selection criteria as '$1' the 'member' name,
however, my list of available RRDs is truncated.  When I configure the
selection criteria to be: $1,$2 I am able to see the desired list of
RRDs. However, when attempting to view the graphs, the list of views to
select from is based on '$1,$2'.  So I have a list that looks something
like this:

member A,_209
member A,_11164
member A,_3354
member B,_209
member B,_11164
member B,_3354

There is only one graph to view and no matter which 'member A' selection
is made, the correct graph is displayed, but it is  a bit confusing to
users.

My "File RE" looks like this:  ($1)/peerAS_209.rrd  and is repeated for
about 5 different peerASes.

Is the selection criteria supposed to affect the list of RRD's based on
the "base regular expression"?  What am I doing wrong?

My other question relates variable expansion.  For the template
described above, I wanted to use $1, the member name, as part of the
label, however, when I put $1 in the 'Label/Format' field the end result
just displays '1'.

I've attached a snap shot of my configuration in the hopes it might
provide some clarity.

thanks,

paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: drraw_dsconfig.png
Type: image/png
Size: 13092 bytes
Desc: not available
URL: <http://lists.taranis.org/pipermail/drraw-users_lists.taranis.org/attachments/20071002/8aca9afa/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: drraw_base.png
Type: image/png
Size: 11912 bytes
Desc: not available
URL: <http://lists.taranis.org/pipermail/drraw-users_lists.taranis.org/attachments/20071002/8aca9afa/attachment-0001.png>


More information about the drraw-users mailing list