[mrtg] Re: Problems with external script

Koelstra, J. (Jan) JKoelstra at MINSZW.NL
Wed Nov 5 14:12:45 MET 2003


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.

-----Original Message-----
From: Michael Schwartzkopff [mailto:misch at multinet.de] 
Sent: Wednesday, November 05, 2003 2:03 PM
To: mrtg at list.ee.ethz.ch
Subject: [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

Hi,

My mrtg.cfg file contains a line like:

Target[mail_2]: `/root/getdata`

The script /root/getdata results in:
martini:~ # /root/getdata
1596
243
3:24:04.54
mail
martini:~ #

mrtg runs with complaining, but the graphs don't show anything and the
logfile 
looks strange:
martini:~ # head /srv/www/htdocs/mrtg/mail_2.log
1068036903 1595 243
1068036903 0 0 0 0
1068036603 0 0 0 0
1068036600 0 0 0 0
1068036300 0 0 0 0
1068036000 0 0 0 0
1068035700 0 0 0 0


I tried a lot but only the first line of the logfile changes with time.
Any help / ideas ? Thanks.

- -- 
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/qPUVFfkl2c75TywRAqg2AKCDFVxMrScPYsOkheZSX+sDLPPSjwCdEWD1
vSOa9B9Lb+07Fg3/1GJpsU8=
=+cKc
-----END PGP SIGNATURE-----

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
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:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
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



More information about the mrtg mailing list