hello, the linesays it all. Bash should not be installed in /bin. Are you sure you installed bash via ipkg? Because bash is an optional package and is not installed by default. Also if you want to properly display disk data you should install coreutils. Check this tutorial.Code:bash: ./rrdstorm.sh: /bin/bash: bad interpreter: No such file or directory
Short said:
Get rrdstorm.sh from http://wl500ginfo.pastebin.com/f789cf38a and edit ./rrdstorm.sh for proper grep functions in disk section
mnt should be changed to whatever you use for mount.Code:RRDuVAL[5]='
SP=$(/opt/bin/coreutils-df "-B1")
echo -n $(echo "$SP"|grep opt|awk "{print \$3\":\"\$2}"):
echo -n $(echo "$SP"|grep mnt|awk "{print \$3\":\"\$2}")
echo
'
In shell
Then edit crontabCode:ipkg install coreutils
ipkg install bash
ipkg install cron
bash rrdstorm.sh create 0 1 3 4 5 6
with these valuesCode:vi /opt/ect/crontab
and chmod itCode:*/1 * * * * admin bash /path to/rrdstorm.sh update 0 1 3 4 5 6
*/22 * * * * admin bash /path to/rrdstorm.sh graph_cron s 0 1 3 4 5 6
0 */1 * * * admin bash /path to/rrdstorm.sh graph_cron h 0 1 3 4 5 6
3 */6 * * * admin bash /path to/rrdstorm.sh graph 0 1 3 4 5 6
and this is pretty much it. Good luck!Code:chmod 0600 /opt/ect/crontab

