is still not working, only the weekly is updated but thats it.
removed rrdrun.sh now nothing is working anymore.
Printable View
This is the rrdlog:
not updated anymore after i removed rrdrun.shCode:rddtool.sh started at Thu Jan 25 10:30:01 MET 2007
LOAD: 0.00
MEM -> USED: 10604544, CACHE: 16252928, FREE: 3973120
SWAP -> USED: 327680, FREE: 345124864
Updating Network Load Databases...
WAN -> in: 9566949 out: 1414566
LAN -> in: 1662314 out: 13726954
WLAN -> in: 0 out: 0
Network Daily Graphs creating.....
647x347
647x347
647x347
rddtool.sh finished at Thu Jan 25 10:31:04 MET 2007
<------------------------------------------------------------->
rddtool.sh started at Thu Jan 25 10:35:01 MET 2007
LOAD: 0.03
MEM -> USED: 10989568, CACHE: 16527360, FREE: 3313664
SWAP -> USED: 323584, FREE: 345128960
Updating Network Load Databases...
WAN -> in: 80345046 out: 4113369
LAN -> in: 3969596 out: 85482804
WLAN -> in: 0 out: 0
rddtool.sh finished at Thu Jan 25 10:35:03 MET 2007
<------------------------------------------------------------->
and this is my syslog:
its very strange:(Code:Jan 25 15:09:57 ntp client: Synchronizing time with time.nist.gov ...
Jan 25 15:10:03 /opt/sbin/cron[1051]: (root) CMD (run-parts /opt/etc/cron.5mins ^M)
Jan 25 15:10:03 /opt/sbin/cron[1052]: (root) CMD (nice /opt/bin/rrdtool.sh >> /opt/var/log/rrdtool.log 2>&1^M)
Jan 25 15:11:01 /opt/sbin/cron[1059]: (root) CMD (nice /opt/bin/rrdtool.sh >> /opt/var/log/rrdtool.log 2>&1^M)
Jan 25 15:12:01 /opt/sbin/cron[1061]: (root) CMD (nice /opt/bin/rrdtool.sh >> /opt/var/log/rrdtool.log 2>&1^M)
Jan 25 15:13:01 /opt/sbin/cron[1063]: (root) CMD (nice /opt/bin/rrdtool.sh >> /opt/var/log/rrdtool.log 2>&1^M)
Jan 25 15:14:01 /opt/sbin/cron[1065]: (root) CMD (nice /opt/bin/rrdtool.sh >> /opt/var/log/rrdtool.log 2>&1^M)
Jan 25 15:15:01 /opt/sbin/cron[1068]: (root) CMD (run-parts /opt/etc/cron.5mins ^M)
Jan 25 15:15:02 /opt/sbin/cron[1069]: (root) CMD (nice /opt/bin/rrdtool.sh >> /opt/var/log/rrdtool.log 2>&1^M)
Jan 25 15:16:01 /opt/sbin/cron[1076]: (root) CMD (nice /opt/bin/rrdtool.sh >> /opt/var/log/rrdtool.log 2>&1^M)
Jan 25 15:17:01 /opt/sbin/cron[1078]: (root) CMD (nice /opt/bin/rrdtool.sh >> /opt/var/log/rrdtool.log 2>&1^M)
Jan 25 15:18:01 /opt/sbin/cron[1080]: (root) CMD (nice /opt/bin/rrdtool.sh >> /opt/var/log/rrdtool.log 2>&1^M)
Jan 25 15:19:01 /opt/sbin/cron[1082]: (root) CMD (nice /opt/bin/rrdtool.sh >> /opt/var/log/rrdtool.log 2>&1^M)
Jan 25 15:20:01 /opt/sbin/cron[1085]: (root) CMD (run-parts /opt/etc/cron.5mins ^M)
Jan 25 15:20:01 /opt/sbin/cron[1086]: (root) CMD (nice /opt/bin/rrdtool.sh >> /opt/var/log/rrdtool.log 2>&1^M)
Jan 25 15:21:01 /opt/sbin/cron[1093]: (root) CMD (nice /opt/bin/rrdtool.sh >> /opt/var/log/rrdtool.log 2>&1^M)
Jan 25 15:22:01 /opt/sbin/cron[1095]: (root) CMD (nice /opt/bin/rrdtool.sh >> /opt/var/log/rrdtool.log 2>&1^M)
Jan 25 15:23:01 /opt/sbin/cron[1097]: (root) CMD (nice /opt/bin/rrdtool.sh >> /opt/var/log/rrdtool.log 2>&1^M)
Jan 25 15:24:01 /opt/sbin/cron[1099]: (root) CMD (nice /opt/bin/rrdtool.sh >> /opt/var/log/rrdtool.log 2>&1^M)
Jan 25 15:25:01 /opt/sbin/cron[1102]: (root) CMD (run-parts /opt/etc/cron.5mins ^M)
Jan 25 15:25:01 /opt/sbin/cron[1103]: (root) CMD (nice /opt/bin/rrdtool.sh >> /opt/var/log/rrdtool.log 2>&1^M)
Jan 25 15:26:01 /opt/sbin/cron[1110]: (root) CMD (nice /opt/bin/rrdtool.sh >> /opt/var/log/rrdtool.log 2>&1^M)
Could you post here the content of the rrdrun.sh script? There is probably wrong path to rrdtool.sh in cron.
To check use:
The path in crontab must be changed to be the same.Code:[maros@wl-500gp root]$ type rrdtool.sh
rrdtool.sh is /opt/bin/rrdtool.sh
[maros@wl-500gp root]$
Can anyone point me to a rrdtool 1.0.50 ipk file, the one that doesn't freeze when rendering certain graphics? All the repositories I've seen seem to include only recent versions.
Install http://wl500g.dyndns.org/7g/ and then try again
Oleg's firmware 1.9.2.7-7g-pre1 seems to make rrdtool work much better. I'm generating 7 different graphics in about 50 seconds, and no more hang up rrdtool's left behind. See this if you're willing to give 7g-pre1 a spin.
Ah, that's better. See here:
http://wl500g.info/showpost.php?p=47431&postcount=52
I try understand how rrdcollect works.
I created a rrd base via rrdtool.
than i run rrdcollect with default config file.Code:rrdtool create eth0.rrd \
DS:bytes_in:DERIVE:600:0:12500000 \
DS:bytes_out:DERIVE:600:0:12500000 \
DS:pkts_in:DERIVE:600:0:12500000 \
DS:pkts_out:DERIVE:600:0:12500000 \
RRA:AVERAGE:0.5:1:576 \
RRA:AVERAGE:0.5:6:672 \
RRA:AVERAGE:0.5:24:732 \
RRA:AVERAGE:0.5:144:1460
So, it`s update rrdbase every minute, but the value is "NAN".Code:...
# Net: statistics
#file:///proc/net/dev
" eth0: %d %d %*d %*d %*d %*d %*d %*d %d %d" eth0.rrd:bytes_in,pkts_in,bytes_out, pkts_out
...
I use Oleg's firmware 1.9.2.7-7g-pre1 as recommended.
FWIW, you've set up the database for a step of 5 minutes. You need the -s parameter to rrdtool create, and the default is 300 seconds. Otherwise, the database definition looks good, so you can rule that out.
Why rrdcollect? I prefer rrdupdate, and collect the numbers myself, this way I can see what's going on. Perhaps you're not getting the numbers you think you are. Or maybe it doesn't run once a minute like you think it is.
And then there's the graph where you could go wrong. How did you define that?