[mrtg] Problems with external script

Michael Schwartzkopff misch at multinet.de
Wed Nov 5 14:03:17 MET 2003


-----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



More information about the mrtg mailing list