mcutting wrote:This sounds more like an RRA setting. Do you have values for "AVERAGE" defined ?
Do me a favour, and post the debug from graph management (for this particular graph) - we'll see what's going on from there.
I pasted the debug below but I am afraid the graph is not even being created. You did not ask, but I also pasted the create command from Console->Data Sources->Debug. Figured it might help. Note that if I manually run the create command, it then creates the file, but not if I leave it to Cacti. Also, if the rrd file is created manually it still will not get updated, with the time tag not changing and no data inserted. I realize this looks a lot like permissions, so I went sudo chmod 777 on the rrd file after creation. No change even with all permissions open.
Maybe someone can make sense of the debug below and see what I am doing wrong. Any chance this particular piece of the template is not compatible with 0.8.7g ?
Thanks for any help.
**
Graph debug:
**
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title='afs - CPU Status' \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label='State' \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:8: \
--font UNIT:8: \
DEF:a="/var/www/cacti/rra/afs_tempstatval_150.rrd":TempState:AVERAGE \
--watermark "IT Network Engineering" \
AREA:a#00CF00FF:"State\: |query_TemperatureState|" \
GPRINT
LAST:"Current\:%8.2lf %s"
RRDTool Says:
ERROR: opening '/var/www/cacti/rra/afs_tempstatval_150.rrd': No such file or directory
**
Create debug:
**
/usr/bin/rrdtool create \
/var/www/cacti/rra/afs_tempstatval_150.rrd \
--step 300 \
DS:TempStatVal:GAUGE:600:0:U \
DS:TempStatThr:GAUGE:600:0:U \
DS:TempState:GAUGE:600:0:10 \
RRA:AVERAGE:0.5:1:500 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MAX:0.5:1:500 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \