Search This Blog

How to Compile Cacti-Spine on Centos 7

Compile Cacti-Spine

Install dependencies.

yum install -y libdb-devel.x86 httpd-devel net-snmp-devel openssl-devel perl-devel rpm-devel mariadb-devel libtool help2man dos2unix

Download Cacti-Spine.

wget https://www.cacti.net/downloads/spine/cacti-spine-1.2.10.tar.gz
tar xzf cacti-spine-1.2.10.tar.gz
cd cacti-spine-1.2.10

Compile with the command below.

./bootstrap
./configure
make
make install

Permission and ownership.

chown root:root /usr/local/spine/bin/spine
chmod u+s /usr/local/spine/bin/spine

Create new file name /usr/local/spine/etc/spine.conf.

vi /usr/local/spine/etc/spine.conf

Paste the following line and change the database username and password based on our cacti database.

DB_Host localhost
DB_Database cacti
DB_User cactiuser
DB_Pass cactipassword
DB_Port 3306
#DB_UseSSL 0
#RDB_SSL_Key
#RDB_SSL_Cert
#RDB_SSL_CA

Go to Cacti web interface => Settings => Paths and fill in the following fields.


To change cmd.php to spine for Cacti polling option. Go to Poller and change to Spine.


Conclusion
Spine is a replacement for the default cmd.php poller so you must decide if using Spine makes sense for your installationI hope you all be able to understand this post well. If you don't understand any point or  have any problem, recommendation, suggestion don't hesitate to tell us, we will try our best to help. 

No comments:

Post a Comment

How to install zabbix Server on Rocky Linux 9

How to set up Zabbix Server on Rocky Linux 9 1. Set Selinux to permissive mode sudo setenforce 0 sudo sed -i...