Centreon Setup Centos 7

IMPORTANT: allow only the Centos7 Base Repo and Centreon Repo – there should be no error of yum conflict on installing

yum install centos-release-scl
yum install -y http://yum.centreon.com/standard/19.04/el7/stable/noarch/RPMS/centreon-release-19.04-1.el7.centos.noarch.rpm

yum install wget centreon

timedatectl list-timezones |grep Denver
echo “date.timezone = America/Denver” >> /etc/opt/rh/rh-php71/php.ini

echo “* – nofiles 16384” >> /etc/security/limits.conf

mkdir -p /etc/systemd/system/mariadb.service.d/
echo -ne “[Service]\nLimitNOFILE=32000\n” | tee /etc/systemd/system/mariadb.service.d/limits.conf

systemctl daemon-reload

systemctl start mariadb

mysql_secure_installation

systemctl stop firewalld
systemctl disable firewalld
systemctl disable snmpd
systemctl disable snmptrapd

systemctl enable httpd24-httpd
systemctl enable rh-php71-php-fpm
systemctl enable centcore
systemctl enable centreontrapd
systemctl enable cbd
systemctl enable centengine
systemctl enable centreon

systemctl start httpd24-httpd
systemctl start rh-php71-php-fpm
systemctl start centcore
systemctl start centreontrapd
systemctl start cbd
systemctl start centengine
systemctl start centreon

Setup Apache configs location (check note bellow)
/opt/rh/httpd24/root/etc/httpd/conf.d/10-centreon.conf

http:///centreon
go thru the install
On last option unselect
Plugins / License

http:///centreon

Now lets setup our own centreon open source plugins

Leave a Reply

Your email address will not be published. Required fields are marked *

*