Hello all!

        I'm trying to play with RRDs, trying to do a script that saves the
load average of my machine. I create the file with:

     RRDs::create ("$workdir/$rrd", "--step","$update",
        "DS:load:GAUGE:864:U:U",
        "RRA:AVERAGE:0.5:1:864",
        "RRA:MIN:0.5:1:864",
        "RRA:MAX:0.5:1:864",
        "RRA:LAST:0.5:1:864");

        So, as far I understand, with one only value, I must see some
information when I request it:


        RRDs::update ("$workdir/$rrd","N:$load");

        But, unfortunately:

ds[load].min = NaN
ds[load].max = NaN
ds[load].last_ds = "UNKN"

        I am missing something. I don't understand what xff (xfiles
factor) means (I've tried with several values).

        Can you help me, please?

        Thanks in advance,
                Carlos.



 _______Carlos Costa Portela_________________________________________________
| e-mail:  [EMAIL PROTECTED] | home page: http://casa.ccp.servidores.net |
|_____Tódalas persoas maiores foron nenos antes, pero poucas se lembran______|

--
Unsubscribe mailto:[EMAIL PROTECTED]
Help        mailto:[EMAIL PROTECTED]
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

Reply via email to