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
1. Download and install first the dependencies:
#yum install net-snmp-devel mysql mysql-devel openssl-devel ksh automake autoconf libtool gcc make -y
#tar -xvzf cacti-spine-0.8.7.tar.gz
#chmod 744 ./configure
#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
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