[rrd-users] Re: Database does not update
    Alex van den Bogaerdt 
    alex at ergens.op.HET.NET
       
    Thu Apr 18 11:56:31 MEST 2002
    
    
  
Olivier Nicole wrote:
> 
> > >         my @datasources = ('DS:vir:GAUGE:600:0:U');
> > Updates 10 minutes apart will work, 10 minutes 1 second will not.
> 
> But I basically don't know whent I will be likely to update the data
> (hopefully not often as each data means an email received containing a
> virus).
So, either increase the heartbeat (quick workaround, not fool proof)
or update at least every hearbeat seconds (heartbeat 7200, update
each hour is probably good enough for this purpose).
If the current time is 12:00, tell rrdtool to update with 0 at 11:59:59.
This way you will not run into a update problem if mail is received
at the same time you do this update.
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