[drraw-users] Trying to create a Grouped Dashboard with Templates Style Regex

Eric Law ericslaw at gmail.com
Tue Dec 19 14:14:16 EST 2006


removing parenthesis from Template Base regex doesn't cause the
initial form to go away.

I'll try to poke around with it some more this week and see where I can get.
What are the feature requests? do you have a prioritized list?

On 12/19/06, Christophe Kalt <kalt at taranis.org> wrote:
> On Dec 18, Eric Law wrote:
> | 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.
>
> That's a bit odd since you have no "Base" "Template Style".
> Although i'd have to check the code to be sure, the help page
> also seems to indicate that only "standard" dashboards should
> allow for views (with base template styles), and you should be
> using a "grouped" dashboard given what i think you're trying
> to do.
>
> | Has anyone tinkered with the many javascript toolkits to make this
> | more drag-n-drop?
>
> I'm the only one to have played with javascript, and i've kept
> it minimal in part to make sure that people who don't enable
> javascript can still use drraw, although i suspect this isn't
> something i should care about.
> However, javascript enhancements come after real feature
> enhancements, and i'm already struggling to find time for
> these...
>
> | 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?
>
> Right, as per the help page ;)
>
> |  Template Style: Regex
> |  Template Base: (datacenter1.*)
> |       *note: trying to filter on just the first datacenter
>
> ok.
>
> |  Row Name: ^datacenter.-(.*)
> |       *note: trying to extract just the functional pool name for each row
>
> ok.
>
> | [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).
>
> Yup, it seems alright.
>
> | 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.
>
> Try and remove the parentheses from the "Template Base"
> regexps and let me know if that fixes the problem.
>
> Christophe
> _______________________________________________
> 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