[drraw-users] v2.2a4 selection criteria and variable expansion]
paul dial
dialp at ucar.edu
Thu Nov 15 09:10:44 EST 2007
Hi,
I had previously posted this message but did not get any response.
Thought I'd try again and see if someone is able to help.
thanks,
paul
-------- Original Message --------
Subject: [drraw-users] v2.2a4 selection criteria and variable expansion
Date: Tue, 02 Oct 2007 10:07:12 -0600
From: paul dial <dialp at ucar.edu>
To: drraw-users at taranis.org
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
--
----
Paul Dial
Network Engineer
National Center for Atmospheric Research
303-497-1261
dialp at ucar.edu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: drraw_dsconfig.png
Type: image/png
Size: 13092 bytes
Desc: not available
Url : http://web.taranis.org/pipermail/drraw-users/attachments/20071115/a26bd4da/drraw_dsconfig-0001.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: drraw_base.png
Type: image/png
Size: 11912 bytes
Desc: not available
Url : http://web.taranis.org/pipermail/drraw-users/attachments/20071115/a26bd4da/drraw_base-0001.png
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: file:///C:/DOCUME~1/DIALP/LOCALS~1/TEMP/nsmail-1.txt
Url: http://web.taranis.org/pipermail/drraw-users/attachments/20071115/a26bd4da/nsmail-1-0001.txt
More information about the drraw-users
mailing list