Re: Multiples views of same data

Chris Adams <[email protected]> Thu, 13 May 2010 13:46:44 -0500
Newsgroups gmane.network.cricket.user
Message-ID <[email protected]>
Once upon a time, Stephen Carville <[email protected]> said:
> 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

You could do something like this:

datasource latf-login-stack
  rrd-ds-type = COMPUTE
  ds-source = ds0

You have to know what the name of the source DS is in the RRD.  The
default names them ds0, ds1, ds2, ... in the order they appear in the
target definition.  If you set "$gLongDSName=1" in your cricket-conf.pl,
I think the ds-source would actually be "latf-login" (I haven't played
with that option in a while though, so I could be remembering wrong).

-- 
Chris Adams <[email protected]>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.

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