graph never created despite data

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
leibnitz
Posts: 3
Joined: Mon Apr 05, 2010 10:04 am

graph never created despite data

Post by leibnitz »

so I am trying to work with the dragon wave templates that were posted here in 2006 and they have never worked, but it is to the point where I need to get them going and I wonder if someone could shed some light on why the template doesn't work the data source template shows it is getting data but the graph never forms it always looks like the picture file does not exist.

is there someone who could say what is wrong with the template?

here is the graph properties info:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=1344280307 \
--end=1344366707 \
--title='DragonWave AirPair100 - Modem RSL' \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=-120 \
COMMENT:"From 2012/08/06 12\:11\:47 To 2012/08/07 12\:11\:47\c" \
COMMENT:" \n" \
--vertical-label='dBm' \
--slope-mode \
--font TITLE:10: \
--font AXIS:7: \
--font LEGEND:8: \
--font UNIT:7: \
DEF:a="/var/lib/cacti/rra/carlin_dragonwave_18_dw_airpair_rsl_133.rrd":dw_airpair_rsl:LAST \
CDEF:cdefa=a,10,/ \
LINE1:cdefa#0000FFFF:"" \
GPRINT:cdefa:LAST:"Last\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Avg\:%8.2lf %s" \
GPRINT:cdefa:MIN:"Min\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Max\:%8.2lf %s\n"
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: graph never created despite data

Post by gandalf »

I fear that the rrd file does not contain the LAST consolidation function that is requested by this graph. Edit the graph template and change the first item not to use LAST but e.g. AVERAGE and retry
R.
Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests