Failed to create graph with error code 1 - 2.0-RC3 (i386) built on Thu Jun 23



  • Hi!

    There is a problem displaying some!!! of the graphs in RRD.

    Version 2.0-RC3 (i386)
    built on Thu Jun 23 13:05:26 EDT 2011
    CPU Type Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz

    Can I clear this error? The error manifested after this problem http://forum.pfsense.org/index.php/topic,38093.0.html
    After updating pfsense to latest build the error is still there.

    Tnx!


  • Rebel Alliance Developer Netgate

    That depends on what the error is. If if's something minor, it may be something that's been fixed on a newer snapshot than you have. If it's something bigger, you may just need to remove your RRD files and start over with the graphs. I just added a button to the RRD settings page yesterday that will reset the RRD data.



  • ok updated to the latest build and cleared the graphs with the new button.

    this has resulted in all the graphs working except the quality graphs

    I was also getting the following errors:
    php: /status_rrd_graph_img.php: Failed to create graph with error code 1, the error is: ERROR: No DS called 'inpass' in '/var/db/rrd/wan-traffic.rrd'/usr/bin/nice -n20 /usr/local/bin/rrdtool graph /tmp/wan-traffic.rrd-month.png –start 1308421501 --end 1311186301 --vertical-label "bits/sec" --color SHADEA#eeeeee --color SHADEB#eeeeee --title "hostname - WAN :: Traffic - 1 month - 1 hour 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,

    but now Jul 20 19:57:16 apinger: Error while feeding rrdtool: Broken pipe


Log in to reply