At 01:36 PM 2003-04-10, Steve Rowe wrote: >At 01:05 PM 2003-04-10, Hunt, Jim wrote: >>I am getting the number of messages delivered on the mail server as a >>total number. >>Let's say 7510 >>5 min. later 7515 >>How do I write an expression using MRTG to graph the 5 value rather than >>7510, 7515... > >Wouldn't the gauge option address this? > >http://people.ee.ethz.ch/~oetiker/webtools/mrtg/reference.html#item_gauge
Sorry, no it wouldn't. MRTG by default will divide the difference between the current and previous value read by 300 to get the average over the last 5 minutes (300 seconds). Thus, in the example you give, the result would be less than 1 and probably not graphed at all. I believe that if you add "*300" to the end of the Target: line, it should undo the division and you will get the results you're looking for. Steve - / __|______| _ \________________________________________________________ \__ \ | / Data Systems Group - Sheridan College ./\. ____/TEVE |_|_\OWE http://core.sheridanc.on.ca/dsg _|\| |/|_ Network Analyst 905-845-9430 x2032 ICQ:14509731 \ / _______________________________________________________________>______<_ Make something idiot proof and someone will make a better idiot. / -- Unsubscribe mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
