On Tue, 18 Mar 2003, Jason Russell wrote:

> 
> 
> On Mon, 17 Mar 2003 [EMAIL PROTECTED] 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:[EMAIL PROTECTED]
Help        mailto:[EMAIL PROTECTED]
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

Reply via email to