![]() |
./rrdgraph_install.sh ?
Hi Gary and George
Followed the guide at http://www.litespeedtech.com/support...aph_monitoring for WHM/Cpanel based Litespeed 4.1.9 VPS and seem to get an error maybe to do with different rrdtool install/location ? WHM/Cpanel rrdtool install Code:
/scripts/rrdtoolinstallCode:
/usr/local/lsws/fcgi-bin/lsphp5 /path/to/ls_stats/update.phpCode:
/usr/local/lsws/fcgi-bin/lsphp5 /path/to/ls_stats/update.phpCode:
/usr/local/cpanel/3rdparty/bin/rrdtool -V |
please try:
modify /path/to/ls_stats/config/main.php 'rrdtool' => '/usr/bin/rrdtool', to 'rrdtool' => '/usr/local/cpanel/3rdparty/bin/rrdtool', |
thanks working and much easier than cacti!
Code:
#!/usr/bin/php |
Seems getting CRON emails every minute now.. there's a logger_mail.class.php so how to disable emails ?
|
thanks. please try:
modify /path/to/ls_stats/config/log.php 'logger' => new logger_syslog(), to 'logger' => new logger_file("/tmp/rrdtool.log"), |
tried that but seems still sending emails and the log is empty
there seems to be a log.php.000 and log.php.001 file too ? |
will delete those 2 files in package
please check if file /tmp/rrdtool.log is writable -- it will be updated by cron job. |
chmod 0666 /tmp/rrdtool.log
didn't help still sending emails |
Code:
Seems getting CRON emails every minute nowit looks your cron job send out email once the rrdgraph job runs(it runs once / 1 minute). it may relate to your linux's setting. no email ever received per our tests. |
strange i have several other custom cron jobs added and not one of them sends out email themselves.. will double check
|
| All times are GMT -7. The time now is 05:01 AM. |