[rrd-users] Re: mail scripts

Alex van den Bogaerdt alex at slot.hollandcasino.nl
Thu Jun 21 22:49:05 MEST 2001


Wendy Faulkner wrote:

> Ok.  Thanks for your help.  I started with:
> 
> rrdtool create virus.rrd --start 988174600 --step 3600 DS:input:GAUGE:172000:U:U RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797

looking good.
> 
> and then ran a script which inputted a lot of data:
> 
> rrdtool update virus.rrd 988174800:3
> rrdtool update virus.rrd 988261200:13
> ...
> rrdtool update virus.rrd 992494800:38

looking good.  Note that you have data starting at 988174800 and ending at
992494800.

> /usr/local/rrdtool-1.0.33/bin/rrdtool graph virus.gif --start 992494800 --vertial-label "viruses" DEF:myspeed=virus.rrd:input:MAX CDEF:realspeed=myspeed LINE2realspeed#FF0000

By default, the graph will span a day.  You start at 992494800 and the
end will thus be set to (992494800+86400=) 992581200.  This is unknown
data and the graph output is correct.

You want to see "--end 992494800 --start end-10d"  or so.

cheers,
-- 
   __________________________________________________________________
 / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
| work                                                         private |
| My employer is capable of speaking therefore I speak only for myself |
+----------------------------------------------------------------------+
| Technical questions sent directly to me will be nuked. Use the list. | 
+----------------------------------------------------------------------+
| http://faq.mrtg.org/                                                 |
| http://rrdtool.eu.org  --> tutorial                                  |
+----------------------------------------------------------------------+

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