Hands-on Activity 7: Install, configure, and manage enterprise monitoring via Ansible
byJose Paulo Cabral
The activity showcases the use of Ansible playbook to automate the installation and configuration of enterprise monitoring tools. Specifically, the playbook demos the installation and configuration of ELK stack, Nagios, and Grafana+Prometheus; intended for both Ubuntu 20.04 LTS and CentOS 8.
Objectives
Create and design a workflow that installs, configure and manage enterprise monitoring tools using Ansible as an Infrastructure as Code (IaC) tool.
Tasks
Fork this repository https://github.com/ajcanlas-tip/sysad2-12021.git
Clone your newly forked repository.
Make a new branch named “activity7” from master branch using git branch activity7 and git checkout activity7
Make a new remote upstream with git remote add upstream https://github.com/ajcanlas-tip/sysad2-12021.git
Create a playbook that installs ELK, Nagios, Grafana + Prometheus in both Ubuntu and Centos (use Roles to optimize the playbook)
Create different plays in installing per service and identify it as a group in Inventory file.
add,commit and push it to your activity7 branch
Request a pull request for the master branch in https://github.com/ajcanlas-tip/sysad2-12021.git and activity7 branch of your forked repository