
Having done that, we can now add a new cron entry to your system for a 5 minute polling interval using the following command: echo "*/5 * * * * cacti php /var/Finally, we also need to make sure that the permissions on the log and rra directories are set correctly: cd /var/www/html/cacti Let’s create the system “cacti” user now: adduser -d /var/www/html/cacti -s /sbin/nologin cacti It’s always a good idea to run this under a special user. This will make upgrades to never Cacti versions easier: ln -s cacti-0.8.8h cacti Step 3 – Cron and file permissionsĬacti uses cron (scheduled task) in order to execute its polling process. I usually suggest to create a symbolic link to the newly created directory “cacti-0.8.8h”. As of version 0.8.8, a fully patched Cacti including the Plugin Architecture (PIA) is officially available, so we’re downloading that one: cd /var/www/html First we need to download and extract it. Let’s now move to the actualy installation of Cacti.

Cron may already be running so don’t panic if you don’t see the usual start message: CentOS 6: Now that we did make sure that these services start after a reboot, let’s start them manually now in order to continue the installation.

Use the following commands to enable these: CentOS 6: Now let’s make sure that our webserver and the database are automatically starting up after a reboot. Gcc and the devel packages are required for the installation of spine, hence that’s why we include it here. Php-snmp gcc mariadb-devel net-snmp-devel autoconf automake libtool dos2unix wget help2man Yum -y install mariadb-server php php-cli php-mysql net-snmp-utils rrdtool \ Php-snmp gcc mysql-devel net-snmp-devel autoconf automake libtool dos2unix wget help2man Yum -y install mysql-server php php-cli php-mysql net-snmp-utils rrdtool \

Software which is not included or enabled in the base CentOS 6 installation are: Addition Informationĭo you want to have an on-demand cacti for your small office or large site ? look here: Cereus-Monitoringįirst we need to install some of the software packages needed for Cacti to run properly.

In this posting you will be learning how to install Cacti 0.8 on a freshly installed CentOS 6 or CentOS 7 system. HowTo add new diskspace to Linux Server without rebooting.CereusAgent – Multi/Remote poller for Cacti.
