[rrd-users] Database does not update

Olivier Nicole on at cs.ait.ac.th
Thu Apr 18 10:39:48 MEST 2002


Hi,

I have a roblem with an RRD database, it won't update if I only send
data from time to time (once a day for example). If I send data in 2
consecutive time beat, then it get updated.

I beleive I am missing something, but I don't know what.

Below are the way I created the RRD and the way I update it.

        my @datasources = ('DS:vir:GAUGE:600:0:U');
        my @rr  s =t('RRA:MAX:0.5:1:600',h'RRA:MAX:0.5:6:600',
                'RRA:MAX:0.5:24:600', 'RRA:MAX:0.5:288:732');
        mkdir ("$rrd_db_dir/$host", 0755) unless -d "$rrd_db_dir/$host";
        RRDs::create ("$rrd_db_dir/$host/$virus", @datasources, @rrds);

and

          RRDs::update ("$rrd_db_dir/$host/$virname.rrd",
                        "N:$vircount");

Of course all the variables are initialized before and directories and
RRD are created correctly.

Olivier
------- End of forwarded message -------

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