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 :kzitem.info/door/PL2iPlJTsTrSRcLWPSRi--dF7rN4RyUzWb
ipcorenetworks.blogspot.com/2021/05/ip-core-networks-your-learning-your.html
---------------- 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 www.cacti.net/downloads/spine/cacti-spine-latest.tar.gz
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
Негізгі бет Ғылым және технология How to Install and Configure Cacti Spine on ubuntu
Пікірлер