CPU Usage problem

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

Moderators: Developers, Moderators

Post Reply
khaledhu
Posts: 8
Joined: Thu Jun 19, 2008 2:35 am

CPU Usage problem

Post by khaledhu »

Hi All,

i am runnig cacti 0.8.7e, i added cisco CPU usage graph, it graph the CPU usage on main page, when i click on the graph to see the detailed graphs (weekly, daily, etc..) it cannot display the graphs inside, it just wrote the title without image

please advice
User avatar
Sirup
Cacti Moderator
Posts: 348
Joined: Tue Mar 02, 2010 9:03 am

Post by Sirup »

Please post a screenshot of the graph.

Also give some further information like:
- Used polling method
- OS on which cacti is running
- With which template are you trying to monitor
- Cacti Log

Also maybe try this: http://docs.cacti.net/manual:087:4_help.2_debugging
[size=67]Cacti version: 0.8.7e5
OS: FreeBSD 7.2
Plugin Architecture: 2.6
Plugins: aggregate 0.74, autom8 0.33, loginmod 1.0

[url=http://docs.cacti.net/manual:087]Official Cacti Documentation[/url]
[url=http://docs.cacti.net/manual:087:4_help.2_debugging#debugging]Gandalfs Official Debugging Help[/url]
[/size]
khaledhu
Posts: 8
Joined: Thu Jun 19, 2008 2:35 am

Post by khaledhu »

Hi,

i my http log i find

ERROR: bad format for GPRINT in 'Current:'
ERROR: bad format for GPRINT in 'Current:'
ERROR: bad format for GPRINT in 'Current:'
ERROR: bad format for GPRINT in 'Current:'
ERROR: bad format for GPRINT in 'Current:'


also all the graphs for cisco router interfaces and memory usage is working fine, just CPU has this problem,

template i am using downloaded from here

http://docs.cacti.net/template:graph:cisco:cpu_usage



[/img]
Attachments
screenshot
screenshot
Screenshot.png (78.49 KiB) Viewed 2953 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Post the graph debug output (click the wrench).
khaledhu
Posts: 8
Joined: Thu Jun 19, 2008 2:35 am

Post by khaledhu »

RRDTool Command:

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Jerusalem Router - CPU Usage" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--upper-limit=100 \
--lower-limit=0 \
--vertical-label="percent" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/var/www/html/cacti/rra/jerusalem_router_5min_cpu_54.rrd":5min_cpu:AVERAGE \
AREA:a#FFAB00FF:"CPU Usage" \
GPRINT:a:LAST:"Current\:" \
GPRINT:a:AVERAGE:"Average\:" \
GPRINT:a:MAX:"Maximum\:\n" \
COMMENT:"Tue 11 May 22\:40\:01 IDT 2010"

RRDTool Says:

ERROR: bad format for GPRINT in 'Current:'
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Console->Settings->General->RRDtool Version.

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?
khaledhu
Posts: 8
Joined: Thu Jun 19, 2008 2:35 am

Post by khaledhu »

RRdtool is 1.2.x version
User avatar
Sirup
Cacti Moderator
Posts: 348
Joined: Tue Mar 02, 2010 9:03 am

Post by Sirup »

And which one do you use?
[size=67]Cacti version: 0.8.7e5
OS: FreeBSD 7.2
Plugin Architecture: 2.6
Plugins: aggregate 0.74, autom8 0.33, loginmod 1.0

[url=http://docs.cacti.net/manual:087]Official Cacti Documentation[/url]
[url=http://docs.cacti.net/manual:087:4_help.2_debugging#debugging]Gandalfs Official Debugging Help[/url]
[/size]
khaledhu
Posts: 8
Joined: Thu Jun 19, 2008 2:35 am

Post by khaledhu »

in my setting i am using 1.2.x , or you mean use in somewhere else ?
should i use newer version of rrdtool
User avatar
Sirup
Cacti Moderator
Posts: 348
Joined: Tue Mar 02, 2010 9:03 am

Post by Sirup »

In your setting you are using 1.2 - And which one do you use on your system?

Example for FreeBsd: ls -lcrt /var/db/pkg/*/+DESC | grep rrdtool
[size=67]Cacti version: 0.8.7e5
OS: FreeBSD 7.2
Plugin Architecture: 2.6
Plugins: aggregate 0.74, autom8 0.33, loginmod 1.0

[url=http://docs.cacti.net/manual:087]Official Cacti Documentation[/url]
[url=http://docs.cacti.net/manual:087:4_help.2_debugging#debugging]Gandalfs Official Debugging Help[/url]
[/size]
nuran
Posts: 8
Joined: Sat Jan 26, 2013 6:32 am

Re: CPU Usage problem

Post by nuran »

khaledhu wrote:Hi All,

i am runnig cacti 0.8.7e, i added cisco CPU usage graph, it graph the CPU usage on main page, when i click on the graph to see the detailed graphs (weekly, daily, etc..) it cannot display the graphs inside, it just wrote the title without image

please advice

Hi khaledhu...

I also have like this problem. And i'm interesting how i fixed this problem? or this probleb stay active in you system?

Thanks.
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests