Re: Multiples views of same data

Stephen Carville <[email protected]> Thu, 13 May 2010 11:31:32 -0700
Newsgroups gmane.network.cricket.user
Organization LandAm
Message-ID <[email protected]>
On Thursday 13 May 2010 05:14, Kiss Gabor (Bitman) wrote:
> Line type and stacking is described in Graph Dictionary rather than
>
> View. The Cricket Reference guide writes:
> | Each named graph dictionary entry (not --default--) should share the name
> | of a datasource dictionary entry. In this respect, the graph dictionary
> | could be merged with the datasource dictionary.
>
> In other words each Graph belongs to one and only one Datasource and
> vice versa. If you need different visual representations of the
> same info you have to create several Datasources based on the same
> DS-Source.
> As far as I understand. :-)

Thanks.
 
That's pretty much the way I see it too.  I was hoping someone might know a 
workaround  Maybe define one datasouce as a copy of another like:

datasource latf-login
  ds-source     = "exec:0:/var/bbuser/bin/latfdata %bbdatadir%/%latfdatafile%"
  rrd-ds-type   = GAUGE

datasource latf-login-stack
  ds-source = COPY:latf-login
  rrd-ds-type = GAUGE

I know COPY is not a keyword.  The above is just an example.

I've been playing at adapting Cricket to use the CGI::Application framework. 
so maybe I'll just add a COPY function.

-- 
Stephen Carville <[email protected]>
Systems Engineer
Lereta LLC.
============================================================
Cum ulla sella in pugno taberna

------------------------------------------------------------------------------