[rrd-users] Re: --template

listuser at numbnuts.net listuser at numbnuts.net
Tue Mar 18 23:11:45 MET 2003


On Tue, 18 Mar 2003, Jason Russell wrote:

> 
> 
> On Mon, 17 Mar 2003 listuser at numbnuts.net wrote:
> 
> > > rrdtool update $workDir/spam.rrd \
> > > 	-t RSS N:$RSS \
> > > 	-t DUL N:$DUL \
> > > 	-t SPEWS N:$SPEWS \
> > > 	-t SPAMHAUS N:$SPAMHAUS \
> > > 	-t SOCKS N:$SOCKS \
> > > 	-t SENDMAIL_MISC N:$SENDMAIL_MISC
> 
> Here you go:
>  rrdtool update $workDir/spam.rrd \
>  	-t RSS:DUL:SPEWS:SPAMHAUS:SOCKS:SENDMAIL_MISC \
> 	N:$RSS:$DUL:$SPEWS:$SPAMHAUS:$SOCKS:$SENDMAIL_MISC
> 
> With --template (or -t) you're telling rrdtool update what format(order)
> you are sending the data in.
> 
> So you were trying to do multiple updates with the same timestamp. This
> way should get you going.

Oooh..  OH!  Now I see.  

--template|-t ds-name[:ds-name]...

I had the syntax all wrong.  Now the error makes sense too.  I misread the 
man page.  I thought you had to specify the the time for each data source, 
which now looks wasteful.  This certainly makes this easier.  Thanks!

Justin

--
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