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.
Hth, Jan. -----Original Message----- From: Jeff Gojkovich [mailto:[EMAIL PROTECTED] Sent: Friday, November 14, 2003 1:43 AM To: [EMAIL PROTECTED] Subject: [mrtg] Postfix Stats graphing wrong 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. -- Jeff -- 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 Het ministerie van Sociale Zaken en Werkgelegenheid sluit elke aansprakelijkheid uit in verband met het niet juist, onvolledig of niet tijdig overkomen van de informatie in deze e-mail. Aan dit bericht kunnen geen rechten worden ontleend. Dit bericht is alleen bestemd voor de geadresseerde. Indien dit bericht niet voor u bestemd is, verzoeken wij u dit onmiddellijk aan ons te melden en de inhoud van het bericht te vernietigen. -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- The ministry of Social Affairs and Employment is not liable for any incorrect or incomplete transmission of the information in this e-mail or for any delay in its receipt. This message shall not constitute any obligations. This message is intended solely for the addressee. If you have received this message in error, please inform us immediately and delete its content. -- 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
