Bug #1416
closedRRD failures for Traffic and Packets graphs
0%
Description
None of the Traffic and Packet graphs work on my ALIX.2D3 systems for the latest builds. Here's a sample output for a failure:
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-packets.rrd'/usr/bin/nice -n20 /usr/local/bin/rrdtool graph /tmp/wan-packets.rrd-4year.png --start 1175521025 --end 1302010625 --vertical-label "packets/sec" --color SHADEA#eeeeee --color SHADEB#eeeeee --title "`hostname` - WAN :: Packets - 4 years - 1 day average" --height 200 --width 620 DEF:"wan-in_pps_pass=/var/db/rrd/wan-packets.rrd:inpass:AVERAGE" DEF:"wan-out_pps_pass=/var/db/rrd/wan-packets.rrd:outpass:AVERAGE" DEF:"wan-in_pps_block=/var/db/rrd/wan-packets.rrd:inblock:AVERAGE" DEF:"wan-out_pps_block=/var/db/rrd/wan-packets.rrd:outblock:AVERAGE" CDEF:"wan-in_pps=wan-in_pps_pass,wan-in_pps_block,+" CDEF:"wan-out_pps=wan-out_pps_pass,wan-out_pps_block,+" CDEF:"wan-out_pps_pass_neg=wan-out_pps_pass,-1,*" CDEF:"wan-out_pps_block_neg=wan-out_pps_block,-1,*" CDEF:"wan-pps_in_pass=wan-in_pps_pass,0,12500000,LIMIT,UN,0,wan-in_pps_pass,IF,43200,*" CDEF:"wan
Updated by Jim Pingle over 14 years ago
- Status changed from New to Rejected
It works for me on the most recent snapshot with fresh rrd files. Try to rm /var/db/rrd/* and press save on the RRD settings tab. If you still get errors, post them here. You may have caught a snap that had RRD issues and you're stuck with broken files until you recreate them as mentioned above.