Since cmd.php cannot meet the project requirements, replace it with spine
1. Download the latest version of Cacti-spine (to match the cacti version used)
Download Address: http://www.cacti.net/downloads/spine/
2. Due to the installation of spine, the test found that the implementation of the-with-snmp=/usr/include/net-snmp/newspaper "Error:cannot Find Ucd-snmp Libraries (SNMP)" This error, The last net-snmp installed with Yum can only be uninstalled
A. Uninstall NET-SNMP
[Root@cacti Soft] #yum list |grep NET-SNMP
[Root@cacti Soft] #yum remove Net-snmp
B. Installing NET-SNMP Source Packs
Download Address: http://sourceforge.net/projects/net-snmp/files/net-snmp/5.4.3/
[Root@cacti Soft] #tar zxvf net-snmp-5.4.3.tar.gz
[Root@cacti Soft] #cd net-snmp-5.4.3
[Root@cacti net-snmp-5.4.3]#./configure--prefix=/usr/local/net-snmp
[Root@cacti net-snmp-5.4.3] #make make install
[Root@cacti net-snmp-5.4.3] #cp example.conf/usr/local/net-snmp/share/snmp/snmpd.conf
[Root@cacti net-snmp-5.4.3] #ln-S/usr/local/net-snmp/bin/*/usr/local/bin/
[Root@cactinet-snmp-5.4.3]#/usr/local/net-snmp/sbin/snmpd-c/usr/local/net-snmp/share/snmp/snmpd.conf
[root@cactinet-snmp-5.4.3] #echo "/usr/local/net-snmp/sbin/snmpd/usr/local/net-snmp/share/snmp/snmpd.conf" > >/etc/rc.local
3. Install Spine
[Root@cacti Soft] #wget http://www.cacti.net/downloads/spine/cacti-spine-0.8.7g.tar.gz
[Root@cacti Soft] #tar zxvf cacti-spine-0.8.7g.tar.gz
[Root@cacti Soft] #cd cacti-spine-0.8.7g
[Root@cacticacti-spine-0.8.7g]#./configure--prefix=/usr/local/cacti-spine--with-snmp=/usr/local/net-snmp
[Root@cacti cacti-spine-0.8.7g] #make && make install
[Root@cacti cacti-spine-0.8.7g] #cd/usr/local/cacti-spine/etc/
[Root@cacti etc] #cp spine.conf.dist spine.conf
[Root@cacti etc] #vi spine.conf
[Root@cacti etc] #service httpd Restarat
[Root@cacti etc] #crontab-e (Set polling refresh time)
Then set the Poller selection spine on the cacti page, as shown in the following figure
This is the end.