I published my first AMI (Amazon Machine Image) on the AWS Marketplace! This AMI is based on CentOs 7 OS, and I installed on Centreon 19.04.
This image is complete and ready to use. All extensions and widgets are installed, You only need to activate them, a multitude of plugins are available and the machine supervises itself.
There are just a few parameters to change. The following below;)
Depending on the number of hosts and services to be supervised, it will be necessary to choose the right type of server.
You will find on the Centreon website which type of server to choose according to the number of supervised objects.
|Type||Protocol||Port range||Origin||Inbound / Outbound|
|Custom UDP rule||UDP||161||0.0.0.0/0||Outbound|
|Custom UDP rule||UDP||162||0.0.0.0/0||Inbound|
|HTTP / HTTPS||TCP||80 / 443||0.0.0.0/0||Inbound / Outbound|
|All ICMP – IPv4||0.0.0.0/0||Inbound / Outbound|
|SMTP / SMTPS||TCP||25 / 465||0.0.0.0/0||Outbound|
Change the password of the root account (using mysql_secure_installation for example). The password is: RootCentreon
It is also necessary to change the password of the user centeron, which is CentreonDB:
– Connect to MySQL
– Make an update password
It’s necessary to update the BDD connection password, for that, edit the file /etc/centreon/centreon.conf.php & conf.pm
1234567891011121314 $conf_centreon['hostCentreon'] = "localhost";$conf_centreon['hostCentstorage'] = "localhost";$conf_centreon['user'] = "centreon";$conf_centreon['password'] = 'CentreonDB';$conf_centreon['db'] = "centreon";$conf_centreon['dbcstg'] = "centreon_storage";$conf_centreon['port'] = "3306";/* path to classes */$classdir='./class';/* Centreon Path */$centreon_path='/usr/share/centreon/';?>
Centreon’s admin password is Admincentreon!
I advise you to configure Iptables with the same rules as the security group on AWS.
I’m waiting for your feedbacks;)