Cacti uses cmd.php to complete the data collection by default, but finds that there is a significant delay in cmd.php acquisition and that execution is inefficient. It takes longer than 10 minutes for the device to wait from the time it is added.
When the device is down alert, it may take more than 10 minutes.
Therefore, it is necessary to optimize cacti acquisition performance using spine.
The first part: Background installation spine
(1) Download the spine on the official website and upload it to the cacti server.
(2) Performing TAR-ZXVF cacti-spine-0.8.8b.tar.gz
(3) Execute CD cacti-spine-0.8.8b
(4) implementation./configure
(5) Perform make
(6) Execute make install
(7) Execution cd/usr/local/spine/etc/
(8) Execute CP spine.conf.dist spine.conf
(9) Vim spine.conf at the bottom, modify the following
650) this.width=650; "title=" 1.png "src=" Http://s3.51cto.com/wyfs02/M02/4D/A1/wKioL1RVtsrAZMKHAABC17-7TCk539.jpg " alt= "Wkiol1rvtsrazmkhaabc17-7tck539.jpg"/>
(10) The execution of/usr/local/spine/bin/spine test software is installed successfully
650) this.width=650; "title=" 2.png "src=" Http://s3.51cto.com/wyfs02/M02/4D/A2/wKiom1RVtofBIV_DAACHcLw2_uI982.jpg " alt= "Wkiom1rvtofbiv_daachclw2_ui982.jpg"/>
Part II: Login Cacti foreground configuration spine
(1) Login cacti front Desk
(2) Click "Settings"
(3) Click "Paths" and enter/usr/local/spine/bin/spine in spine poller File path.
650) this.width=650; "title=" 3.png "src=" Http://s3.51cto.com/wyfs02/M00/4D/A1/wKioL1RVtxuxVYZ8AAHHOL6hhw4372.jpg " alt= "Wkiol1rvtxuxvyz8aahhol6hhw4372.jpg"/>
(4) Click "Save"
(5) Click "Poller"
(6) Select spine in the Poller Type drop-down menu
(7) Click "Save"
650) this.width=650; "title=" 4.png "src=" Http://s3.51cto.com/wyfs02/M01/4D/A1/wKioL1RVt5PzmaIVAACr4C9M7Es664.jpg " alt= "Wkiol1rvt5pzmaivaacr4c9m7es664.jpg"/>
This article is from the "Rudder Master" blog, please be sure to keep this source http://zdzhu.blog.51cto.com/6180070/1570898
Nagios&cacti article seven: cacti tuning