[rrd-users] magnitude problems (magnitude crazy)
Robert Reilly
robertjreilly at gmail.com
Sun Jul 31 14:04:14 MEST 2005
All,
I was having problems sending this from work so here it is
again I am having problems getting the, what i think is referred to as
the "SI Magnitude" to scale properly on the y axis. no matter what
math i use in the CDEF i can not get it right, I am new to rrdtool so
it may be simple. I have attached a copy of the 1 hour graph and I
think all the details below.
Thanks,
Robert
I get data from nagios at 5 min intervals and insert it into the rrd
using the following command from perl
rrdtool update /opt/nagios/reports/db/nagios-load.rrd N:$data`||die
print "unable to $!\n";
command being run:
:executing: rrdtool update /opt/nagios/reports/db/nagios_load.rrd N:0.000000
:executing: rrdtool update /opt/nagios/reports/db/nagios_load.rrd N:0.040000
:executing: rrdtool update /opt/nagios/reports/db/nagios_load.rrd N:0.000000
:executing: rrdtool update /opt/nagios/reports/db/nagios_load.rrd N:0.020000
:executing: rrdtool update /opt/nagios/reports/db/nagios_load.rrd N:0.000000
:executing: rrdtool update /opt/nagios/reports/db/nagios_load.rrd N:0.240000
:executing: rrdtool update /opt/nagios/reports/db/nagios_load.rrd N:0.130000
:executing: rrdtool update /opt/nagios/reports/db/nagios_load.rrd N:0.000000
:executing: rrdtool update /opt/nagios/reports/db/nagios_load.rrd N:0.000000
:executing: rrdtool update /opt/nagios/reports/db/nagios_load.rrd N:0.000000
:executing: rrdtool update /opt/nagios/reports/db/nagios_load.rrd N:0.000000
:executing: rrdtool update /opt/nagios/reports/db/nagios_load.rrd N:0.060000
:executing: rrdtool update /opt/nagios/reports/db/nagios_load.rrd N:0.010000
:executing: rrdtool update /opt/nagios/reports/db/nagios_load.rrd N:0.000000
:executing: rrdtool update /opt/nagios/reports/db/nagios_load.rrd N:0.020000
:executing: rrdtool update /opt/nagios/reports/db/nagios_load.rrd N:0.020000
:executing: rrdtool update /opt/nagios/reports/db/nagios_load.rrd N:0.210000
:executing: rrdtool update /opt/nagios/reports/db/nagios_load.rrd N:0.010000
I use this rrdgraph command to, well create the graph and extract the
data out of the rrd. I have tried various calculations to get the Y
access show up correctly should be some thing like .01.05 .5 .9 maybe
1.0 or 1.5. but I can not get there. With the attached graph it's
close and maybe it's just formatting, should .02 instead of 2.
/usr/bin/rrdtool graph /opt/nagios/reports/docs/nagios-load-hourly.png -w 640 -h
140 --title "Nagios - hourly" -s -1hour DEF:perfdata=/opt/nagios/reports/db/nag
ios-load.rrd:perfdata:AVERAGE "CDEF:load=perfdata,3000,/" AREA:load#33cc00 LIN
E1:load#000099 --vertical-label "CPU Load"
I hope these details help.. maybe I just need to truncate my data to 2
decimal places ? I appreciate any help that can be provided..
Cheers,
Robert Reilly
--
<><><><><><><><><><><><><><><><>
<>Robert J. Reilly
<>UNIX Systems Engineer
<><><><><><><><><><><><><><><><>
-- Attached file removed by Ecartis and put at URL below --
-- Type: application/x-gzip
-- Size: 22k (23499 bytes)
-- URL : http://lists.ee.ethz.ch/p/nagios-load-daily.png.gz
--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive http://lists.ee.ethz.ch/rrd-users
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
More information about the rrd-users
mailing list