OpenWrt Forum Archive

Topic: rrdcollect broadcom 2.4 defect ?

The content of this topic has been archived on 19 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi !

I installed rrdcollect and rest on my wrt, but after linking rrdcollect to /etc/rc.d
i have this in logfile
Sep  1 11:47:07 (none) daemon.info rrdcollect[999]: We just started
Sep  1 11:47:07 (none) daemon.info rrdcollect[999]: Update method: print
Sep  1 11:47:07 (none) daemon.info rrdcollect[999]: Update method: pipe
Sep  1 11:47:07 (none) user.info : sh: -: not found

and there is no process running.

When i start it manually then i have to press ENTER after "sh: -: not found" then it's ok
the problem is not the start script its the rrdcollect binary when i start it direct i get the same.....
Is there a solution ?

BYe Gerd

pushup...

does really nobody know how to fix it nor where can i get a fixed package ?

Ciao Gerd

Works for me.

ipkg install rrdcollect rrdcollect-example rrdtool
/etc/init.d/rrdcollect start
Creating /var/lib/rrdcollect/rrd/SYS.rrd ...
Init storage for 24 hours on averages: 1 x 360 seconds (240 total values)
Init storage for 7 days on averages: 14 x 360 seconds (120 total values)
Init storage for 4 weeks on averages: 56 x 360 seconds (120 total values)
Creating /var/lib/rrdcollect/rrd/IF.rrd ...
Init storage for 24 hours on averages: 1 x 360 seconds (240 total values)
Init storage for 7 days on averages: 14 x 360 seconds (120 total values)
Init storage for 4 weeks on averages: 56 x 360 seconds (120 total values)
Updating /var/lib/rrdcollect/rrd.cgi and /var/lib/rrdcollect/img/*.def
root@OpenWrt:/#

To enable at boot:

/etc/init.d/rrdcollect enable
ps ax | grep rrdcollect
 1161 root        464 S   rrdcollect

The discussion might have continued from here.