- yyv-centreon - yyv-web Based on Centreon's official documentation, they are 3 ways of deploying the application namely: - ready-to-use virtual machine. - RPM or DEB packages - Installation from source During this lab i used the 'RPM packages' ### 1. Create and configure both virtual machines. **Addressing the servers** - Centos server Modify the file : `sudo vi /etc/sysconfig/network-scripts/ifcfg-eth0` as shown below  Restart the network service : `sudo systemctl restart network`  - Windows server   ### 2. Install and configure Centreon on the Linux virtual machine. #### Prerequisites - Installing dependencies and repositories necessary to deploy Centreon ```!bash yum install -y centos-release-scl` yum install -y yum-utils yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm yum install -y https://rpms.remirepo.net/enterprise/remi-release-7.rpm yum-config-manager --enable remi-php81 ```  ```!bash yum update sed -i s/^SELINUX=.*$/SELINUX=disabled/ /etc/selinux/config reboot systemctl stop firewalld systemctl disable firewalld ``` - Installing MariaDB repository  - Centreon repository  - Installation of centreon + database ```!bash yum install -y centreon systemctl daemon-reload systemctl restart mariadb ```   - Set the PHP time zone `echo "date.timezone = Europe/Brussels" >> /etc/php.d/50-centreon.ini`  - Start services at boot time `systemctl enable php-fpm httpd24-httpd centreon cbd centengine gorgoned snmptrapd centreontrapd snmpd` - Secure the database `mysql_secure_installation`   - Web Installation Starting the web service: `systemctl start httpd24-httpd`            ### 3. Poller Configuration - This is done following the steps shown below:    - After configuration the poller is running  ### 4. Create 2 host groups (trigram-linux / trigram-windows) - This is done as shown below:   - results:  ### 5. Create 2 contact templates (trigram-administrator / trigram-engineer) - This is done as shown below:   - Results:  ### 6. Create 4 users (trigram-linux-adm / trigram-linux-eng / trigram-windows-adm/ trigram-windows-eng)   ### 7. Create 8 ACLs: a. Create 4 access groups:    b. Create 2 ACL Menu Access     c. Create 2 ACL Resources Access     8. Create 4 contact groups (trigram-linux-adm-group / trigram-linux-eng-group / trigram-windows-adm-group / trigram-windows-eng-group)    9. Monitor linux virtual machine (Plugin Custom Centreon Central/Database/Poller) - Installing the necessary plugins  - Adding centreon server with snmp connection   - Monitored Resources  10. Monitor Windows virtual machine    11. Use the custom script on Windows host to monitor the size of the folder “drivers” (C:\Windows\System32\drivers) [Warning: 100 Mo / Critical: 150 Mo]  --- 
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up