[SOLVED] RRD Graph problem since the 3/17/11 build.
-
I am seeing the same problem on the 22/03/11 build 32bit as well. Seems to of happened when the 95th percentile was committed to the snapshots.
-
I had the same issue.
today I logged into my firewall and deleted the rrd files /var/db/rrd/ (careful not to delete the updaterrd.sh script in there).
The result of that was I lost all of my historic data. On the plus side my graphs started working again.
Hope this helps.
-
Although a fix I would rather not loose old data.
-
-
Same problem here.. rdd graphs fail to work. System logs show :
php: /status_rrd_graph_img.php: Failed to create graph with error code 1, the error is: ERROR: Could not parse color in ''/usr/bin/nice -n20 /usr/local/bin/rrdtool graph /tmp/wan-traffic.rrd-quarter.png --start 1293383835 --end 1301419035 --vertical-label "bits/sec" --color SHADEA#eeeeee --color SHADEB#eeeeee --title "`hostname` - WAN :: Traffic - 3 months - 1 day average" --height 200 --width 620 DEF:wan-in_bytes_pass=/var/db/rrd/wan-traffic.rrd:inpass:AVERAGE DEF:wan-out_bytes_pass=/var/db/rrd/wan-traffic.rrd:outpass:AVERAGE DEF:wan-in_bytes_block=/var/db/rrd/wan-traffic.rrd:inblock:AVERAGE DEF:wan-out_bytes_block=/var/db/rrd/wan-traffic.rrd:outblock:AVERAGE CDEF:"wan-in_bits_pass=wan-in_bytes_pass,8,*" CDEF:"wan-out_bits_pass=wan-out_bytes_pass,8,*" CDEF:"wan-in_bits_block=wan-in_bytes_block,8,*" CDEF:"wan-out_bits_block=wan-out_bytes_block,8,*" CDEF:"wan-in_bytes=wan-in_bytes_pass,wan-in_bytes_block,+" CDEF:"wan-out_bytes=wan-out_bytes_pass,wan-out_bytes_block,+" CDEF:"wan-in_bits=wan-
Since I don't really care about the data.. I did try deleting all the files in the /var/db/rrd folder except for the .sh file.. and after trying to access rrd I get the same error again (see above)
-
Does any of the Devs have an idea on this one.
-
Check which theme you are using and then add the missing color to 'usr\local\www\themes<your theme="">\rrdcolors.inc.php'
$colortraffic95 = array("660000", "FF0000"); ```</your>
-
I don't think that helped; is there something I'm missing?
-
Cool thanks that did the trick.
-
Thanks, that got me all fixed up. =)
-
Most of those should be fixed in new snapshots, but I did find a couple issues with theme colors (in the corporate and nervecenter themes).
https://rcs.pfsense.org/projects/pfsense/repos/mainline/commits/0ef48aed8b6b9098c924229f725e12b3f7ec7013