[drraw-users] Trying to create a Grouped Dashboard with Templates Style Regex
Eric Law
ericslaw at gmail.com
Mon Dec 18 21:29:48 EST 2006
David,
Thanks for the quick response!
I've stumbled upon how to use the Template Base field more properly
(details below),
but I am still prompted for the 'View' when I click on the dashboard.
Also, is there a wiki or somesuch where we can put some 'recipes' ?
It seems that using this tool is still a bit of hit-n-miss to find all
the work-arounds
and I'll have to learn and document them anyway....
Has anyone tinkered with the many javascript toolkits to make this
more drag-n-drop?
Details below:
RRDfiles:
I have somewhere around 80 RRD files with multiple datasources.
Most are stored in subdirs based on application function and datacenter.
>From Template1:
Base Regular Expression: bycolo.(.*).pool
Selection Regular Expression: $1
Examples:
pools/pool-bycolo/datacenter1-admin/pool.rrd
pools/pool-bycolo/datacenter1-search/pool.rrd
pools/pool-bycolo/datacenter2-user/pool.rrd
pools/pool-bycolo/datacenter2-catalog/pool.rrd
I have about 80 of these
Dashboard:
[1st template]
Template/Available Template Selections: Template1
Selection: datacenter1-admin
*note: this doesn't seem to be used,
but helps determine what your regex's are matched against?
Template Style: Regex
Template Base: (datacenter1.*)
*note: trying to filter on just the first datacenter
Row Name: ^datacenter.-(.*)
*note: trying to extract just the functional pool name for each row
[2nd template]
Template/Available Template Selections: Template1
Selection: datacenter1-admin
Template Style: Regex
Template Base: (datacenter2.*)
*note: trying to filter on just the second datacenter
Row Name: ^datacenter.-(.*)
This seems to achieve the proper result
(I was placing parenthesis elsewhere for the Template Base when I sent
the email).
However, when I select this 'dashboard', it prompts me to select something,
but the choice is only '1'. Is that the 'filter' for the dashboard?
I'm not sure why the dashboard is asking for feedback when I view it.
On 12/18/06, David wrote:
> On 12/18/06, Eric Law <ericslaw at gmail.com> wrote:
> > I'm trying to display a template in a grouped dashboard.
> > The aim is to end up with two column output.... by 'grouping' the
> > dashboard graphs by name that is extracted via RegEx.
>
>
> Eric,
>
> Can you provide a more detailed example? Without a real example its
> hard to debug this. I can't speak for anyone else, but I would think
> that to debug this we need to see:
>
>
> >From the templates:
> Base Regular Expression
> Selection Regular Expression
> A few example file names that match the Base Regular Expression
>
> >From the dashboard:
> The Template Base & Row Name from both your template entries
>
>
> If you feel the need to anonymize your file names that fine, but we
> need to see the ways you're doing the regexp/row binding to help you
> understand whats happening.
>
> -David
> _______________________________________________
> drraw-users mailing list
> drraw-users at taranis.org
> http://web.taranis.org/mailman/listinfo/drraw-users
>
More information about the drraw-users
mailing list