[rrd-users] now the second update sets all values to 0

Mathias Koerber mathias at koerber.org
Thu Dec 13 11:16:01 MET 2001


As follow-up to my earlier mail (which hasn't shown up, I get the digests
only) titled "Beginner problems".

I now use cron to try and update the .rrd file regularly, but find
that the *first* update after the create nicely fills in the correct values,
but from the second update onwards, all values are 0?

There must be something fundamentally wrong, but I can't figure out what
that could be:


# rrdtool dump lm* | less
<!-- Round Robin Database Dump -->
<rrd>
        <version> 0001 </version>
        <step> 300 </step> <!-- Seconds -->
        <lastupdate> 1008238500 </lastupdate> <!-- 2001-12-13 18:15:00
SGT -->

        <ds>
                <name> vcore1 </name>
                <type> GAUGE </type>
                <minimal_heartbeat> 600 </minimal_heartbeat>
                <min> NaN </min>
                <max> NaN </max>

                <!-- PDP Status -->
                <last_ds> UNKN </last_ds>
                <value> 0.0000000000e+00 </value>
                <unknown_sec> 0 </unknown_sec>
        </ds>

        <ds>
                <name> vcore2 </name>
                <type> GAUGE </type>
                <minimal_heartbeat> 600 </minimal_heartbeat>
                <min> NaN </min>
                <max> NaN </max>

                <!-- PDP Status -->
                <last_ds> UNKN </last_ds>
                <value> 0.0000000000e+00 </value>
                <unknown_sec> 0 </unknown_sec>
        </ds>

My script writes the updates into a separate logfile (the script has nolt
substantially
changed from what I listed in the last mail. I just added logging of the
time() too):


temp2:temp3:vid:3p3v:vcore1:fan1:12v:vcore2:fan2:5v:m12v:temp1:m5v
1008236701
43.1:112.2:1.85:3.34:1.79:7500:12.20:0.09:5625:5.07:-9.21:36.0:-2.98

temp2:temp3:vid:3p3v:vcore1:fan1:12v:vcore2:fan2:5v:m12v:temp1:m5v
1008237000
43.1:112.2:1.85:3.34:1.79:6887:12.20:0.09:5625:5.04:-10.40:36.0:-3.75

temp2:temp3:vid:3p3v:vcore1:fan1:12v:vcore2:fan2:5v:m12v:temp1:m5v
1008237300
43.1:112.2:1.85:3.34:1.79:7500:12.20:0.09:5625:5.04:-10.40:36.0:-3.78

temp2:temp3:vid:3p3v:vcore1:fan1:12v:vcore2:fan2:5v:m12v:temp1:m5v
1008237600
43.1:112.2:1.85:3.34:1.79:7500:12.20:0.09:5625:5.04:-9.28:36.0:-3.02

temp2:temp3:vid:3p3v:vcore1:fan1:12v:vcore2:fan2:5v:m12v:temp1:m5v
1008237900
43.5:112.2:1.85:3.34:1.79:6887:12.20:0.09:5625:5.04:-9.94:36.0:-3.31

temp2:temp3:vid:3p3v:vcore1:fan1:12v:vcore2:fan2:5v:m12v:temp1:m5v
1008238200
43.1:112.2:1.85:3.34:1.79:7417:12.20:0.09:5625:5.07:-8.62:36.0:-3.94

temp2:temp3:vid:3p3v:vcore1:fan1:12v:vcore2:fan2:5v:m12v:temp1:m5v
1008238500
43.1:112.2:1.85:3.34:1.79:7500:12.20:0.09:5625:5.04:-9.21:36.0:-2.98

temp2:temp3:vid:3p3v:vcore1:fan1:12v:vcore2:fan2:5v:m12v:temp1:m5v
1008238800
43.1:112.2:1.85:3.34:1.79:6887:12.16:0.09:5625:5.04:-10.40:36.0:-3.78

Help Please

--
Mathias Körber     |2385 Bay Road  |Tel:+1-650-381.6044|Fax:+1-650-381.6055
Sr. Consult. Engr. |Redwood City   |Direct Fax/Voicemail:+1-240-368.1170
Nominum, Inc.      |CA 94063, USA  |Private: Mobile:+65-9815.7807
mathias at nominum.com|www.nominum.com|E:mathias at koerber.org|Fax/Vmail:+1-801-6
50.9591


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