This is as simple as creating the file /etc/yum.repos.d/and putting the following in it: That last option (“protect=0”) only does anything if you’ve installed the Protect Base plugin for yum. Now we need to install the packages that Cacti depends on, and the Cacti package itself.
This plugin keeps yum from updating system or base packages from non-Cent OS repositories (or however you want to configure it). Use yum, and allow it to install any dependencies for the following packages.
Hopefully this will save someone else a few minutes. I really like having a single CD that will install what’s necessary for a server.
To recap, we can use (RHEL/Cent OS) to install Cacti and set up necessary My SQL databases.To do that, first we will check the ownership details for the RRD files.On the old server: -rw-rw-r-- 1 www-data www-data 94816 Dec 14 server-1_traffic_in_8-rw-rw-r-- 1 www-data www-data 94816 May 7 server-1_traffic_in_9-rw-rw-r-- 1 www-data www-data 94816 May 7 server-2_traffic_in_10Now the Cacti poller in the new server has read/write permissions to the RRD files.Now the cron daemon should invoke the Cacti poller script every 5 minutes, and Cacti graphs should start updating within maximum 15 minutes.If you want to hold on to the old server for the time being, you could enable the poller in the old server too.