<HTML dir=ltr><HEAD><TITLE>[mrtg] Trying to find a scaling method that produces readable graphs against spike loads</TITLE>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.6000.16544" name=GENERATOR></HEAD>
<BODY>
<DIV id=idOWAReplyText36674 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Here are a couple of options.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>If you are using RRD as your backend, try using routers2 as your frontend.&nbsp; This has a 'rescale' button for just this sort of situation which autorescales the graph to show the detail.&nbsp; Repeated clicks of 'rescale' will try different rescale algorithms.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>Alternatively, you can set an UpperLimit for the graph to fix the Y-Axis to have a fixed maximum, no matter what the data is.&nbsp; This will hide the spikes, and let you always see the detail, as long as you can work out a sensible value to fix the Y-Axis at.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>Steve</FONT></DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> mrtg-bounces@lists.oetiker.ch on behalf of Bill Moran<BR><B>Sent:</B> Thu 11-Oct-07 6:06 a.m.<BR><B>To:</B> mrtg@lists.oetiker.ch<BR><B>Subject:</B> [mrtg] Trying to find a scaling method that produces readable graphs against spike loads<BR></FONT><BR></DIV>
<DIV><BR>
<P><FONT size=2>I have some graphs that go unreadable because spike loads are throwing<BR>off the scaling.<BR><BR>A daily cron job causes the graphs to spike to ~10 million for a brief<BR>time every day, which causes the graphs to scale to that.&nbsp; Unfortunately,<BR>the data I'm _really_ interested in seeing is between 1000 and 100000,<BR>which gets scaled to the bottom of the graph in such a way that it<BR>can't really be read (it's just a flat line with a few little bumps.<BR><BR>I've switched to log scaling, but it's not enough in these cases.<BR><BR>I wouldn't mind losing the details off the top of the graph to get<BR>the graphs to scale to where I can see the other data.&nbsp; I already know<BR>the cron jobs max out the resource, I really need to see what the<BR>activity in between the cron jobs is doing.<BR><BR>Will MaxBytes accomplish this by completely ignoring the high values?<BR>I tried it, but it simply draws a red line across the graph at the<BR>Maxbytes value, Will this scale out correctly over time?<BR><BR>Any advice is appreciated.<BR><BR>--<BR>Bill Moran<BR>Collaborative Fusion Inc.<BR><A href="http://people.collaborativefusion.com/~wmoran/">http://people.collaborativefusion.com/~wmoran/</A><BR><BR>wmoran@collaborativefusion.com<BR>Phone: 412-422-3463x4023<BR><BR>_______________________________________________<BR>mrtg mailing list<BR>mrtg@lists.oetiker.ch<BR><A href="https://lists.oetiker.ch/cgi-bin/listinfo/mrtg">https://lists.oetiker.ch/cgi-bin/listinfo/mrtg</A><BR></FONT></P></DIV></BODY></HTML>