How to Install and Configure Cacti Spine on ubuntu

Описание к видео How to Install and Configure Cacti Spine on ubuntu

Cacti-Spine is a Co-written replacement for the default cmd.php poller. Cacti-Spine provides a faster execution time. To compile the Cacti-Spine pooler from sources install the below-required dependencies in your system.

Step 1: Download and Install Cacti-Spine

Our Cacti Tutorial PlayList :   • Cacti Tutorials  
https://ipcorenetworks.blogspot.com/2...


--------------- On Ubuntu ---------------
apt install build-essential dos2unix dh-autoreconf help2man libssl-dev libmysql++-dev librrds-perl libsnmp-dev libmysqlclient-dev libtool


libmysqld-dev (optional module)

2. After you’ve installed the above dependencies, download the latest version of the Cacti-Spine archive, extract the tarball and compile the cacti-spine by issuing the following series of commands.


sudo apt update
wget https://www.cacti.net/downloads/spine...
tar xfz cacti-spine-latest.tar.gz
cd cacti-spine-1.2.17/

3 Compile and install Cacti-Spine from sources by issuing the following commands.

./bootstrap
./configure
make
make install

4. Next, make sure spine binary is owned by root account and set the suid bit for the spine utility by running the following commands.

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

5. Now, edit the Cacti Spine configuration file and add the cacti database name, user and password to the Spine conf file as illustrated in the below example.


Add the following configuration to spine.conf file.

Below is the default config file you may have under sudo nano /var/www/html/cacti/include/config.php

sudo cp /usr/local/spine/etc/spine.conf.dist /usr/local/spine/etc/spine.conf
nano /usr/local/spine/etc/spine.conf
edit below lines and should have matches with cactiDB

DB_Host localhost
DB_Database cacti
DB_User cactiuser
DB_Pass cactiuser
DB_Port 3306

LAST Then, go to Console - Configuration - Settings - Paths and add the following path to Cacti-Spine configuration file:

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


Next, make sure spine binary is owned by root account and set the suid bit for the spine utility by running the following commands.

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



default-libmysqlclient-dev 'libmysqld-dev'
#cacti #spine #plugins #cactitutorial #cactitutorials

Комментарии

Информация по комментариям в разработке