When using Spine, don't change crontab settings! Always use poller.php with crontab! To activate Spine instead of cmd.php, please visit Settings and select the Poller tab. Select Spine and save. Now, poller.php will use Spine on all subsequent polling cycles.
While Spine is really fast, choosing the correct setup will ensure, that all processor resources are used. Required settings for Maximum Concurrent Poller Processes are 1-2 times the number of CPU cores available for Spine.
Download Spine from the following links:
http://www.cacti.net/downloads/spine/cacti-spine-0.8.7g.tar.gz - Working but realtime is not displaying images
http://www.cacti.net/downloads/spine/cacti-spine-0.8.7.tar.gz - This is the version I used on my system
Version Compatibility:
cacti-0.8.7g
cacti-spine-0.8.7
realtime-v0.43-1
1. Download and install first the dependencies:
#yum install net-snmp-devel mysql mysql-devel openssl-devel ksh automake autoconf libtool gcc make -y
#cd /opt
#wget http://www.cacti.net/downloads/spine/cacti-spine-0.8.7.tar.gz
#tar -xvzf cacti-spine-0.8.7.tar.gz
#cd cacti-spine-0.8.7
#chmod 744 ./configure
#autoconf
#autoheader
#automake
#./configure
#make
#make install
#cp /usr/local/spine/etc/spine.conf /etc/spine.conf
2. Edit "/etc/spine.conf" to match cacti's config.php
*DB_Host should be the same with include/config.php
DB_Host localhost
DB_Database cacti
DB_User cactiuser
DB_Pass cactiuser
DB_Port 3306
DB_PreG 0
3. Login to Cacti's Web interface - Within the cacti GUI add the spine binary path
Settings > Paths '/usr/local/spine/bin/spine'
and then under the Poller tab change the type from cmd.php to Spine.
You can verify you logs by:
#tail -f /var/www/cacti/log/cacti.log
Referrence: Cacti.net - Spine Documentation
Spot on with this write-up, I actually assume this web site wants much more consideration. I’ll in all probability be once more to read far more, thanks for that info. real money casino
ReplyDelete