Alex wrote: > I am trying to monitor number of new people entering in a room. Each 5 > minutes, I would like to graph only the number of new people. I did several > test with all type of DS but I didn't succeed.
You mean the following? T+0: 10 people T+300: 16 people T+600: 10 people you want to display 6 and -6 ? If so: calculate the rate per second in a DERIVE counter. Multiply the rate by the number of seconds (this can be in a CDEF). The database will contain (6/300=) 0.02 for the first interval and -0.02 for the second interval. When multiplied by 300 you end up with (0.02*300=) 6 and (-0.02*300=) -6. cheers, -- __________________________________________________________________ / [EMAIL PROTECTED] [EMAIL PROTECTED] \ | 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:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
