I tried with the option perhour and perminute and all it does it up the number to a bigger number. The number is always the same.
The log file looks like 1068836233 23289 23289 1068836233 35 35 35 35 1068835932 35 35 35 35 1068835800 35 35 35 35 1068835500 35 35 35 35 1068835200 35 35 35 35 1068834900 35 35 35 35 1068834600 35 35 35 35 1068834300 35 35 35 35 1068834000 35 35 35 35 1068833700 35 35 35 35 1068833400 35 35 35 35 1068833100 35 35 35 35 1068832800 35 35 35 35 1068832500 35 35 35 35 1068832200 35 35 35 35 1068831900 35 35 35 35 Which doesn't make sense to me. I am not sure how MRTG handles the numbers it receives though. I though the default was to take the difference of the new number and the last result. -- Jeff > Jeff, > > The output of your script is exactly how MRTG needs it. > By default MRTG calculates the rate per second. To avoid almost empty > graphs you can use "Perminute" or "Perhour" at the options line. > > -----Original Message----- > I have a script that grabs the rejects from a postfix box. It returns > results to MRTG like. 33479 33479 35 days 5:07 heffe.eaznet.com > > Then five minutes later. > 33609 > 33609 > 35 days 5:12 > heffe.eaznet.com > > When MRTG graphs it says that only one message was rejected for the last > five min. > > My config looks like. > Target[rejects]: `/home/mrtg/mailrejects.pl heffe.eaznet.com skipped` > Options[rejects]: noinfo, nopercent > MaxBytes[rejects]: 500 > Title[rejects]: Postfix Rejections > PageTop[rejects]: <H1>Postfix Rejections</H1> > Supress[rejects]: my > YLegend[rejects]: Rejections > ShortLegend[rejects]: rejected > LegendI[rejects]: Messages Rejected: > LegendO[rejects]: Messages Rejected: > > The url of the graphs are http://www.eaznet.com/~mrtg/rejects.html > > Can anybody tell me if I am sending the info to MRTG correctly? And > also, what options should I be using to get the graphs correctly. -- 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
