Cacti+nagios Application (iii) spine and the installation of the latest patches

Source: Internet
Author: User
Tags snmp

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.