As mentioned earlier, the remote poller is essentially a full Cacti system. Hence, your initial task is to install a new Cacti system on the new server.
The following steps will prepare a new remote poller server:
- Follow the installation guide from Chapter 1, Installing Cacti but skip the web-based installation.
- Now you have to add the remote poller specific settings. Edit the spine configuration file in vi editor:
vi /etc/spine.conf
- Change the
RDB_
variables to match the database settings of your master server:
- Now, edit the
include/config.php
file and change therdatabase
variables accordingly:
- For the installation, you will have to make the
config.php
file writeable by the webserver:
chmod 660 /var/www/html/cacti/include/config.phpchown apache.cacti var/www/html/cacti/include/config.php
- Add some new firewall rules so the master server can access the database on the remote poller by executing the following...