<div dir="ltr">Scot<div><br></div><div>I /think/ the RRD side of things is correct, so it must be the graphing that's the problem.</div><div><br></div><div>Where are you viewing the graph?  On the "stats" page?  If so, have you tried reducing the trends period to (say) 30 minutes?</div><div><br></div><div>J</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 1 July 2015 at 09:49, Scot Kreienkamp <span dir="ltr"><<a href="mailto:Scot.Kreienkamp@la-z-boy.com" target="_blank">Scot.Kreienkamp@la-z-boy.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi JC,<br>
<br>
Maybe I missed it when it's staring me in the face, but I still don't understand why it's not showing the 1 minute resolution when it is saving it into the RRD.  The resulting RRD from the configuration I posted has a 60 second step, a 180 second heartbeat, and the data is being stored every 60 seconds, all of that verified by rrdtool dump.  So I have successfully increased the resolution of the RRD; but even though it's stored every minute the resulting graph only registers changes in values every 5 minutes.<br>
<span class=""><br>
<br>
Scot Kreienkamp  | Senior Systems Engineer | La-Z-Boy Corporate<br>
</span>One La-Z-Boy Drive | Monroe, Michigan 48162 |  Office: 734-384-6403 |  |  Mobile: 7349151444 | Email: <a href="mailto:Scot.Kreienkamp@la-z-boy.com">Scot.Kreienkamp@la-z-boy.com</a><br>
<div class="HOEnZb"><div class="h5">> -----Original Message-----<br>
> From: J.C. Cleaver [mailto:<a href="mailto:cleaver@terabithia.org">cleaver@terabithia.org</a>]<br>
> Sent: Tuesday, June 30, 2015 7:13 PM<br>
> To: Scot Kreienkamp<br>
> Cc: <a href="mailto:xymon@xymon.com">xymon@xymon.com</a><br>
> Subject: Re: [Xymon] Custom 60 second interval test still has 5 min interval<br>
> graph<br>
><br>
> This is correct.<br>
><br>
> The data format for a "round robin database" is fixed at creation time for<br>
> a certain number of data points at a certain interval, using a certain<br>
> method for combining them (typically 'AVERAGE' by default).<br>
><br>
> When you're increasing the number of data points you're submitting, you're<br>
> putting more data in, but you're still only going to see 5 minute average<br>
> "chunks" (and the larger ones). To actually increase the resolution you're<br>
> saving at, you'll want to use (I believe) the 'rrdtune' command.<br>
> Alternatively, some find it easier to export/re-import the data into a new<br>
> file.<br>
><br>
><br>
> HTH,<br>
> -jc<br>
><br>
><br>
> On Tue, June 30, 2015 2:21 pm, Scot Kreienkamp wrote:<br>
> > Hey everyone,<br>
> ><br>
> > I created a custom test and RRD definition because I wanted to reduce the<br>
> > interval time on a few graphs from 5 minute resolution to 1 minute.  I got<br>
> > the data to be logged once every minute, which I verified is hitting the<br>
> > RRD.  The problem is that when I view the graph it's still got a<br>
> > resolution of 5 minutes.<br>
> ><br>
> > Here's the partial RRDTool dump:<br>
> ><br>
> >                         <!-- 2015-06-30 16:53:00 EDT / 1435697580 --><br>
> > <row><v> 1.0033333333e+01 </v></row><br>
> >                         <!-- 2015-06-30 16:54:00 EDT / 1435697640 --><br>
> > <row><v> 1.0550000000e+01 </v></row><br>
> >                         <!-- 2015-06-30 16:55:00 EDT / 1435697700 --><br>
> > <row><v> 5.6333333333e+00 </v></row><br>
> >                         <!-- 2015-06-30 16:56:00 EDT / 1435697760 --><br>
> > <row><v> 7.3166666667e+00 </v></row><br>
> >                         <!-- 2015-06-30 16:57:00 EDT / 1435697820 --><br>
> > <row><v> 7.5000000000e+00 </v></row><br>
> >                         <!-- 2015-06-30 16:58:00 EDT / 1435697880 --><br>
> > <row><v> 6.2500000000e+00 </v></row><br>
> >                         <!-- 2015-06-30 16:59:00 EDT / 1435697940 --><br>
> > <row><v> 7.5500000000e+00 </v></row><br>
> >                         <!-- 2015-06-30 17:00:00 EDT / 1435698000 --><br>
> > <row><v> 9.3333333333e+00 </v></row><br>
> >                         <!-- 2015-06-30 17:01:00 EDT / 1435698060 --><br>
> > <row><v> 5.2666666667e+00 </v></row><br>
> >                         <!-- 2015-06-30 17:02:00 EDT / 1435698120 --><br>
> > <row><v> 7.0666666667e+00 </v></row><br>
> >                         <!-- 2015-06-30 17:03:00 EDT / 1435698180 --><br>
> > <row><v> 6.4000000000e+00 </v></row><br>
> >                         <!-- 2015-06-30 17:04:00 EDT / 1435698240 --><br>
> > <row><v> 6.4000000000e+00 </v></row><br>
> >                         <!-- 2015-06-30 17:05:00 EDT / 1435698300 --><br>
> > <row><v> 1.3000000000e+01 </v></row><br>
> >                         <!-- 2015-06-30 17:06:00 EDT / 1435698360 --><br>
> > <row><v> 9.2000000000e+00 </v></row><br>
> >                         <!-- 2015-06-30 17:07:00 EDT / 1435698420 --><br>
> > <row><v> 3.4650000000e+01 </v></row><br>
> >                         <!-- 2015-06-30 17:08:00 EDT / 1435698480 --><br>
> > <row><v> 5.7200000000e+01 </v></row><br>
> >                         <!-- 2015-06-30 17:09:00 EDT / 1435698540 --><br>
> > <row><v> 5.0283333333e+01 </v></row><br>
> >                         <!-- 2015-06-30 17:10:00 EDT / 1435698600 --><br>
> > <row><v> 4.4100000000e+01 </v></row><br>
> >                         <!-- 2015-06-30 17:11:00 EDT / 1435698660 --><br>
> > <row><v> 4.1500000000e+01 </v></row><br>
> >                         <!-- 2015-06-30 17:12:00 EDT / 1435698720 --><br>
> > <row><v> 2.4500000000e+01 </v></row><br>
> >                         <!-- 2015-06-30 17:13:00 EDT / 1435698780 --><br>
> > <row><v> 1.2000000000e+01 </v></row><br>
> ><br>
> > So the data is getting logged every 60 seconds.  It's also rolling up to<br>
> > the 5 second, etc, values.<br>
> ><br>
> > Here's the line from xymonserver.cfg:<br>
> ><br>
> > SPLITNCV_cpustat="*:GAUGE:180:0:100"  #Configure for 60 second<br>
> intervals,<br>
> > range of 0-100<br>
> ><br>
> ><br>
> > Here's the lines from rrddefinitions.cfg:<br>
> > [cpustat]<br>
> > -s 60<br>
> >         RRA:AVERAGE:0.1:1:120<br>
> >         RRA:AVERAGE:0.5:5:576<br>
> >         RRA:AVERAGE:0.5:30:576<br>
> >         RRA:AVERAGE:0.5:120:576<br>
> >         RRA:AVERAGE:0.5:1440:576<br>
> >         RRA:MAX:0.1:1:120<br>
> >         RRA:MAX:0.5:5:576<br>
> >         RRA:MAX:0.5:30:576<br>
> >         RRA:MAX:0.5:120:576<br>
> >         RRA:MAX:0.5:1440:576<br>
> ><br>
> > Here's the graph definition:<br>
> > [cpustat]<br>
> >         FNPATTERN ^cpustat.(.+).rrd<br>
> >         TITLE % CPU usage<br>
> >         YAXIS Percent<br>
> >         DEF:p@RRDIDX@=@RRDFN@:lambda:MAX<br>
> >         LINE2:p@RRDIDX@#@COLOR@:@RRDPARAM@<br>
> >         GPRINT:p@RRDIDX@:LAST: \: %5.0lf (cur)<br>
> >         GPRINT:p@RRDIDX@:MAX: \: %5.0lf (max)<br>
> >         GPRINT:p@RRDIDX@:MIN: \: %5.0lf (min)<br>
> >         GPRINT:p@RRDIDX@:AVERAGE: \: %5.0lf (avg)\n<br>
> ><br>
> ><br>
> ><br>
> ><br>
> > I had read that RRDTool should use the lowest resolution available, which<br>
> > is 1 minute for this RRD.  So why are the graphs not going less than 5<br>
> > minute intervals when zooming in?  Any ideas?<br>
> ><br>
> > Thanks!<br>
> ><br>
> > Scot Kreienkamp | Senior Systems Engineer | La-Z-Boy Corporate<br>
> > One La-Z-Boy Drive | Monroe, Michigan 48162  | * 734-384-6403 | | *<br>
> > 7349151444 | *  <a href="mailto:Scot.Kreienkamp@la-z-boy.com">Scot.Kreienkamp@la-z-boy.com</a><mailto:%7BE-mail%7D><br>
> > www<<a href="http://www.la-z-boy.com/" rel="noreferrer" target="_blank">http://www.la-z-boy.com/</a>>.<a href="http://la-z-boy.com" rel="noreferrer" target="_blank">la-z-boy.com</a><<a href="http://www.la-z-" rel="noreferrer" target="_blank">http://www.la-z-</a><br>
> <a href="http://boy.com/" rel="noreferrer" target="_blank">boy.com/</a>> |<br>
> ><br>
> facebook.<<a href="https://www.facebook.com/lazboy" rel="noreferrer" target="_blank">https://www.facebook.com/lazboy</a>>com<<a href="https://www.facebook" rel="noreferrer" target="_blank">https://www.facebook</a><br>
> .com/lazboy>/<<a href="https://www.facebook.com/lazboy" rel="noreferrer" target="_blank">https://www.facebook.com/lazboy</a>>lazboy<<a href="http://facebook" rel="noreferrer" target="_blank">http://facebook</a><br>
> .com/lazboy><br>
> > | <a href="http://twitter.com/lazboy" rel="noreferrer" target="_blank">twitter.com/lazboy</a><<a href="https://twitter.com/lazboy" rel="noreferrer" target="_blank">https://twitter.com/lazboy</a>> |<br>
> ><br>
> <a href="http://youtube.com/" rel="noreferrer" target="_blank">youtube.com/</a><<a href="https://www.youtube.com/user/lazboy" rel="noreferrer" target="_blank">https://www.youtube.com/user/lazboy</a>>lazboy<<a href="https://ww" rel="noreferrer" target="_blank">https://ww</a><br>
> <a href="http://w.youtube.com/user/lazboy" rel="noreferrer" target="_blank">w.youtube.com/user/lazboy</a>><br>
> ><br>
> > [cid:lzbVertical_hres.jpg]<br>
> ><br>
> ><br>
> ><br>
> > This message is intended only for the individual or entity to which it is<br>
> > addressed.  It may contain privileged, confidential information which is<br>
> > exempt from disclosure under applicable laws.  If you are not the intended<br>
> > recipient, you are strictly prohibited from disseminating or distributing<br>
> > this information (other than to the intended recipient) or copying this<br>
> > information.  If you have received this communication in error, please<br>
> > notify us immediately by e-mail or by telephone at the above number.<br>
> Thank<br>
> > you.<br>
> > _______________________________________________<br>
> > Xymon mailing list<br>
> > <a href="mailto:Xymon@xymon.com">Xymon@xymon.com</a><br>
> > <a href="http://lists.xymon.com/mailman/listinfo/xymon" rel="noreferrer" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
> ><br>
><br>
<br>
<br>
This message is intended only for the individual or entity to which it is addressed.  It may contain privileged, confidential information which is exempt from disclosure under applicable laws.  If you are not the intended recipient, you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information.  If you have received this communication in error, please notify us immediately by e-mail or by telephone at the above number. Thank you.<br>
_______________________________________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" rel="noreferrer" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
</div></div></blockquote></div><br></div>