[rrd-users] getting crasy updat is not running

Steve Shipway s.shipway at auckland.ac.nz
Thu Jan 20 02:14:07 CET 2011


Looking at your config, I see your smallest RRA has  1cdp=2dp - so maybe you should run TWO updates with at least 60s between them before you see a new cdp appear in the RRA?

Steve

________________________________
Steve Shipway
ITS Unix Services Design Lead
University of Auckland, New Zealand
Floor 1, 58 Symonds Street, Auckland
Phone: +64 (0)9 3737599 ext 86487
DDI: +64 (0)9 924 6487
Mobile: +64 (0)21 753 189
Email: s.shipway at auckland.ac.nz<mailto:s.shipway at auckland.ac.nz>
P Please consider the environment before printing this e-mail


From: rrd-users-bounces+s.shipway=auckland.ac.nz at lists.oetiker.ch [mailto:rrd-users-bounces+s.shipway=auckland.ac.nz at lists.oetiker.ch] On Behalf Of Marc
Sent: Thursday, 20 January 2011 11:27 a.m.
To: rrd-users at lists.oetiker.ch
Subject: [rrd-users] getting crasy updat is not running

Hi I am having several php scripts running.  1 year without any problems. Now I created an adon with thom new rrd. Databases.

$command ='usr/bin/rrdtool create /var/rrd/data/B6000801CA34E0.rrd '.
                               '--step 60 '.                                        // -s indicates the time between updates in sec.
                               'DS:tmp:GAUGE:120:-20:110 '.
                               'RRA:AVERAGE:0.5:2:4320 '.                                       // 2 minuten 6 Tage
                               'RRA:AVERAGE:0.5:6:2016 '.                                       // 6 minuten 8 tage 9 stunden
                               'RRA:AVERAGE:0.5:60:1900 '.                                    // 1 stunde 2 monate 18 tage
                               'RRA:AVERAGE:0.5:720:1488 '.                                  // 12 stunden 2 jahre
                               'RRA:MAX:0.5:2:2016 '.                                                // MAX
                               'RRA:MAX:0.5:6:2016 '.
                               'RRA:MAX:0.5:60:1900 '.
                               'RRA:MAX:0.5:720:1488 '.
                               'RRA:MIN:0.5:2:2016 '.                                                 // MIN
                               'RRA:MIN:0.5:6:2016 '.
                               'RRA:MIN:0.5:60:1900 '.
                               'RRA:MIN:0.5:720:1488';
shell_exec($command);

That's running fine, rrd is created.
Now I am trying to update the database

$daten =99
shell_exec('/usr/bin/rrdtool update /var/rrd/data/B6000801CA34E0.rrd N:'.$daten);
No go !

shell_exec('/usr/bin/rrdtool update /var/rrd/data/B6000801CA34E0.rrd N:98');
No go!

on command promp
/usr/bin/rrdtool update /var/rrd/data/B6000801CA34E0.rrd N:97'


No error or anything.
I made a dump to see if datas are running into the rrd database, but there are only NaN entry's.
Can anyone give me a hint why it is not running or what my error is?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20110120/abf5ed6a/attachment.htm 


More information about the rrd-users mailing list