LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > ./rrdgraph_install.sh ?

Reply
 
Thread Tools Display Modes
  #1  
Old 12-21-2011, 12:42 AM
eva2000 eva2000 is offline
Senior Member
 
Join Date: Dec 2004
Location: Brisbane, Australia
Posts: 142
Question ./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/rrdtoolinstall
RRDtool 1.4.5 is up to date.
If i manually run the command

Code:
/usr/local/lsws/fcgi-bin/lsphp5 /path/to/ls_stats/update.php
get errors

Code:
/usr/local/lsws/fcgi-bin/lsphp5 /path/to/ls_stats/update.php
#!/usr/bin/php
Working on cpu
Error:
exception 'Exception' with message 'rrdtool version check failed!' in /path/to/ls_stats/includes/rrd.class.php:478
Stack trace:
#0 /path/to/ls_stats/update.php(83): rrd->checkVersion('<', '1.2')
#1 {main}
Working on load
Error:
exception 'Exception' with message 'rrdtool version check failed!' in /path/to/ls_stats/includes/rrd.class.php:478
Stack trace:
#0 /path/to/ls_stats/update.php(83): rrd->checkVersion('<', '1.2')
#1 {main}
Working on memory
Error:
exception 'Exception' with message 'rrdtool version check failed!' in /path/to/ls_stats/includes/rrd.class.php:478
Stack trace:
#0 /path/to/ls_stats/update.php(83): rrd->checkVersion('<', '1.2')
#1 {main}
Working on lsws_stats
Error:
exception 'Exception' with message 'rrdtool version check failed!' in /path/to/ls_stats/includes/rrd.class.php:478
Stack trace:
#0 /path/to/ls_stats/update.php(83): rrd->checkVersion('<', '1.2')
#1 {main}
My version of rrdtool

Code:
/usr/local/cpanel/3rdparty/bin/rrdtool -V
RRDtool 1.4.5  Copyright 1997-2010 by Tobias Oetiker <tobi@oetiker.ch>
               Compiled Jun  1 2011 16:45:36
Reply With Quote
  #2  
Old 12-21-2011, 12:51 AM
NiteWave NiteWave is online now
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,226
please try:

modify
/path/to/ls_stats/config/main.php
'rrdtool' => '/usr/bin/rrdtool',
to
'rrdtool' => '/usr/local/cpanel/3rdparty/bin/rrdtool',
Reply With Quote
  #3  
Old 12-21-2011, 01:26 AM
eva2000 eva2000 is offline
Senior Member
 
Join Date: Dec 2004
Location: Brisbane, Australia
Posts: 142
thanks working and much easier than cacti!

Code:
#!/usr/bin/php
Working on cpu
        Creating RRD-file
        Updating RRD-file
Working on load
        Creating RRD-file
        Updating RRD-file
Working on memory
        Creating RRD-file
        Updating RRD-file
Working on lsws_stats
        Creating RRD-file
        Updating RRD-file
Reply With Quote
  #4  
Old 12-21-2011, 01:35 AM
eva2000 eva2000 is offline
Senior Member
 
Join Date: Dec 2004
Location: Brisbane, Australia
Posts: 142
Seems getting CRON emails every minute now.. there's a logger_mail.class.php so how to disable emails ?
Reply With Quote
  #5  
Old 12-21-2011, 02:58 AM
NiteWave NiteWave is online now
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,226
thanks. please try:

modify
/path/to/ls_stats/config/log.php
'logger' => new logger_syslog(),
to
'logger' => new logger_file("/tmp/rrdtool.log"),
Reply With Quote
  #6  
Old 12-21-2011, 03:12 AM
eva2000 eva2000 is offline
Senior Member
 
Join Date: Dec 2004
Location: Brisbane, Australia
Posts: 142
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 ?
Reply With Quote
Reply

Tags
cpanel, rrdgraph, rrdtool, whm

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 10:29 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.