Graph Template Autosave - CDEF bug

Templates, scripts for templates, scripts and requests for templates.

Moderators: Moderators, Developers

Post Reply
Author
Message
zarahel
Posts: 33
Joined: Wed Feb 06, 2008 3:49 pm

Graph Template Autosave - CDEF bug

#1 Post by zarahel » Mon Mar 29, 2010 6:25 am

Good afternoon to you all

I need your help

I've created some graph templates with some CDEF functions defined in the datasources; for some reason, from time to time, the graph templates stop "recognizing" the CDEF functions; the CDEF functions are configured but for some reason the graphs just won´t take them in consideration.

To solve that, I have to enter in each graph template and correspondent datasource and save them again.

I think this is a known issue in Cacti.

Nevertheless I would like to request some kind of script (or any other suggestion), that could periodically and automatically run each graph template and datasource and save them.

Any help is welcome. I apreciate your help.

Thkx

User avatar
BSOD2600
Cacti Moderator
Posts: 12160
Joined: Sat May 08, 2004 12:44 pm
Location: USA

#2 Post by BSOD2600 » Mon Mar 29, 2010 11:51 am

Please post a graph debug output of a working and broken graph which you believe should've had the CDEF applied.

zarahel
Posts: 33
Joined: Wed Feb 06, 2008 3:49 pm

#3 Post by zarahel » Mon Mar 29, 2010 12:44 pm

Broken CDEF Graph:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="DNS Response Time - Norte" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="miliseconds" \
--slope-mode \
--font TITLE:9: \
--font AXIS:8: \
--font LEGEND:8: \
--font UNIT:8: \
DEF:a="/var/www/monitor/rra/sonda06_qosm_dns_rpt_101.rrd":qosm_dns_rpt:AVERAGE \
DEF:b="/var/www/monitor/rra/sonda06_qosm_dns_rpt_101.rrd":qosm_dns_rpt:LAST \
DEF:c="/var/www/monitor/rra/sonda06_qosm_dns_rpt_101.rrd":qosm_dns_rpt:MIN \
DEF:d="/var/www/monitor/rra/sonda06_qosm_dns_rpt_101.rrd":qosm_dns_rpt:MAX \
DEF:e="/var/www/monitor/rra/sonda08_qosm_dns_rpt_18.rrd":qosm_dns_rpt:LAST \
DEF:f="/var/www/monitor/rra/sonda08_qosm_dns_rpt_18.rrd":qosm_dns_rpt:MIN \
DEF:g="/var/www/monitor/rra/sonda08_qosm_dns_rpt_18.rrd":qosm_dns_rpt:MAX \
DEF:h="/var/www/monitor/rra/s10clbe_br1_qosm_dns_rpt_261.rrd":qosm_dns_rpt:AVERAGE \
DEF:i="/var/www/monitor/rra/s10clbe_br1_qosm_dns_rpt_261.rrd":qosm_dns_rpt:LAST \
DEF:j="/var/www/monitor/rra/s10clbe_br1_qosm_dns_rpt_261.rrd":qosm_dns_rpt:MIN \
DEF:ba="/var/www/monitor/rra/s10clbe_br1_qosm_dns_rpt_261.rrd":qosm_dns_rpt:MAX \
DEF:bb="/var/www/monitor/rra/s12vz_br1_qosm_dns_rpt_262.rrd":qosm_dns_rpt:AVERAGE \
DEF:bc="/var/www/monitor/rra/s12vz_br1_qosm_dns_rpt_262.rrd":qosm_dns_rpt:LAST \
DEF:bd="/var/www/monitor/rra/s12vz_br1_qosm_dns_rpt_262.rrd":qosm_dns_rpt:MIN \
DEF:be="/var/www/monitor/rra/s12vz_br1_qosm_dns_rpt_262.rrd":qosm_dns_rpt:MAX \
DEF:bf="/var/www/monitor/rra/s15vrbr1_qosm_dns_rpt_936.rrd":qosm_dns_rpt:AVERAGE \
DEF:bg="/var/www/monitor/rra/s15vrbr1_qosm_dns_rpt_936.rrd":qosm_dns_rpt:LAST \
DEF:bh="/var/www/monitor/rra/s15vrbr1_qosm_dns_rpt_936.rrd":qosm_dns_rpt:MIN \
DEF:bi="/var/www/monitor/rra/s15vrbr1_qosm_dns_rpt_936.rrd":qosm_dns_rpt:MAX \
DEF:bj="/var/www/monitor/rra/s16fmlbr1_qosm_dns_rpt_738.rrd":qosm_dns_rpt:AVERAGE \
DEF:ca="/var/www/monitor/rra/s16fmlbr1_qosm_dns_rpt_738.rrd":qosm_dns_rpt:LAST \
DEF:cb="/var/www/monitor/rra/s16fmlbr1_qosm_dns_rpt_738.rrd":qosm_dns_rpt:MIN \
DEF:cc="/var/www/monitor/rra/s16fmlbr1_qosm_dns_rpt_738.rrd":qosm_dns_rpt:MAX \
DEF:cd="/var/www/monitor/rra/s17bgbr1_qosm_dns_rpt_739.rrd":qosm_dns_rpt:AVERAGE \
DEF:ce="/var/www/monitor/rra/s17bgbr1_qosm_dns_rpt_739.rrd":qosm_dns_rpt:LAST \
DEF:cf="/var/www/monitor/rra/s17bgbr1_qosm_dns_rpt_739.rrd":qosm_dns_rpt:MIN \
DEF:cg="/var/www/monitor/rra/s17bgbr1_qosm_dns_rpt_739.rrd":qosm_dns_rpt:MAX \
DEF:ch="/var/www/monitor/rra/s18cvbr1_qosm_dns_rpt_740.rrd":qosm_dns_rpt:AVERAGE \
DEF:ci="/var/www/monitor/rra/s18cvbr1_qosm_dns_rpt_740.rrd":qosm_dns_rpt:LAST \
DEF:cj="/var/www/monitor/rra/s18cvbr1_qosm_dns_rpt_740.rrd":qosm_dns_rpt:MIN \
DEF:da="/var/www/monitor/rra/s18cvbr1_qosm_dns_rpt_740.rrd":qosm_dns_rpt:MAX \
DEF:db="/var/www/monitor/rra/s21-vc-br1_qosm_dns_rpt_945.rrd":qosm_dns_rpt:AVERAGE \
DEF:dc="/var/www/monitor/rra/s22-pnf-br1_qosm_dns_rpt_1086.rrd":qosm_dns_rpt:AVERAGE \
DEF:dd="/var/www/monitor/rra/s22-pnf-br1_qosm_dns_rpt_1086.rrd":qosm_dns_rpt:LAST \
DEF:de="/var/www/monitor/rra/s22-pnf-br1_qosm_dns_rpt_1086.rrd":qosm_dns_rpt:MIN \
DEF:df="/var/www/monitor/rra/s22-pnf-br1_qosm_dns_rpt_1086.rrd":qosm_dns_rpt:MAX \
DEF:dg="/var/www/monitor/rra/s23-ga-br1_qosm_dns_rpt_1125.rrd":qosm_dns_rpt:AVERAGE \
DEF:dh="/var/www/monitor/rra/s23-ga-br1_qosm_dns_rpt_1125.rrd":qosm_dns_rpt:LAST \
DEF:di="/var/www/monitor/rra/s23-ga-br1_qosm_dns_rpt_1125.rrd":qosm_dns_rpt:MIN \
DEF:dj="/var/www/monitor/rra/s23-ga-br1_qosm_dns_rpt_1125.rrd":qosm_dns_rpt:MAX \
DEF:ea="/var/www/monitor/rra/masterprobe_qosm_dns_rpt_avgn_393.rrd":qosm_srv_mtr_avgn:AVERAGE \
DEF:eb="/var/www/monitor/rra/masterprobe_qosm_dns_rpt_avgn_393.rrd":qosm_srv_mtr_avgn:LAST \
DEF:ec="/var/www/monitor/rra/masterprobe_qosm_dns_rpt_avgn_393.rrd":qosm_srv_mtr_avgn:MIN \
DEF:ed="/var/www/monitor/rra/masterprobe_qosm_dns_rpt_avgn_393.rrd":qosm_srv_mtr_avgn:MAX \
CDEF:cdefa=a,1000,/ \
CDEF:cdefb=b,1000,/ \
CDEF:cdefd=d,1000,/ \
CDEF:cdefe=c,1000,/ \
CDEF:cdefba=e,1000,/ \
CDEF:cdefbc=g,1000,/ \
CDEF:cdefbe=f,1000,/ \
CDEF:cdefbf=h,1000,/ \
CDEF:cdefbg=i,1000,/ \
CDEF:cdefbi=ba,1000,/ \
CDEF:cdefbj=j,1000,/ \
CDEF:cdefca=bb,1000,/ \
CDEF:cdefcb=bc,1000,/ \
CDEF:cdefcd=be,1000,/ \
CDEF:cdefce=bd,1000,/ \
CDEF:cdefcf=bf,1000,/ \
CDEF:cdefcg=bg,1000,/ \
CDEF:cdefci=bi,1000,/ \
CDEF:cdefcj=bh,1000,/ \
CDEF:cdefda=bj,1000,/ \
CDEF:cdefdb=ca,1000,/ \
CDEF:cdefdd=cc,1000,/ \
CDEF:cdefde=cb,1000,/ \
CDEF:cdefdf=cd,1000,/ \
CDEF:cdefdg=ce,1000,/ \
CDEF:cdefdi=cg,1000,/ \
CDEF:cdefdj=cf,1000,/ \
CDEF:cdefea=ch,1000,/ \
CDEF:cdefeb=ci,1000,/ \
CDEF:cdefed=da,1000,/ \
CDEF:cdefee=cj,1000,/ \
CDEF:cdefef=db,1000,/ \
CDEF:cdeffa=dc,1000,/ \
CDEF:cdeffb=dd,1000,/ \
CDEF:cdeffd=df,1000,/ \
CDEF:cdeffe=de,1000,/ \
CDEF:cdefff=dg,1000,/ \
CDEF:cdeffg=dh,1000,/ \
CDEF:cdeffi=dj,1000,/ \
CDEF:cdeffj=di,1000,/ \
CDEF:cdefga=ea,1000,/ \
CDEF:cdefgb=eb,1000,/ \
CDEF:cdefgd=ed,1000,/ \
CDEF:cdefge=ec,1000,/ \
LINE1:cdefa#FFAB00FF:"S06-lr_lr" \
GPRINT:cdefb:LAST:" Cur\:%8.2lf" \
GPRINT:cdefa:AVERAGE:"Avg\:%8.2lf" \
GPRINT:cdefd:MAX:"Max\:%8.2lf" \
GPRINT:cdefe:MIN:"Min\:%8.2lf\n" \
LINE1:cdefa#942D0CFF:"S07-ma_ma" \
GPRINT:cdefb:LAST:" Cur\:%8.2lf" \
GPRINT:cdefa:AVERAGE:"Avg\:%8.2lf" \
GPRINT:cdefd:MAX:"Max\:%8.2lf" \
GPRINT:cdefe:MIN:"Min\:%8.2lf\n" \
LINE1:cdefba#0000FFFF:"S08-gm_bg" \
GPRINT:cdefba:LAST:" Cur\:%8.2lf" \
GPRINT:cdefbc:AVERAGE:"Avg\:%8.2lf" \
GPRINT:cdefbc:MAX:"Max\:%8.2lf" \
GPRINT:cdefbe:MIN:"Min\:%8.2lf\n" \
LINE1:cdefbf#FF0000FF:"S10-clbe_br1" \
GPRINT:cdefbg:LAST:"Cur\:%8.2lf" \
GPRINT:cdefbf:AVERAGE:"Avg\:%8.2lf" \
GPRINT:cdefbi:MAX:"Max\:%8.2lf" \
GPRINT:cdefbj:MIN:"Min\:%8.2lf\n" \
LINE1:cdefca#157419FF:"S12-vz_br1" \
GPRINT:cdefcb:LAST:" Cur\:%8.2lf" \
GPRINT:cdefca:AVERAGE:"Avg\:%8.2lf" \
GPRINT:cdefcd:MAX:"Max\:%8.2lf" \
GPRINT:cdefce:MIN:"Min\:%8.2lf\n" \
LINE1:cdefcf#6557D0FF:"S15-vr_br1" \
GPRINT:cdefcg:LAST:" Cur\:%8.2lf" \
GPRINT:cdefcf:AVERAGE:"Avg\:%8.2lf" \
GPRINT:cdefci:MAX:"Max\:%8.2lf" \
GPRINT:cdefcj:MIN:"Min\:%8.2lf\n" \
LINE1:cdefda#00CF00FF:"S16-fml_br1" \
GPRINT:cdefdb:LAST:" Cur\:%8.2lf" \
GPRINT:cdefda:AVERAGE:"Avg\:%8.2lf" \
GPRINT:cdefdd:MAX:"Max\:%8.2lf" \
GPRINT:cdefde:MIN:"Min\:%8.2lf\n" \
LINE1:cdefdf#8D00BAFF:"S17-bg_br1" \
GPRINT:cdefdg:LAST:" Cur\:%8.2lf" \
GPRINT:cdefdf:AVERAGE:"Avg\:%8.2lf" \
GPRINT:cdefdi:MAX:"Max\:%8.2lf" \
GPRINT:cdefdj:MIN:"Min\:%8.2lf\n" \
LINE1:cdefea#FF00FFFF:"S18-cv_br1" \
GPRINT:cdefeb:LAST:" Cur\:%8.2lf" \
GPRINT:cdefea:AVERAGE:"Avg\:%8.2lf" \
GPRINT:cdefed:MAX:"Max\:%8.2lf" \
GPRINT:cdefee:MIN:"Min\:%8.2lf\n" \
LINE1:cdefef#55D6D3FF:"S21-vc-br1" \
GPRINT:cdefb:LAST:" Cur\:%8.2lf" \
GPRINT:cdefa:AVERAGE:"Avg\:%8.2lf" \
GPRINT:cdefd:MAX:"Max\:%8.2lf" \
GPRINT:cdefe:MIN:"Min\:%8.2lf\n" \
LINE1:cdeffa#837C04FF:"S22-pnf-br1" \
GPRINT:cdeffb:LAST:" Cur\:%8.2lf" \
GPRINT:cdeffa:AVERAGE:"Avg\:%8.2lf" \
GPRINT:cdeffd:MAX:"Max\:%8.2lf" \
GPRINT:cdeffe:MIN:"Min\:%8.2lf\n" \
LINE1:cdefff#8F005CFF:"S23-ga-br1" \
GPRINT:cdeffg:LAST:" Cur\:%8.2lf" \
GPRINT:cdefff:AVERAGE:"Avg\:%8.2lf" \
GPRINT:cdeffi:MAX:"Max\:%8.2lf" \
GPRINT:cdeffj:MIN:"Min\:%8.2lf\n" \
LINE1:cdefga#000000FF:"Average" \
GPRINT:cdefgb:LAST:" Cur\:%8.2lf" \
GPRINT:cdefga:AVERAGE:"Avg\:%8.2lf" \
GPRINT:cdefgd:MAX:"Max\:%8.2lf" \
GPRINT:cdefge:MIN:"Min\:%8.2lf"

RRDTool Says:

OK





Working CDEF Graph:


RRDTool Command:

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="DNS Response Time (New) - Norte" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="miliseconds" \
--slope-mode \
--font TITLE:9: \
--font AXIS:8: \
--font LEGEND:8: \
--font UNIT:8: \
DEF:a="/var/www/monitor/rra/s06lr_lr_qosm_dnsn_rpt_624.rrd":qosm_dnsn_rpt:AVERAGE \
DEF:b="/var/www/monitor/rra/s06lr_lr_qosm_dnsn_rpt_624.rrd":qosm_dnsn_rpt:LAST \
DEF:c="/var/www/monitor/rra/s06lr_lr_qosm_dnsn_rpt_624.rrd":qosm_dnsn_rpt:MIN \
DEF:d="/var/www/monitor/rra/s06lr_lr_qosm_dnsn_rpt_624.rrd":qosm_dnsn_rpt:MAX \
DEF:e="/var/www/monitor/rra/s07ma_ma_qosm_dnsn_rpt_628.rrd":qosm_dnsn_rpt:LAST \
DEF:f="/var/www/monitor/rra/s07ma_ma_qosm_dnsn_rpt_628.rrd":qosm_dnsn_rpt:MIN \
DEF:g="/var/www/monitor/rra/s07ma_ma_qosm_dnsn_rpt_628.rrd":qosm_dnsn_rpt:MAX \
DEF:h="/var/www/monitor/rra/s08gm_bg_qosm_dnsn_rpt_630.rrd":qosm_dnsn_rpt:AVERAGE \
DEF:i="/var/www/monitor/rra/s08gm_bg_qosm_dnsn_rpt_630.rrd":qosm_dnsn_rpt:LAST \
DEF:j="/var/www/monitor/rra/s08gm_bg_qosm_dnsn_rpt_630.rrd":qosm_dnsn_rpt:MIN \
DEF:ba="/var/www/monitor/rra/s08gm_bg_qosm_dnsn_rpt_630.rrd":qosm_dnsn_rpt:MAX \
DEF:bb="/var/www/monitor/rra/s12vz_br1_qosm_dnsn_rpt_638.rrd":qosm_dnsn_rpt:MIN \
DEF:bc="/var/www/monitor/rra/s12vz_br1_qosm_dnsn_rpt_638.rrd":qosm_dnsn_rpt:MAX \
DEF:bd="/var/www/monitor/rra/s15vrbr1_qosm_dnsn_rpt_743.rrd":qosm_dnsn_rpt:AVERAGE \
DEF:be="/var/www/monitor/rra/s15vrbr1_qosm_dnsn_rpt_743.rrd":qosm_dnsn_rpt:LAST \
DEF:bf="/var/www/monitor/rra/s15vrbr1_qosm_dnsn_rpt_743.rrd":qosm_dnsn_rpt:MIN \
DEF:bg="/var/www/monitor/rra/s15vrbr1_qosm_dnsn_rpt_743.rrd":qosm_dnsn_rpt:MAX \
DEF:bh="/var/www/monitor/rra/s16fmlbr1_qosm_dnsn_rpt_744.rrd":qosm_dnsn_rpt:AVERAGE \
DEF:bi="/var/www/monitor/rra/s16fmlbr1_qosm_dnsn_rpt_744.rrd":qosm_dnsn_rpt:LAST \
DEF:bj="/var/www/monitor/rra/s16fmlbr1_qosm_dnsn_rpt_744.rrd":qosm_dnsn_rpt:MIN \
DEF:ca="/var/www/monitor/rra/s16fmlbr1_qosm_dnsn_rpt_744.rrd":qosm_dnsn_rpt:MAX \
DEF:cb="/var/www/monitor/rra/s17bgbr1_qosm_dnsn_rpt_745.rrd":qosm_dnsn_rpt:AVERAGE \
DEF:cc="/var/www/monitor/rra/s17bgbr1_qosm_dnsn_rpt_745.rrd":qosm_dnsn_rpt:LAST \
DEF:cd="/var/www/monitor/rra/s17bgbr1_qosm_dnsn_rpt_745.rrd":qosm_dnsn_rpt:MIN \
DEF:ce="/var/www/monitor/rra/s17bgbr1_qosm_dnsn_rpt_745.rrd":qosm_dnsn_rpt:MAX \
DEF:cf="/var/www/monitor/rra/s18cvbr1_qosm_dnsn_rpt_746.rrd":qosm_dnsn_rpt:AVERAGE \
DEF:cg="/var/www/monitor/rra/s18cvbr1_qosm_dnsn_rpt_746.rrd":qosm_dnsn_rpt:LAST \
DEF:ch="/var/www/monitor/rra/s18cvbr1_qosm_dnsn_rpt_746.rrd":qosm_dnsn_rpt:MIN \
DEF:ci="/var/www/monitor/rra/s18cvbr1_qosm_dnsn_rpt_746.rrd":qosm_dnsn_rpt:MAX \
DEF:cj="/var/www/monitor/rra/s21-vc-br1_qosm_dnsn_rpt_946.rrd":qosm_dnsn_rpt:AVERAGE \
DEF:da="/var/www/monitor/rra/s21-vc-br1_qosm_dnsn_rpt_946.rrd":qosm_dnsn_rpt:MIN \
DEF:db="/var/www/monitor/rra/s22-pnf-br1_qosm_dnsn_rpt_1087.rrd":qosm_dnsn_rpt:AVERAGE \
DEF:dc="/var/www/monitor/rra/s22-pnf-br1_qosm_dnsn_rpt_1087.rrd":qosm_dnsn_rpt:LAST \
DEF:dd="/var/www/monitor/rra/s22-pnf-br1_qosm_dnsn_rpt_1087.rrd":qosm_dnsn_rpt:MIN \
DEF:de="/var/www/monitor/rra/s22-pnf-br1_qosm_dnsn_rpt_1087.rrd":qosm_dnsn_rpt:MAX \
DEF:df="/var/www/monitor/rra/s23-ga-br1_qosm_dnsn_rpt_1126.rrd":qosm_dnsn_rpt:AVERAGE \
DEF:dg="/var/www/monitor/rra/s23-ga-br1_qosm_dnsn_rpt_1126.rrd":qosm_dnsn_rpt:LAST \
DEF:dh="/var/www/monitor/rra/s23-ga-br1_qosm_dnsn_rpt_1126.rrd":qosm_dnsn_rpt:MIN \
DEF:di="/var/www/monitor/rra/s23-ga-br1_qosm_dnsn_rpt_1126.rrd":qosm_dnsn_rpt:MAX \
CDEF:cdefa=a,1000,/ \
CDEF:cdefb=b,1000,/ \
CDEF:cdefd=d,1000,/ \
CDEF:cdefe=c,1000,/ \
CDEF:cdefg=e,1000,/ \
CDEF:cdefh=g,1000,/ \
CDEF:cdefj=f,1000,/ \
CDEF:cdefba=h,1000,/ \
CDEF:cdefbb=i,1000,/ \
CDEF:cdefbd=ba,1000,/ \
CDEF:cdefbe=j,1000,/ \
CDEF:cdefcc=bc,1000,/ \
CDEF:cdefcf=bd,1000,/ \
CDEF:cdefcg=be,1000,/ \
CDEF:cdefci=bg,1000,/ \
CDEF:cdefcj=bf,1000,/ \
CDEF:cdefda=bh,1000,/ \
CDEF:cdefdb=bi,1000,/ \
CDEF:cdefdd=ca,1000,/ \
CDEF:cdefde=bj,1000,/ \
CDEF:cdefdf=cb,1000,/ \
CDEF:cdefdg=cc,1000,/ \
CDEF:cdefdi=ce,1000,/ \
CDEF:cdefdj=cd,1000,/ \
CDEF:cdefea=cf,1000,/ \
CDEF:cdefeb=cg,1000,/ \
CDEF:cdefed=ci,1000,/ \
CDEF:cdefee=ch,1000,/ \
CDEF:cdefef=cj,1000,/ \
CDEF:cdefej=da,1000,/ \
CDEF:cdeffa=db,1000,/ \
CDEF:cdeffb=dc,1000,/ \
CDEF:cdeffd=de,1000,/ \
CDEF:cdeffe=dd,1000,/ \
CDEF:cdefff=df,1000,/ \
CDEF:cdeffg=dg,1000,/ \
CDEF:cdeffi=di,1000,/ \
CDEF:cdeffj=dh,1000,/ \
CDEF:cdefga=a,1000,/ \
LINE1:cdefa#FF0000FF:"S06-lr_lr" \
GPRINT:cdefb:LAST:" Cur\:%8.2lf" \
GPRINT:cdefa:AVERAGE:"Avg\:%8.2lf" \
GPRINT:cdefd:MAX:"Max\:%8.2lf" \
GPRINT:cdefe:MIN:"Min\:%8.2lf\n" \
LINE1:cdefa#6557D0FF:"S07-ma_ma" \
GPRINT:cdefg:LAST:" Cur\:%8.2lf" \
GPRINT:cdefh:AVERAGE:"Avg\:%8.2lf" \
GPRINT:cdefh:MAX:"Max\:%8.2lf" \
GPRINT:cdefj:MIN:"Min\:%8.2lf\n" \
LINE1:cdefba#CCBB00FF:"S08-gm_bg" \
GPRINT:cdefbb:LAST:" Cur\:%8.2lf" \
GPRINT:cdefba:AVERAGE:"Avg\:%8.2lf" \
GPRINT:cdefbd:MAX:"Max\:%8.2lf" \
GPRINT:cdefbe:MIN:"Min\:%8.2lf\n" \
LINE1:cdefa#2175D9FF:"S10-clbe_br1" \
GPRINT:cdefb:LAST:"Cur\:%8.2lf" \
GPRINT:cdefa:AVERAGE:"Avg\:%8.2lf" \
GPRINT:cdefd:MAX:"Max\:%8.2lf" \
GPRINT:cdefe:MIN:"Min%8.2lf\n" \
LINE1:cdefa#00FF00FF:"S12-vz_br1" \
GPRINT:cdefb:LAST:" Cur\:%8.2lf" \
GPRINT:cdefcc:AVERAGE:"Avg\:%8.2lf" \
GPRINT:cdefcc:MAX:"Max\:%8.2lf" \
GPRINT:cdefe:MIN:"Min\:%8.2lf\n" \
LINE1:cdefcf#FF00FFFF:"S15-vr_br1" \
GPRINT:cdefcg:LAST:" Cur\:%8.2lf" \
GPRINT:cdefcf:AVERAGE:"Avg\:%8.2lf" \
GPRINT:cdefci:MAX:"Max\:%8.2lf" \
GPRINT:cdefcj:MIN:"Min\:%8.2lf\n" \
LINE1:cdefda#F9FD5FFF:"S16-fml_br1" \
GPRINT:cdefdb:LAST:" Cur\:%8.2lf" \
GPRINT:cdefda:AVERAGE:"Avg\:%8.2lf" \
GPRINT:cdefdd:MAX:"Max\:%8.2lf" \
GPRINT:cdefde:MIN:"Min\:%8.2lf\n" \
LINE1:cdefdf#00A0C1FF:"S17-bg_br1" \
GPRINT:cdefdg:LAST:" Cur\:%8.2lf" \
GPRINT:cdefdf:AVERAGE:"Avg\:%8.2lf" \
GPRINT:cdefdi:MAX:"Max\:%8.2lf" \
GPRINT:cdefdj:MIN:"Min\:%8.2lf\n" \
LINE1:cdefea#DA4725FF:"S18-cv_br1" \
GPRINT:cdefeb:LAST:" Cur\:%8.2lf" \
GPRINT:cdefea:AVERAGE:"Avg\:%8.2lf" \
GPRINT:cdefed:MAX:"Max\:%8.2lf" \
GPRINT:cdefee:MIN:"Min\:%8.2lf\n" \
LINE1:cdefef#0D006AFF:"S21-vc-br1" \
GPRINT:cdefb:LAST:" Cur\:%8.2lf" \
GPRINT:cdefa:AVERAGE:"Avg\:%8.2lf" \
GPRINT:cdefd:MAX:"Max\:%8.2lf" \
GPRINT:cdefej:MIN:"Min\:%8.2lf\n" \
LINE1:cdeffa#96E78AFF:"S22-pnf-br1" \
GPRINT:cdeffb:LAST:" Cur\:%8.2lf" \
GPRINT:cdeffa:AVERAGE:"Avg\:%8.2lf" \
GPRINT:cdeffd:MAX:"Max\:%8.2lf" \
GPRINT:cdeffe:MIN:"Min\:%8.2lf\n" \
LINE1:cdefff#6EA100FF:"S23-ga-br1" \
GPRINT:cdeffg:LAST:" Cur\:%8.2lf" \
GPRINT:cdefff:AVERAGE:"Avg\:%8.2lf" \
GPRINT:cdeffi:MAX:"Max\:%8.2lf" \
GPRINT:cdeffj:MIN:"Min\:%8.2lf\n" \
LINE1:cdefga#000000FF:"" \
GPRINT:cdefga:LAST:" Cur\:%8.2lf" \
GPRINT:cdefga:AVERAGE:"Avg\:%8.2lf" \
GPRINT:cdefga:MAX:"Max\:%8.2lf" \
GPRINT:cdefga:MIN:"Min\:%8.2lf\n"

RRDTool Says:

OK

User avatar
gandalf
Developer
Posts: 22375
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

#4 Post by gandalf » Mon Mar 29, 2010 3:44 pm

This seems to be a pre-087e version of Cacti. If I'm correct, please upgrade and come back with your findings. There have been changes in that area!
R.

zarahel
Posts: 33
Joined: Wed Feb 06, 2008 3:49 pm

#5 Post by zarahel » Tue Mar 30, 2010 4:50 am

gandalf

the problem is that for now it´s almost impossible to upgrade the Cacti´s version.

That´s why i was thinking of some kind of external script with the ability of periodically autosave the graph templates and sources.

User avatar
gandalf
Developer
Posts: 22375
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

#6 Post by gandalf » Tue Mar 30, 2010 10:58 am

zarahel wrote:gandalf

the problem is that for now it´s almost impossible to upgrade the Cacti´s version.
Why? Anything we can do?
R.

mjf
Posts: 5
Joined: Wed Apr 07, 2010 3:15 pm

#7 Post by mjf » Wed Apr 07, 2010 3:21 pm

I have a similar issue, and I am using 087e

zarahel
Posts: 33
Joined: Wed Feb 06, 2008 3:49 pm

#8 Post by zarahel » Thu Apr 08, 2010 5:04 am

gandalf wrote:
zarahel wrote:gandalf

the problem is that for now it´s almost impossible to upgrade the Cacti´s version.
Why? Anything we can do?
R.
Gandalf

The reason I cannot upgrade Cacti right now it´s a question of internal management, not a technical issue. The Cacti is currently monitoring critical services in a very large company, and I don´t have permission to upgrade it´s version...

What I really needed was some linux script in shell or perl where I could periodically refresh or auto-save all the graph templates and data sources.

Post Reply