mrtg is not a shell script, its a perl script.  So, you dont call it with 'sh 
-x', you call it with 'perl'.  Otherwise you get error messages as the shell 
interpreter gets confused by the perl code.

You can increase the logging in MRTG, but the error appears to be in the rateup 
call rather than in MRTG.  You need to capture the stdout/stderr from the mrtg 
call so that you see any error messages produced by rateup calls, this might 
give more light on the reason for the rateup error exit.

Steve


Steve Shipway
University of Auckland ITS
UNIX Systems Design Lead
[email protected]<mailto:[email protected]>
Ph: +64 9 373 7599 ext 86487

_______________________________________________
mrtg mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg

Reply via email to