excellent. now I have just started looking at rrd over the last couple of days, maybe thinking of replacing my mrtg setup with it. there a couple of questions for now: first, a simple one, if I have many different objects/processess being monitored, is it a good ides to segregate them into individual rrd files or do you just chuck them all in together? and now one in at the deep end: the tutorial at people.ee.ethz.ch/ gives the following example: rrdtool graph speed4.gif \ --start 920804400 --end 920808000 \ --vertical-label km/h \ DEF:myspeed=test.rrd:speed:AVERAGE \ "CDEF:kmh=myspeed,3600,*" \ CDEF:fast=kmh,100,GT,100,0,IF \ CDEF:over=kmh,100,GT,kmh,100,-,0,IF \ CDEF:good=kmh,100,GT,0,kmh,IF \ HRULE:100#0000FF:"Maximum alllowed" \ AREA:good#00FF00:"Good speed" \ AREA:fast#550000:"Too fast" \ STACK:over#FF0000:"Over speed" the line I am interested in is the CDEF that calculates the 'over' variable. I have an rrd which stores in and out traffic for eth0 on my development machine and I graph (from a perl script) it like so: system("rrdtool graph /var/www/html/rrdtool/eth0.gif \\ --start -43200 --vertical-label bytes/second \\ --title \"eth0 Traffic Monitor\" \\ DEF:inoctets=/var/www/html/rrdtool/eth0.rrd:input:AVERAGE DEF:outoctets=/var/www/html/rrdtool/eth0.rrd:output:AVERAGE HRULE:20000#0F0000:\"Limit of Sensible Load\" \\ LINE2:inoctets#00FF00:\"In traffic\" \\ LINE2:outoctets#0000FF:\"Out traffic\""); I want to be able to do something like the CDEF and STACK from the turorial example where if the in or outgoing eth0 traffic is above a certain ammount, then print it in a different color like the example. I have tried adding the line and jst changing 'kmh' for 'inoctets', but it just makes the graph go strange. Please can someone explain how that CDEF works so I can customise it. Thanks guys On Sat, Oct 26, 2002 at 10:47:57 -0400, Derek Belrose wrote: > Mat Harris wrote: > > >have i got the right address to post to the rrd-users mailing list? i hope > >so because i have loads of questions for you gurus. > > > > > > > yep, most responses will be sent back to your private email as opposed > to the list (such as this one has) > > But you have the right email. -- Mat Harris OpenGPG Public Key ID: C37D57D9 mat.harris@genestate.com matthewh.genestate.com -- Binary/unsupported file stripped by Ecartis -- -- Err : No filename to use for decode, file stripped. -- Type: application/pgp-signature -- Unsubscribe mailto:rrd-users-request@list.ee.ethz.ch?subject=unsubscribe Help mailto:rrd-users-request@list.ee.ethz.ch?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi