Bug #886
closedRRD graph generation time scaling not written correctly
0%
Description
In the latest snapshot as of now, certain RRD graphs cannot be rendered due to negative distance on the time axis (i.e. for some of the time intervals the end is before the start).
Updated by Jim Pingle almost 14 years ago
As discovered in this thread: http://forum.pfsense.org/index.php/topic,27910.msg146548.html#msg146548
The time rendering issue seems to only happen between 12am and 12pm, so if you check it after noon, the graphs are OK and you can't reproduce the issue.
Error message from the thread (and mine is similar if I check it before noon)
Sep 10 00:40:13 php: /status_rrd_graph_img.php: Failed to create graph with error code 1, the error is: ERROR: start (1284120000) should be less than end (1284093613)/usr/bin/nice -n20 /usr/local/bin/rrdtool graph /tmp/GW_WAN-quality.rrd-12hour.png \ --start 1284120000 --end 1284093613 \ --title "`hostname` - GW_WAN :: Quality - 7 hours - 1 minute average" \ --color SHADEA#eeeeee --color SHADEB#eeeeee \ --vertical-label "ms / " \ --height 200 --width 620 \ --lower-limit 0 \ DEF:delayraw=/var/db/rrd/GW_WAN-quality.rrd:delay:AVERAGE \ DEF:loss=/var/db/rrd/GW_WAN-quality.rrd:loss:AVERAGE \ "CDEF:delay=delayraw,1000,*" \ "CDEF:roundavg=delay,PREV,+,2,/" \ "CDEF:loss10=loss,-1,*" \ "CDEF:r0=delay,20,MIN" \ "CDEF:r1=delay,60,MIN" \ "CDEF:r2=delay,180,MIN" \ "CDEF:r3=delay,420,MIN" \ COMMENT:" Delay Packet loss\n" \ AREA:delay#990000:"> 420 ms" \ GPRINT:delay:MIN:" Min\: %7.2lf ms" \ GPRINT:loss:MIN:" Min\: %3.1lf %\n" \ AREA:r3#a83c3c:"180-420
Updated by Jonathan Puddle almost 14 years ago
We're seeing this too. Our RRD graphs were fine up until yesterday's release.
Updated by Seth Mos almost 14 years ago
- Assignee set to Seth Mos
I've disabled the 12 hour timespan graph for now. I'll have to look into it later.
Updated by Seth Mos over 13 years ago
- Status changed from New to Feedback
in place of the 12 hour timespan I've made the 8hour timespan instead, which is easier to craft. This also has to do with #812
Needs feedback
Updated by Adam Stylinski over 13 years ago
hmm, the quality RRD doesn't seem to be working recently, although for entirely different reasons I'm sure.
Updated by Daniel Jampen about 13 years ago
All RRD graphs are working fine @ Pfsense nanobsd 1G 2.0-RC3 (i386) built on Wed Aug 3 20:04:02 EDT 2011
Updated by Chris Buechler about 13 years ago
- Status changed from Feedback to Resolved