[rrd-users] Graphing Real Values

Martin Rheumer martinr at hotkey.net.au
Thu Nov 28 09:06:41 MET 2002

Now I know this has been asked before so apologies.

I have created my first RRD Tool Database and
trying to graph it.. The trouble is it keeps averaging.

I am trying to monitor a mib every 15 seonds and graph.
Have all the monitoring running perfectly.
Created an RRA like this.

/usr/local/mrtg/bin/rrdtool create 001.rrd --step 20 \
DS:set:GAUGE:300:0:10 DS:get:GAUGE:300:0:10 RRA:LAST:0.5:1:10000

Then updated values like this.

/usr/local/mrtg/bin/rrdtool update 001.rrd N:$snmp_set:$snmp_get

Works perfectly.

                        <!-- 2002-11-28 09:48:40 EST / 1038437320 -->
<row><v> 2.0000000000e+00 </v><v> 2.0000000000e+00 </v></row>
                        <!-- 2002-11-28 09:49:00 EST / 1038437340 -->
<row><v> 2.0000000000e+00 </v><v> 2.0000000000e+00 </v></row>
                        <!-- 2002-11-28 09:49:20 EST / 1038437360 -->
<row><v> 2.0000000000e+00 </v><v> 1.9000000000e+00 </v></row>
                        <!-- 2002-11-28 09:49:40 EST / 1038437380 -->
<row><v> 2.0000000000e+00 </v><v> 1.9750000000e+00 </v></row>


It returned a 1 where it says 1.900 and a 1 where is says 1.975

Can anyone lend a hint where I went wrong.
My monitoring scripts report 0 - 9 and thats what I need to graph.

Help much appreciated.


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://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

More information about the rrd-users mailing list