==== What Is It? ==== ---- rrdgraph add-on is introduced from 4.1.9. RRDtool is the OpenSource industry standard, high performance data logging and graphing system for time series data. Serverstats is a simple tool(in PHP) for creating graphs using rrdtool. This add-on is Serverstats configured for litespeed. it can save years' real-time stats data of litespeed server and disply them in rrd graph at any time. ==== How To Install ==== ---- if your lsws is installed at /usr/local/lsws, to install the add-on: #cd /usr/local/lsws/add-ons/rrdgraph #./rrdgraph_install.sh then follow the instruction ... and that's it! ==== Notes ==== ---- * **rrdtool PATH** the php script assume rrdtool installed at /usr/bin/rrdtool, if your rrdtool installed in other location, for example /usr/local/cpanel/3rdparty/bin/rrdtool, please modify ls_stats/config/main.php, change 'rrdtool' => '/usr/bin/rrdtool', to 'rrdtool' => '/usr/local/cpanel/3rdparty/bin/rrdtool', * **change log method of cron job** default method is using syslog, you can change to other by modify ls_stats/config/log.php * **receving lots of emails from cron job** if the original cron job is: * * * * * /path/to/lsphp5 /path/to/ls_stats/update.php change to * * * * * /path/to/lsphp5 /path/to/ls_stats/update.php >/dev/null is recommended. this will redirect STDOUT only to /dev/null, but not STDERR. so if there is any error message to STDERR, e.g., "/path/to/lsphp5" is deleted for some reason, you'll receive an warning email from logwatch.