Cisco CPU Graphs
Moderators: Developers, Moderators
Cisco CPU Graphs
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.
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.
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" \
GPRINTLAST:"Current\:%8.0lf" \
GPRINTAVERAGE:"Average\:%8.0lf" \
GPRINTMAX:"Maximum\:%8.0lf"
RRDTool Says:
OK
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" \
GPRINTLAST:"Current\:%8.0lf" \
GPRINTAVERAGE:"Average\:%8.0lf" \
GPRINTMAX:"Maximum\:%8.0lf"
RRDTool Says:
OK
- Attachments
-
- untitled.JPG (20.75 KiB) Viewed 1426 times
Who is online
Users browsing this forum: No registered users and 0 guests