<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;">>(Cacti is running on 1 minute, MRTG is running on 10 minutes.)<br>
<br>
And here we have the explanation.<br>
<br>
If MRTG is only polling every 10min (and you have the wrong Interval in the cfg file and in your RRD file for this) then it will be, in effect, giving you a 10min average speed for the port.<br>
<br>
Cacti, on the other hand, is polling every 1min and so is giving you 1min averages.<br>
<br>
Therefore, the MRTG graph will be much more smoothed out and flatter, and Cacti's graph will be more spiky, showing higher peaks for bursts of traffic that are relevant in a 1min interval but not over a 10min interval. This is why you see much higher values
in Cacti. The same effect happens in MRTG if you compare the peaks on a 5min average graph (daily) and on the 2hour average graph (monthly).<br>
<br>
Consider this set of 1-minute interval data:<br>
<br>
10<br>
1<br>
1<br>
1<br>
1<br>
1<br>
1<br>
1<br>
1<br>
1<br>
<br>
This is a 10min sample; for MRTG it would see a total of 19, IE 1.9/min. Cacti, however, would see them all, and show a graph with a spike up to 10. Therefore, very different graphs.<br>
<br>
If you want them to match, you will need to change the MRTG Interval to 1 minute, recreate your RRD files, and poll every minute - and change your PHP graphing script to take account of the higher granularity of data available.<br>
<br>
Steve<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: +64 9 373 7599 ext 86487</div>
<div class="gmail_extra"><em></em>Voice: (414) 810-6392 </div>
</div>
</div>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<div></div>
</div>
</div>
</body>
</html>