[rrd-users] Re: blocky graph with description (update/solutions)

This is a discussion on [rrd-users] Re: blocky graph with description (update/solutions) within the RRD Users forums, part of the Networking and Network Related category; Hi Sebastian, wil add your patch ... thanks tobi > src/rrd_fetch.c 2006-10-18 10:04:12.000000000 +0200 &...


Go Back   Usenet Forums > Networking and Network Related > RRD Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-06-2006
Tobias Oetiker
 
Posts: n/a
Default [rrd-users] Re: blocky graph with description (update/solutions)

Hi Sebastian,

wil add your patch ... thanks
tobi

> src/rrd_fetch.c 2006-10-18 10:04:12.000000000 +0200
> @@ -237,7 +237,7 @@
> tmp_step_diff = labs(*step - (rrd.stat_head->pdp_step
> * rrd.rra_def[i].pdp_cnt));
> /* best full match */
> - if(cal_end >= *end
> + if(cal_end + (rrd.stat_head->pdp_step * rrd.rra_def[i].pdp_cnt) >= *end
> && cal_start <= *start){
> if (first_full || (tmp_step_diff < best_full_step_diff)){
> first_full=0;
>


cheers
tobi
>


--
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten
http://tobi.oetiker.ch tobi@oetiker.ch ++41 62 213 9902

--
Unsubscribe mailto:rrd-users-request@list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request@list.ee.ethz.ch?subject=help
Archive http://lists.ee.ethz.ch/rrd-users
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:15 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0