Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
Post general support questions here that do not specifically fall into the Linux or Windows categories.
Moderators: Developers , Moderators
jkukis
Posts: 29 Joined: Mon Sep 24, 2007 1:41 pm
Post
by jkukis » Thu Oct 18, 2007 10:20 am
Does anyone have any ideas what could cause this average on the graph to be so off? I'm getting averages of "873m" which makes no sense since it is a CPU Utilization %.
Here is the RRDTool output:
/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="sce - CPU Usage" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="" \
--slope-mode \
DEF:a="/var/www/html/cacti/rra/sce_sce1010_cpu_tp1_18384.rrd":sce1010_cpu_tp1:LAST \
DEF:b="/var/www/html/cacti/rra/sce_sce1010_cpu_tp1_18384.rrd":sce1010_cpu_tp1:AVERAGE \
DEF:c="/var/www/html/cacti/rra/sce_sce1010_cpu_tp2_18385.rrd":sce1010_cpu_tp2:LAST \
DEF:d="/var/www/html/cacti/rra/sce_sce1010_cpu_tp2_18385.rrd":sce1010_cpu_tp2:AVERAGE \
DEF:e="/var/www/html/cacti/rra/sce_sce1010_cpu_tp3_18386.rrd":sce1010_cpu_tp3:AVERAGE \
DEF:f="/var/www/html/cacti/rra/sce_sce1010_cpu_tp3_18386.rrd":sce1010_cpu_tp3:LAST \
LINE1:a#00aa00:"Traffic Processor 1" \
GPRINT
LAST:"Current\:%8.2lf %s" \
GPRINT
AVERAGE:"Average\:%8.2lf %s" \
GPRINT
MAX:"Max\:%8.2lf %s\n" \
AREA:c#4444FF:"Traffic Processor 2" \
GPRINT:c:LAST:"Current\:%8.2lf %s" \
GPRINT:d:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:e:MAX:"Max\:%8.2lf %s\n" \
LINE1:f#FF4105:"Traffic Processor 3" \
GPRINT:f:LAST:"Current\:%8.2lf %s" \
GPRINT:e:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:d:MAX:"Max\:%8.2lf %s\n"
Attachments
graph_image.php.png (50.07 KiB) Viewed 1943 times
jay
Cacti User
Posts: 390 Joined: Wed Aug 31, 2005 8:55 am
Location: Bristol, England
Post
by jay » Thu Oct 18, 2007 10:49 am
See
http://forums.cacti.net/viewtopic.php?t=8168 for meaning of m after your data.
Also is your base value within your graph template set to 1000 ??
Jay
Cacti Version 0.8.7e, Spine 0.8.7e, Apache 2.2.15, Mysql 5.0.88, PHP 5.2.13, RRDTool 1.2.30, NET-SNMP 5.5
Quad Core AMD Opteron Processor 2384, 2.70Ghz, 2GB RAM , 1 CPU used
Windows Server 2003 (X64), VMWARE ESX
Plugins: Aggregate 0.75
SYSTEM STATS: Time:12.5140 Method:spine Processes:2 Threads:15 Hosts:400 HostsPerProcess:200 DataSources:2909 RRDsProcessed:1384
jkukis
Posts: 29 Joined: Mon Sep 24, 2007 1:41 pm
Post
by jkukis » Thu Oct 18, 2007 1:53 pm
Base value is set to 1000, should it be?
Actually you are right, looking at the link you sent, the 'm' is milli not mega. And I expected the CPU of this device to be low, so it would be possible for the average to be .8% .
jay
Cacti User
Posts: 390 Joined: Wed Aug 31, 2005 8:55 am
Location: Bristol, England
Post
by jay » Fri Oct 19, 2007 4:21 am
Base value should be set to 1000 for CPU usage.
Jay
Cacti Version 0.8.7e, Spine 0.8.7e, Apache 2.2.15, Mysql 5.0.88, PHP 5.2.13, RRDTool 1.2.30, NET-SNMP 5.5
Quad Core AMD Opteron Processor 2384, 2.70Ghz, 2GB RAM , 1 CPU used
Windows Server 2003 (X64), VMWARE ESX
Plugins: Aggregate 0.75
SYSTEM STATS: Time:12.5140 Method:spine Processes:2 Threads:15 Hosts:400 HostsPerProcess:200 DataSources:2909 RRDsProcessed:1384
Users browsing this forum: No registered users and 2 guests