CPU Usage problem
Moderators: Developers, Moderators
CPU Usage problem
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
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
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
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]
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]
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]
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.png (78.49 KiB) Viewed 2947 times
Post the graph debug output (click the wrench).
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
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" \
GPRINTLAST:"Current\:" \
GPRINTAVERAGE:"Average\:" \
GPRINTMAX:"Maximum\:\n" \
COMMENT:"Tue 11 May 22\:40\:01 IDT 2010"
RRDTool Says:
ERROR: bad format for GPRINT in 'Current:'
/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" \
GPRINTLAST:"Current\:" \
GPRINTAVERAGE:"Average\:" \
GPRINTMAX:"Maximum\:\n" \
COMMENT:"Tue 11 May 22\:40\:01 IDT 2010"
RRDTool Says:
ERROR: bad format for GPRINT in 'Current:'
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Console->Settings->General->RRDtool Version.
TheWitness
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?
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?
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]
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]
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
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]
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]
Re: CPU Usage problem
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.
Who is online
Users browsing this forum: No registered users and 6 guests