Cisco CPU Graphs

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

Moderators: Developers, Moderators

Post Reply
anthonymd
Posts: 5
Joined: Tue Sep 02, 2008 3:19 pm
Location: Reno, NV

Cisco CPU Graphs

Post by anthonymd »

Hello,

My Cisco CPU graphs X axis is not graphing correctly. Instead of a % it's showing 4e+00 and stuff like that.

I've attached an example.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please post image inline. I hate detaching proprietary attachments to simply view an image.
Reinhard
anthonymd
Posts: 5
Joined: Tue Sep 02, 2008 3:19 pm
Location: Reno, NV

Post by anthonymd »

Sorry about that. Is this better? Thanks very much for your help.
Attachments
image.JPG
image.JPG (56.32 KiB) Viewed 1431 times
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Fine. Now please post both
- a screenshot of the Graph Template used (lower section)
- visit Graph management for this graph, select debug and post the second screenshot
Reinhard
anthonymd
Posts: 5
Joined: Tue Sep 02, 2008 3:19 pm
Location: Reno, NV

Post by anthonymd »

Is this what you are looking for?


RRDTool Command:

/usr/local/rrdtool-1.2.28/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="AirportRTR - CPU Usage" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=2 \
--logarithmic \
--vertical-label="percent" \
--slope-mode \
--font TITLE:12:/usr/local/src/rrdtool-1.2.28/src/DejaVuSansMono-Roman.ttf \
--font AXIS:8:/usr/local/src/rrdtool-1.2.28/src/DejaVuSansMono-Roman.ttf \
--font LEGEND:10:/usr/local/src/rrdtool-1.2.28/src/DejaVuSansMono-Roman.ttf \
--font UNIT:8:/usr/local/src/rrdtool-1.2.28/src/DejaVuSansMono-Roman.ttf \
DEF:a="/home/cactiuser/cacti/rra/airportrtr_5min_cpu_10.rrd":5min_cpu:AVERAGE \
DEF:b="/home/cactiuser/cacti/rra/airportrtr_5min_cpu_10.rrd":5min_cpu:MAX \
AREA:a#FF0000FF:"CPU Usage" \
GPRINT:a:LAST:"Current\:%8.0lf" \
GPRINT:a:AVERAGE:"Average\:%8.0lf" \
GPRINT:b:MAX:"Maximum\:%8.0lf"
RRDTool Says:

OK
Attachments
untitled.JPG
untitled.JPG (20.75 KiB) Viewed 1427 times
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

anthonymd wrote:--alt-autoscale-max \
--lower-limit=2 \
--logarithmic \
You entered "logarithmic" y-axis scaling on purpose?
Reinhard
anthonymd
Posts: 5
Joined: Tue Sep 02, 2008 3:19 pm
Location: Reno, NV

Post by anthonymd »

I didn't specify that as far as I know. When I installed I pretty much just went with the defaults. Where do I change this setting?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please see the according Graph Template. Find some help (not exactly on logarithmic scaling) at the 1st link of my sig
Reinhard
anthonymd
Posts: 5
Joined: Tue Sep 02, 2008 3:19 pm
Location: Reno, NV

Post by anthonymd »

Thank you for your help. I did find it and changed it. Looks great. I appreciate you time and help. Kind Regards.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests