=== OS Settings ===
Timzeones need to be identical. UTC is recommended
Systems should be identical ( rsync srcipts,resources and plugins )

=== Firewall/SELinux ===
Centos 7:
setsebool -P httpd_can_network_connect 1
firewall-cmd --permanent --zone=public --add-service=mysql
firewall-cmd --permanent --zone=public --add-port=161/udp

CactiEZ/Centos <7 ( check with "iptables -L" if already exists):
iptables -A RH-Firewall-1-INPUT -p tcp -m state --state NEW -m tcp --dport 3306 -j ACCEPT

=== MySQL ===
MySQL Setup - Agent ( Pull data from Agent & Config Sync ):
GRANT ALL PRIVILEGES ON cacti.* to masterserver@'<masterip>' IDENTIFIED BY 'mypassword';

MySQL Setup - Master ( Push data to Master):
GRANT ALL PRIVILEGES ON cacti.plugin_nmidAgent_poller_output to agentserver@'<agentip>' IDENTIFIED BY 'mypassword';
GRANT ALL PRIVILEGES ON cacti.plugin_nmidAgent_poller to agentserver@'<agentip>' IDENTIFIED BY 'mypassword';

=== Patches ===
Cacti 0.8.8c:
cd /path/to/cacti
mv poller.php poller.php_bak
mv host.php host.php_bak
mv lib/poller.php lib/poller.php_bak
cp plugins/CereusAgent/patches/088c_changed/poller.php .
cp plugins/CereusAgent/patches/088c_changed/host.php .
cp plugins/CereusAgent/patches/088c_changed/lib/poller.php lib

Cacti 0.8.8b:
cd /path/to/cacti
mv poller.php poller.php_bak
mv host.php host.php_bak
mv lib/poller.php lib/poller.php_bak
cp plugins/CereusAgent/patches/088b_changed/poller.php .
cp plugins/CereusAgent/patches/088b_changed/host.php .
cp plugins/CereusAgent/patches/088b_changed/lib/poller.php lib

Cacti 0.8.8a:
cd /path/to/cacti
mv poller.php poller.php_bak
mv host.php host.php_bak
mv lib/poller.php lib/poller.php_bak
cp plugins/CereusAgent/patches/088a_changed/poller.php .
cp plugins/CereusAgent/patches/088a_changed/host.php .
cp plugins/CereusAgent/patches/088a_changed/lib/poller.php lib

CactiEZ / 0.8.8a:
cd /var/www/html/
mv poller.php poller.php_bak
mv host.php host.php_bak
mv lib/poller.php lib/poller.php_bak
cp plugins/CereusAgent/patches/088a_changed/poller.php .
cp plugins/CereusAgent/patches/088a_changed/host.php .
cp plugins/CereusAgent/patches/088a_changed/lib/poller.php lib
