[rrd-users] Creating multiple DS in batch mode

Stephen Cheung stephen.cheung at hds.com
Wed Feb 25 00:51:56 MET 2004


Hi all,
 
I am trying to create multiple Data Sources (2048 - is there a limit?) for a
single rrd file, but I I can't figure out what the best way to do it
 
So instead of doing this 
 
    rrdtool create file.rrd --step 300 DS:ds1:600:U:U
DS:ds2:600:U:U.........DS:dsn:600:U:U RRA etc etc
 
I can do this 
 
    rrdtool create file.rrd --step 300 DS:$ds:600:U:U RRA etc etc #somehow
increment the $ds variable.  This is the bit I can't work out.
 
I know how to create multiple rrd files with individual DS, but that means
too many files
 
Also, I can't run multiple create commands because the original rrd file
gets overwritten!!
 
Any help would be appreciated
 
Regards
Steve
 

--
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://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list