<br><br><div class="gmail_quote">2009/8/11 Marc Powell <span dir="ltr"><<a href="mailto:marc@ena.com">marc@ena.com</a>></span><br><div><br>Hi Marc,<br>Thanks a lot fot the reply <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im"><br>
<br>
</div>I think you mean to say 'm', as in milli, not 'M' as in Mega. They're<br>
several orders of magnitude different. For example, the first value<br>
above is of course '.16333333', not 1,633,333.3333.</blockquote><div><br>Ups, you're correct, but either way, the value is wrong, as I'd never get 1.6 or .16 values, just 1 or 2, nothing in between.<br><br>
<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<div class="im"><br>
> I've read that the common problem here is using COUNTER instead of<br>
> GAUGE, but as you can see, I'm using GAUGE to draw exactly, 0, 1, 2<br>
> etc..<br>
<br>
</div>Using GAUGE helps but you're not as much as you believe. Internally to<br>
RRDtool, they're still rates that fall into very specific interval<br>
buckets. If you want the exact values out that you put in, you must<br>
input the value on an even rrd STEP from the rrd START.<br>
<br>
If you are not inputing the values with a timestamp that falls exactly<br>
on a step (bucket) from the start time, RRDtool will adjust the value<br>
based on how early or late you are from the bucket time. If you input<br>
early, the value will be increased. If you input late, the value will<br>
be decreased.</blockquote><div><br>I would like to input the values with a timestamp, as the piece of log I posted in my first email shows, but I'm not sure if I understood this correctly (I'm a newbie in rrdtool :-) ), you mean I should change the --start 1? But, in favour of what?<br>
<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<div class="im"><br>
> The problem disappear when the value got from the MySQL is something<br>
> like: 3989<br>
> Then the graph shows 3K, 3.5K, 4K etc in the vertical margin, which<br>
> is correct. But I don't understand why a value like: "1" is shown as<br>
> 100M in the graph.<br>
<br>
</div>The value was input very much head of the step time?</blockquote><div><br>Probably not, the script runs every 30 seconds and it took about a second to generate the graph.</div></div><br>Again, thanks a lot, Marc<br>
<br>A<br>