From bc267001fd61124c4752abe58d65d5f13dac9f5d Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Tue, 25 Jan 2022 12:40:10 +0100 Subject: icinga: add contsants --- roles/icinga2/Readme.md | 38 +++++++++++++++++++++++++++++++++++--- 1 file changed, 35 insertions(+), 3 deletions(-) (limited to 'roles/icinga2/Readme.md') diff --git a/roles/icinga2/Readme.md b/roles/icinga2/Readme.md index 05969c7..6f7be6d 100644 --- a/roles/icinga2/Readme.md +++ b/roles/icinga2/Readme.md @@ -1,6 +1,8 @@ # icinga2 -Installs Icinga2 Monitor standalone node and Icingaweb2 with integrated MariaDB Databse +Installs Icinga2 Monitor standalone node and Icingaweb2 with integrated MariaDB Database. + +Als configures postfix to relay specific mails to SMTP gateway Default settings @@ -9,16 +11,39 @@ Default settings icinga_ido_db_pw: 'changeme' icinga_web_db_pw: 'changeme' + icinga: # icingaweb2 api user is created automatically with random password api_users: - name: 'test' password: 'changeme' permissions: '[ ]' + # CN MUST match FQDN + api_cert: + crt: '/etc/ssl/cert/ssl-cert-snakeoil.pem' + key: '/etc/ssl/private/ssl-cert-snakeoil.key' + ca: '/etc/ssl/certs/ca-certificates.crt' + config: + manage: false + git_url: '' + git_version: 'mainu' + mail: + enable: false + smtp_host: 'smtp.example.com' + smtp_port: '25' + smtp_user: '' + smtp_psw: '' + from: '' + constants: + TicketSalt: '' + NodeName: '{{ ansible_facts.fqdn }}' + ZoneName: '{{ ansible_facts.fqdn }}' + PluginDir: '/usr/lib/nagios/plugins' + ManubulonPluginDir: '/usr/lib/nagios/plugins' + PluginContribDir: '/usr/lib/nagios/plugins' icingaweb: cert: - use_ssl: true cert: '/etc/ssl/cert/ssl-cert-snakeoil.pem' key: '/etc/ssl/private/ssl-cert-snakeoil.key' ldap: @@ -35,7 +60,8 @@ icingaweb: filter: '' groups: base_dn: '' - group_member_attribute: 'cn' + group_member_attribute: 'member' + group_name_attribute: 'cn' group_class: 'groupOfNames' group_filter: 'cn=*' user_base_dn: '' @@ -48,4 +74,10 @@ icingaweb: groups: 'Administrators' enabled_modules: - monitoring + - businessprocess + install_modules: + businessprocess: + url: 'https://github.com/Icinga/icingaweb2-module-businessprocess' + version: 'master' + ``` -- cgit v1.2.3