[rrd-users] Re: not updating

Alex van den Bogaerdt alex at slot.hollandcasino.nl
Fri Jun 14 19:06:03 MEST 2002


Michael Gargiullo wrote:

> CREATE:
> /usr/local/rrdtool-1.0.38/bin/rrdtool create cmts1.rrd
> DS:Modems-Up:GAUGE:600:U:U:U RRA:AVERAGE:0.5:1:288 RRA:AVERAGE:0.5:288:7

One RRD with just one DS

[script
  counts number of instances in oid 1.3.6.1.2.1.10.12.3.3.1.9 on each
  of these devices: stjoe, paramus, artesia, cambridge

  stjoe and cambridge are summed into minn

  In one call do three updates to the same database:
      update $time:$minn
      update $time:$paramus
      update $time:$artesia
]

If you call this script a few times 300 seconds apart (!) then I expect
the following to happen:
 - the database is updated with the sum of stjoe and cambridge
 - the program gives an error because it cannot update again using
   the value from paramus
 - the program gives an error because it cannot update again using
   the value from artesia

So I guess it never worked at all and you are currently not doing
enough updates to actually see the $minn values appearing in the RRD.

HTH
-- 
   __________________________________________________________________
 / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
| work                                                         private |
| My employer is capable of speaking therefore I speak only for myself |
+----------------------------------------------------------------------+
| Technical questions sent directly to me will be nuked. Use the list. | 
+----------------------------------------------------------------------+
| http://faq.mrtg.org/                                                 |
| http://rrdtool.eu.org  --> tutorial                                  |
+----------------------------------------------------------------------+

--
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