bad format for GPRINT in 'Current:'

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

Moderators: Developers, Moderators

Post Reply
eogaz
Posts: 2
Joined: Fri Jul 15, 2016 10:17 am

bad format for GPRINT in 'Current:'

Post by eogaz »

Hi All,

Im new in Cacti and actually im using it in my new job. It has not been difficult to use it but im facing an error with just some CPU Cisco devices....

First of all the cacti version running is 0.8.6i which is installed in a Linux SRVcacti 2.6.18-6-686. The RRDTool version is 1.2.x

The template used is "Cisco CPU Usage" that was downloaded in http://docs.cacti.net/templates

I have several cisco devices graphing CPU usage fine (See CPU OK attached Image) but in other devices I have the following error of RRDTool:

RRDTool Command:

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Sw_1 - CPU Usage" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--upper-limit=100 \
--lower-limit=0 \
--vertical-label="percent" \
--slope-mode \
DEF:a="/usr/share/cacti/site/rra/sw_1_5min_cpu_2889.rrd":5min_cpu:AVERAGE \
AREA:a#7EE600:"CPU Usage" \
GPRINT:a:LAST:"Current\:" \
GPRINT:a:AVERAGE:"Average\:" \
GPRINT:a:MAX:"Maximum\:\n" \
COMMENT:"Fri 15 Jul 11\:40\:02 ART 2016"

RRDTool Says:

ERROR: bad format for GPRINT in 'Current:'
:-?
I was looking for some information that can help to solve this error but no results.
can anyone help me to figure out this error and fix it?

Thanks in advance! :D
Attachments
CPU of Cisco Switch which is graphing
CPU of Cisco Switch which is graphing
CPU OK.jpg (88.85 KiB) Viewed 687 times
eogaz
Posts: 2
Joined: Fri Jul 15, 2016 10:17 am

Re: bad format for GPRINT in 'Current:'

Post by eogaz »

buddies, any advice? :roll:

i'll appreciate it :wink:

greetings
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests