I have a quite a few Cisco 2821 routers;
The --CPU USAGE-- graph for one particular router in which it shows the Y-axis in what appears to be "megs"
as in::
800m
600m
400m
200m
rather than the typical % of:::
50
40
30
20
10
Thoughts on what causes this?
Many thanks,
TroyC
CPU Graph shows Megs not %
Moderators: Developers, Moderators
-
- Posts: 2
- Joined: Fri Dec 05, 2008 6:24 pm
Replying to myself...but
here's a bit more info...
Router that graph is NOT showing up properly...
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=1228506431 \
--end=1228520831 \
--title="cp1aqu-vrtr02 - CPU Usage" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
COMMENT:"From 2008/12/05 14\:47\:11 To 2008/12/05 18\:47\:11\c" \
COMMENT:" \n" \
--vertical-label="percent" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:8: \
--font UNIT:8: \
DEF:a="/var/lib/cacti/rra/cp1aqu-vrtr02_5min_cpu_2284.rrd":5min_cpu:AVERAGE \
DEF:b="/var/lib/cacti/rra/cp1aqu-vrtr02_5min_cpu_2284.rrd":5min_cpu:MAX \
AREA:a#00BBB4FF:"CPU Usage" \
GPRINTLAST:"Current\:%8.0lf" \
GPRINTAVERAGE:"Average\:%8.0lf" \
GPRINTMAX:"Maximum\:%8.0lf"
Router that graph is showing up properly...
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=1228506462 \
--end=1228520862 \
--title="cp1aqu-vrtr01 - CPU Usage" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
COMMENT:"From 2008/12/05 14\:47\:42 To 2008/12/05 18\:47\:42\c" \
COMMENT:" \n" \
--vertical-label="percent" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:8: \
--font UNIT:8: \
DEF:a="/var/lib/cacti/rra/cp1aqu-vrtr01_5min_cpu_2280.rrd":5min_cpu:AVERAGE \
DEF:b="/var/lib/cacti/rra/cp1aqu-vrtr01_5min_cpu_2280.rrd":5min_cpu:MAX \
AREA:a#FF0000FF:"CPU Usage" \
GPRINTLAST:"Current\:%8.0lf" \
GPRINTAVERAGE:"Average\:%8.0lf" \
GPRINTMAX:"Maximum\:%8.0lf"
Router that graph is NOT showing up properly...
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=1228506431 \
--end=1228520831 \
--title="cp1aqu-vrtr02 - CPU Usage" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
COMMENT:"From 2008/12/05 14\:47\:11 To 2008/12/05 18\:47\:11\c" \
COMMENT:" \n" \
--vertical-label="percent" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:8: \
--font UNIT:8: \
DEF:a="/var/lib/cacti/rra/cp1aqu-vrtr02_5min_cpu_2284.rrd":5min_cpu:AVERAGE \
DEF:b="/var/lib/cacti/rra/cp1aqu-vrtr02_5min_cpu_2284.rrd":5min_cpu:MAX \
AREA:a#00BBB4FF:"CPU Usage" \
GPRINTLAST:"Current\:%8.0lf" \
GPRINTAVERAGE:"Average\:%8.0lf" \
GPRINTMAX:"Maximum\:%8.0lf"
Router that graph is showing up properly...
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=1228506462 \
--end=1228520862 \
--title="cp1aqu-vrtr01 - CPU Usage" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
COMMENT:"From 2008/12/05 14\:47\:42 To 2008/12/05 18\:47\:42\c" \
COMMENT:" \n" \
--vertical-label="percent" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:8: \
--font UNIT:8: \
DEF:a="/var/lib/cacti/rra/cp1aqu-vrtr01_5min_cpu_2280.rrd":5min_cpu:AVERAGE \
DEF:b="/var/lib/cacti/rra/cp1aqu-vrtr01_5min_cpu_2280.rrd":5min_cpu:MAX \
AREA:a#FF0000FF:"CPU Usage" \
GPRINTLAST:"Current\:%8.0lf" \
GPRINTAVERAGE:"Average\:%8.0lf" \
GPRINTMAX:"Maximum\:%8.0lf"
Re: CPU Graph shows Megs not %
That's not mega-, it's milli-.troycoulombe wrote:in what appears to be "megs"
as in::
800m
Eight hundred "millipercent", or something like that.
In other words, 0.8%, that is, slightly less than one percent.
Mega-'s symbol is actually M, capital.
HTH.
Who is online
Users browsing this forum: No registered users and 2 guests