Michael, How much is the change between 2 polls? By default MRTG calculates the rate per second. If the output of the script changes less then 300 in a 5 minute interval MRTG will show 0 per second.
To avoid this you can use perminute or perhour at option line. Hth, Jan. -----Original Message----- From: Michael Schwartzkopff [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 05, 2003 2:34 PM To: [EMAIL PROTECTED] Cc: Koelstra, J. (Jan) Subject: Re: [mrtg] Problems with external script 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. -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am Mittwoch, 5. November 2003 14:12 schrieben Sie: > Michael, > > Ther can be several reasons for not showing any data in the graphs. > Since you did not send the whole of your MRTG config file I can not > tell the exact reason, but my bet is you have to add 'gauge' at the > options line. > > Hth, > > Jan. Hi, that was a good point. If I am adding "gauge" to the options than MRTG starts working correctly. The only problem is that my data are of not of type gauge. I need the difference between the data. In the manuals I reed: "In the absence of 'gauge' or 'absolute' options, MRTG treats variables as a counters and calculates the difference between the current and the previous value and divides that by the elapsed time between the last two readings to get the value to be plotted." Why does MRTG not work it in my setup? Any idea ? Please find the mrtg.cfg listed below: WorkDir: /srv/www/htdocs/mrtg Options[_]: growright,gauge Target[mail_2]: `/root/getdata` MaxBytes[mail_2]: 1000 YLegend[mail_2]: Mails/5min Title[mail_2]: Traffic Analysis for mail PageTop[mail_2]: <H1>Traffic Analysis for mail</H1> <TABLE> <TR><TD>System:</TD> <TD>mail in Serverroom</TD></TR> <TR><TD>Maintainer:</TD> <TD>M. Schwartzkopff <[EMAIL PROTECTED]></TD></TR> <TR><TD>Description:</TD><TD>Mail traffic </TD></TR> </TABLE> - -- Dr. Michael Schwartzkopff MultiNET Services GmbH Bretonischer Ring 7 85630 Grasbrunn Tel: (+49 89) 456 911 - 0 Fax: (+49 89) 456 911 - 21 mob: (+49 174) 343 28 75 PGP-ID: 15F925D9CEF94F2C Fingerprint: AF27 2674 4631 E230 B431 F68D 15F9 25D9 CEF9 4F2C -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux) iD8DBQE/qPwvFfkl2c75TywRAm0RAJ4rBIQfWJu74XvkFeKQteYML31AwgCeNYMd DSt4HadIwcm/4e1bhR/JOFg= =LTyh -----END PGP SIGNATURE----- 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
