[solved] ERROR: Expected some arguments after 'COMMENT:'

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

Moderators: Developers, Moderators

Post Reply
lopsa84
Posts: 8
Joined: Sun Nov 03, 2013 7:50 pm

[solved] ERROR: Expected some arguments after 'COMMENT:'

Post by lopsa84 »

Hi,

Not sure if anyone else is having this issues in regards CACTI not displaying graphs. What seems weird is that I did not have this issue before I'm running 0.8.8b new setup for the pass 2 weeks and until now that I'm adding a new device and trying to add a graph from it does not display the graph see snapshot. I've also included the debug message. Any help will be greatly appreciated!!!

RRDTool Command:

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title='X203W.MIA - Traffic - ethernet1/30' \
--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/site/rra/x203w_mia_traffic_in_268.rrd':'traffic_in':AVERAGE \
DEF:b='/usr/share/cacti/site/rra/x203w_mia_traffic_in_268.rrd':'traffic_out':AVERAGE \
CDEF:cdefa='a,8,*' \
CDEF:cdefe='b,-8,*' \
CDEF:cdeff='b,8,*' \
AREA:cdefa#002A97FF:'Inbound' \
GPRINT:cdefa:LAST:' Last\:%8.2lf %s' \
GPRINT:cdefa:AVERAGE:'Avg\:%8.2lf %s' \
GPRINT:cdefa:MAX:'Max\:%8.2lf %s\n' \
AREA:cdefe#B90054FF:'Outbound' \
GPRINT:cdeff:LAST:'Last\:%8.2lf %s' \
GPRINT:cdeff:AVERAGE:'Avg\:%8.2lf %s' \
GPRINT:cdeff:MAX:'Max\:%8.2lf %s\n' \
HRULE:0#B90054FF:'' \
COMMENT:'' \
HRULE:0#FF0000FF:'' \
COMMENT:'Graph Last Updated\:Thu 14 Nov 09\:45\:02 EST 2013' \
VRULE:00#9FA4EEFF:''

RRDTool Says:

ERROR: Expected some arguments after 'COMMENT:'


graph not displaying.JPG
graph not displaying.JPG (20.94 KiB) Viewed 3631 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: ERROR: Expected some arguments after 'COMMENT:'

Post by BSOD2600 »

what version of rrdtool?
All traffic graphs having this problem or just this single instance?
lopsa84
Posts: 8
Joined: Sun Nov 03, 2013 7:50 pm

Re: ERROR: Expected some arguments after 'COMMENT:'

Post by lopsa84 »

Hi,

Thanks for your reply it is rrdtool 1.4. Looks like any new graph that I was creating was giving me the same issue but the ones I had did not. However, since I was on a time constrain to get this done. I went ahead and set up a new fresh copy of CACTI again on a new Ubuntu box and I'm not having the issue any more. It did seem weird.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: ERROR: Expected some arguments after 'COMMENT:'

Post by BSOD2600 »

Compared a functional traffic graph debug to a broken one per chance?

Most likely a template from the community you imported overwrote your traffic ones with a broken version.
paulgevers
Cacti Pro User
Posts: 613
Joined: Tue Aug 29, 2006 4:09 pm
Location: NL

Re: ERROR: Expected some arguments after 'COMMENT:'

Post by paulgevers »

Looks like the 0.8.8b COMMENT bug. Find several threads on the forum, in the mail list and in the bug tracker. Patch is available, please search yourself.
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
lopsa84
Posts: 8
Joined: Sun Nov 03, 2013 7:50 pm

Re: ERROR: Expected some arguments after 'COMMENT:'

Post by lopsa84 »

Thank all for your input on this.

BSOD2600 You might be right since once I started from scratch all good and yes I did import a template.
paulgevers Yes I did find that too but no need now since its working good with the fresh install.

Once again thanks for your help!!
neclimdul
Posts: 3
Joined: Wed Feb 12, 2014 1:55 pm

Re: [solved] ERROR: Expected some arguments after 'COMMENT:'

Post by neclimdul »

neclimdul
Posts: 3
Joined: Wed Feb 12, 2014 1:55 pm

Re: [solved] ERROR: Expected some arguments after 'COMMENT:'

Post by neclimdul »

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests