stdevel.omd
omd
This role helps to install and set up OMD (Open Monitoring Distribution).
Requirements
The system must be able to access the internet, and it needs a Linux distribution that OMD supports, like:
- CentOS / Red Hat Enterprise Linux
- 7
- 8
- SUSE Linux Enterprise Server 12
- Debian
- 10 (Buster)
- 11 (Bullseye)
- Ubuntu
- 18.04 (Bionic Beaver)
- 20.04 (Focal Fossa)
- 22.04 (Jammy Jellyfish)
If you're using CentOS or Red Hat, make sure to enable EPEL!
Role Variables
Variable | Default | Description |
---|---|---|
omd_repo_flavor |
stable |
Choose between stable or testing repository (nightly builds) |
omd_version |
4.60 |
Version of the OMD package to install |
The sites
variable is a dictionary that specifies the sites you want to create and their configurations. Below are the possible options:
Variable | Description |
---|---|
name |
Name of the site |
core |
Core system for the site (icinga2 , naemon , and for 2.x versions also icinga and nagios ) |
default_gui |
Default graphical interface (thruk , grafana , and for 2.x versions also nagios and check_mk ) |
thruk_cookie_auth |
Set to on or off to use Thruk cookie authorization |
remove_nagios_protection |
Set to true or false to disable insecure Nagios CGIs (for 2.x versions only) |
admin_password |
Default admin password for OMD (default: empty, automatically set by OMD) |
An Icinga2 site is created by default:
omd_sites:
- name: icinga2
core: icinga2
default_gui: thruk
thruk_cookie_auth: false
remove_nagios_protection: false
Dependencies
There are no dependencies.
Example Playbook
Here’s a simple example of how to use it:
- hosts: servers
roles:
- stdevel.omd
You can set variables if needed, like this:
---
- hosts: bacinga.giertz.loc
remote_user: root
roles:
- role: stdevel.omd
package_omd: '4.60'
Don't forget to enable EPEL on RHEL/CentOS systems:
---
- hosts: bluecap.giertz.loc
remote_user: root
roles:
- role: geerlingguy.repo-epel
- role: stdevel.omd
omd_version: '3.30'
License
GPL 3.0
Author Information
Christian Stankowic (info@cstan.io)
Informazioni sul progetto
Installs and configures OMD
Installa
ansible-galaxy install stdevel.omd
Licenza
gpl-3.0
Download
121
Proprietario
IT consultant and podcaster 🎙️