<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">mrtg is not a shell script, its a perl script.&nbsp; So, you dont call it with 'sh -x', you call it with 'perl'.&nbsp; Otherwise you get error messages as the shell interpreter gets confused
 by the perl code.<br>
<br>
You can increase the logging in MRTG, but the error appears to be in the rateup call rather than in MRTG.&nbsp; 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.<br>
<br>
Steve<br>
<br>
<div><br>
<div style="font-family: Tahoma; font-size: 13px;">
<div style="font-family: Tahoma; font-size: 13px;"><strong>Steve Shipway</strong></div>
<div style="font-family: Tahoma; font-size: 13px;">University of Auckland ITS</div>
<div style="font-family: Tahoma; font-size: 13px;"><em>UNIX Systems Design Lead</em></div>
<div style="font-family: Tahoma; font-size: 13px;"><a href="mailto:s.shipway@auckland.ac.nz">s.shipway@auckland.ac.nz</a></div>
<div style="font-family: Tahoma; font-size: 13px;">Ph: &#43;64 9 373 7599 ext 86487</div>
<div style="font-family: Tahoma; font-size: 13px;"><em></em><br>
</div>
</div>
</div>
</div>
</body>
</html>