After upgrade to 0.8.6i,graph export wrong

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

Moderators: Developers, Moderators

Post Reply
cnlg
Posts: 13
Joined: Wed Jul 27, 2005 9:26 pm

After upgrade to 0.8.6i,graph export wrong

Post by cnlg »

I used to use cacti 0.8.6h and create a graph template to show traffic_in,traffic_out,unicast_in,unicast_out in one graph.But after upgrade to 0.8.6i,the graph export become wrong, debug information like below:
/usr/local/rrdtool-1.2.11/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="LY_XG_R_001 - 比特和数据包流量 - Gi3/0 - ly-xg-r-001(G3/0)_to_ly-xg-7301-rr(G0/0):1GE:1" \
--base=1000 \
--height=150 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="Powered By : Chen Long" \
--slope-mode \
DEF:a="/usr/local/apache/htdocs/cacti-0.8.6i/rra/ly_xg_r_001_unicast_in_10617.rrd":unicast_out:AVERAGE \
DEF:b="/usr/local/apache/htdocs/cacti-0.8.6i/rra/ly_xg_r_001_unicast_in_10616.rrd":traffic_in:AVERAGE \
DEF:c="/usr/local/apache/htdocs/cacti-0.8.6i/rra/ly_xg_r_001_unicast_in_10616.rrd":traffic_out:AVERAGE \
DEF:d="/usr/local/apache/htdocs/cacti-0.8.6i/rra/ly_xg_r_001_unicast_in_10616.rrd":unicast_in:AVERAGE \
DEF:e="/usr/local/apache/htdocs/cacti-0.8.6i/rra/ly_xg_r_001_unicast_in_10616.rrd":unicast_out:AVERAGE \
CDEF:cdefb=b,8,* \
CDEF:cdefd=b,1000000,/,1000,/,100,*,8,* \
CDEF:cdefi=c,8,* \
CDEF:cdefba=c,1000000,/,1000,/,100,*,8,* \
CDEF:cdefbg=d,-1,*,1,* \
CDEF:cdefca=e,-1,*,1,* \
COMMENT:"Bits Traffic \:\n" \
There add one more line:
DEF:a="/usr/local/apache/htdocs/cacti-0.8.6i/rra/ly_xg_r_001_unicast_in_10617.rrd":unicast_out:AVERAGE
the file ly_xg_r_001_unicast_in_10617.rrd does not exist.
But with 0.8.6h this graph template is good,any one meet this question?what shall i do?
Sorry for my poor english.
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

The principal developer made a change to improve RRDtool command length. This resulted in 1) more efficient use of RRDtool resources 2) some broken templates.

Your data is not damaged.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
cnlg
Posts: 13
Joined: Wed Jul 27, 2005 9:26 pm

Post by cnlg »

This Problem has resolved, because the graph template is wrong, chage a comment's data source to none is ok.
thanks TheWitness and everyone.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests