Some graphs missing after upgrade from 0.8.8a to 0.8.8b

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

Moderators: Developers, Moderators

Post Reply
olo
Posts: 5
Joined: Sun May 26, 2013 8:57 am

Some graphs missing after upgrade from 0.8.8a to 0.8.8b

Post by olo »

Hi,
I've just upgraded from 0.8.8a to 0.8.8b and some of the graphs are not being displayed. While in Graph Debug Mode:

Code: Select all

RRDTool Command:
/usr/bin/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title='SERVER02 - Traffic - WAN-ISP1 (95th)' \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit='0' \
--vertical-label='bits per second' \
--slope-mode \
--font TITLE:10: \
--font AXIS:7: \
--font LEGEND:8: \
--font UNIT:7: \
DEF:a='/usr/share/cacti/rra/server02_traffic_in_341.rrd':'traffic_in':AVERAGE \
DEF:b='/usr/share/cacti/rra/server02_traffic_in_341.rrd':'traffic_out':AVERAGE \
CDEF:cdefa='a,8,*' \
CDEF:cdefe='b,8,*' \
AREA:cdefa#00CF00FF:'Inbound' \
GPRINT:cdefa:LAST:' Current\:%8.2lf%s' \
GPRINT:cdefa:AVERAGE:'Average\:%8.2lf%s' \
GPRINT:cdefa:MAX:'Maximum\:%8.2lf%s\n' \
LINE1:cdefe#002A97FF:'Outbound' \
GPRINT:cdefe:LAST:'Current\:%8.2lf%s' \
GPRINT:cdefe:AVERAGE:'Average\:%8.2lf%s' \
GPRINT:cdefe:MAX:'Maximum\:%8.2lf%s\n' \
COMMENT:'' \
HRULE:1176672.79#FF0000FF:'95th Percentile' \
COMMENT:'(1.18 mbit in+out)\n' 

RRDTool Says:
ERROR: Expected some arguments after 'COMMENT:'
Could someone help with that issue and share info on how to fix this error - Expected some arguments after 'COMMENT:'?

UPDATE:
- I've managed to get rid of this by copying "(|95:bits:6:total:2| mbit in+out)" from the COMMENT field below.
The full size graph is being displayed but there's no thumbnails and I don't see any errors. How can I fix it?
Best regards,
olo
---
cacti 0.8.8b patched @CentOS
paulgevers
Cacti Pro User
Posts: 613
Joined: Tue Aug 29, 2006 4:09 pm
Location: NL

Re: Some graphs missing after upgrade from 0.8.8a to 0.8.8b

Post by paulgevers »

Please look around this forum or in the bug tracker. 0.8.8b had a COMMENT regression which can be fixed by applying the patch that can be found in multiple locations.
Maintainer of cacti in Debian (and Ubuntu).
Cacti 1.* is now officially supported on Debian Stretch via Debian backports
FAQ Ubuntu and Debian differences
Generic cacti debugging
olo
Posts: 5
Joined: Sun May 26, 2013 8:57 am

Re: Some graphs missing after upgrade from 0.8.8a to 0.8.8b

Post by olo »

Applying cacti088b_empty_comment.patch solved the problem.

Thank you paulgevers :)
Best regards,
olo
---
cacti 0.8.8b patched @CentOS
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests