[rrd-users] Re: RRDGraph command with arrays?

Serge Maandag serge.maandag at staff.zeelandnet.nl
Mon Feb 20 00:19:16 MET 2006

> To have a graphs.sh with that command four times (day, week, month and
> year) is ok
> if I have only one data to graph,  but now I have a 
> weather-station logging 6 other values (humidity, pressure 
> and so on) so to have a graph.sh with 28 times that long 
> command when it should be possible with less?

I am not into shell programming, but I think you mean something like:

cmd="rrdtool graph ...."; 
for i in temperature.rrd:temp humidity.rrd:ds0 bla.rrd:bla0 bli.rrd:ds1;
  cmd="$cmd DEF:Outside=/etc/weatherstation/rrddb/$i.rrd:temp:AVERAGE"; 
echo $cmd


Op de inhoud van dit e-mailbericht en de daaraan gehechte bijlagen is de inhoud van de volgende disclaimer van toepassing: http://www.zeelandnet.nl/disclaimer.php

For the content of this e-mail message and its attachment(s) the following disclaimer applies: http://www.zeelandnet.nl/disclaimer.php

Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi

More information about the rrd-users mailing list