[rrd-users] Not correct numbers in db

2007-08-13 Thread vladoportos
Hi all, i made a graph which show online users and getting data from mysql and so on... but when i look on what data are feeded to rrd they look like this: 58 38 and in rrd it looks like this: 1182109560: 5.80e+01 3.7985531650e+01 But in graph last values are 58 (OK) and second one is

[rrd-users] Not corect numbers in rrd ?

2007-06-17 Thread VladoPortos
Hi all, i made a graph which show online users and getting data from mysql and so on... but when i look on what data are feeded to rrd they look like this: 58 38 and in rrd it looks like this: 1182109560: 5.80e+01 3.7985531650e+01 But in graph last values are 58 (OK) and second one is

[rrd-users] Python, rrdtool on gentoo

2007-05-14 Thread VladoPortos
Hi all, im curious if somebody run into similar problem as me. net-analyzer/rrdtool 1.2.15-r3 py-rrdtool 1.0_beta1 Python 2.4.3 GCC 3.4.6 (Gentoo 3.4.6-r2, ssp-3.4.6-1.0, pie-8.7.10 I installed rrdtool without a problem, and also its running fine when using ssh scripts or other methods... but i

[rrd-users] Are there real numbers ?

2007-05-13 Thread VladoPortos
Hi all, im playing with rrd tool and its realy great tool, but i noticed when i put data to database and fetch them back it give back it like this: 1179099300: 3.9988849010e+00 1.9994424505e+00 1179099600: 4.00e+00 2.00e+00 1179099900: 4.00e+00 2.00e+00 1179100200

[rrd-users] Re: two sh scripts

2006-09-08 Thread VladoPortos
Heh you been bouth right that hearth beat was 60sec and if it was at 61sec it made it as nan so i changet it to GAUGE:90:0:80 and it working flawlesly... Many many thanks -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://lists.ee.ethz.ch/rrd-users We

[rrd-users] Re: two sh scripts

2006-09-08 Thread VladoPortos
Log is OK but rrd db is not 1157704800: 6.2166993070e+05 0.00e+00 1157704860: 6.6913503851e+05 0.00e+00 1157704920: 6.2442167140e+05 0.00e+00 1157704980: 6.6906365205e+05 0.00e+00 1157705040: 6.2303309434e+05 0.00e+00 1157705100: 0.00e+00 0.0

[rrd-users] Re: two sh scripts

2006-09-08 Thread VladoPortos
So i checked output to txt files eg. 1157702701 31.0 45.5 35.5 1157702761 30.0 44.0 35.5 1157702821 30.0 44.0 35.5 1157702881 30.0 44.0 35.5 1157702941 30.0 44.0 35.5 1157703001 30.0 44.0 35.5 1157703061 30.0 44.5 35.5 1157703121 30.0 44.5 35.5 1157703181 30.0 44.5 35.5 1157703241 30.0 46.0 35.5

[rrd-users] Re: two sh scripts

2006-09-08 Thread VladoPortos
Hmmm i trie that with logging output to txt file... and changed cron setting to * * * * * also fixed that link for http://vladoportos.bancodata.eu/test.txt -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://lists.ee.ethz.ch/rrd-users WebAdminhttp:

[rrd-users] Re: two sh scripts

2006-09-07 Thread VladoPortos
Hmm there is no load on server this two script are basicly only thing running there ( its test server soly for thistesting there is nothing which use more that 2% of cpu) P4 3Ghz and 1.5GB ram... Scripts are here http://vladoportos.bancodata.eu/ram.txt - show free ram http://vladoportos.bancoda

[rrd-users] two sh scripts

2006-09-07 Thread VladoPortos
Hi i have kind of strange problem, I made two shell scripts. One generate temperatures greped from sensors and second generate RAM usage greped from /proc/meminfo... bouth work fne when it runn solo But when i put them to cron, each is runned every 60 sec they seems to "fight" somethime th

[rrd-users] Simple shell script nor working properly

2006-09-06 Thread VladoPortos
I learning rddtools and done simple shell script, it works fine when i runn it form shell but when i put it to runn as cron job it want put data in db :( here is the script: #! /bin/sh #-# TIMESTAMP=`date +%s`; ZACIATOK=$(($TIMESTAMP-10)); KONIEC=$((