Installing smartcrl web browser monitoring for PowerPC models
From SynologyWiki
Smartcontrol and rrdtool together will allow you to monitor your system memory, swap file, system disk, drive volumes, and other system information all throw your web browser.
- Download this file to your desktop.
- Make a folder called monit in the public folder of the Synology box and unrar the file to it.
- Telnet/SSH in your Synology box and type the following:
- ipkg install rrdtool
- ipkg install smartcrl
- Make a folder called monitor in your Synology box web folder: type: mkdir /volume1/web/monitor
- Copy the style.css file to the monitor folder, type: cp /volume1/public/monit/style.css /volume1/web/monitor
- Give appropriate permissions to monitor folder, type: chmod 755 /volume1/web/monitor
- Copy the monitor script file to /opt/bin type: cp /volume1/public/monit/monitor /opt/bin
- Now make the monitor file an executable, type: chmod 755 /opt/bin/monitor
- You need to now edit the crontab file located in /etc type: vi /etc/Crontab
- Add this line to the file:
*/5 * * * * root sh /opt/bin/monitor update note : 5 = CONF_UPADTE_TIME / 60
- Now you need to restart crond, type:
/usr/syno/etc.defaults/rc.d/S04crond.sh stop /usr/syno/etc.defaults/rc.d/S04crond.sh start
- You can now delete the monit folder in the public folder, type: rm –r /volume1/public/monit
- You can now access your system information by typing in: http://YOUR_SYNO/monitor/index.php in your web browser.
- Be patient it might take a few minutes for the index.php file to be created.
- A file called monitor.rrd should have been created in /etc this is where the script will save the different values.
