[rrd-users] Re: mail scripts
Wendy Faulkner
faulkner at eco.utexas.edu
Thu Jun 21 22:32:07 MEST 2001
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
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 988347600:19
rrdtool update virus.rrd 988434000:3
...
rrdtool update virus.rrd 992322000:25
rrdtool update virus.rrd 992408400:16
rrdtool update virus.rrd 992494800:38
rrdtool fetch virus.rrd MAX just shows NaN for everything.
A graph shows no data
/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
Any ideas? Thanks.
> 1) To prevent problems with timezones, I'd use a step time of 3600.
> This allows for updates at midnight local time in stead of midnight
> UTC time.
> 2) To prevent problems with the updating, I'd use a heartbeat of
> 172000. This allows for an update to occur anywhere during the
> next day, upto but not including the next regular update.
> 3) I'd then count the number of messages and virusses somewhere after
> midnight, no hurry. The update can be given to RRDtool as if it
> occured at midnight, just specify the correct timestamp.
>
> If you encountered other problems, let us know and we'll probably can
> help you with them; you need to be more specific about them if you want
> us to help...
>
> 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
>
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Wendy Faulkner Don't knock on Death's door.
faulkner at eco.utexas.edu Ring the bell and run away.
http://www.eco.utexas.edu/~faulkner He hates that.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
--
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