SlideShare a Scribd company logo
1 of 12
Download to read offline
Follow Mode: ! 1/12 - 9%
" Previous
Next #
PAUSED
Icinga Installer
The Simple Way to Manage Your Icinga Environment
Lennart Betz
Icinga Installer http://localhost:9090/#1
1 of 1 09.11.21, 10:43
Follow Mode: ! 2/12 - 17%
" Previous
Next #
PAUSED
The Project
• Launched: In the early days of 2020
• Based on other projects:
◦ Kafo (The Foreman, https://https://github.com/theforeman/kafo)
◦ Icinga Puppet modules
◦ Other third party modules (https://forge.puppet.com)
• Packages:
◦ NETWAYS Monitoring Extras (https://packages.netways.de/extras)
◦ Debian 9-11, Ubuntu 18.04/20.04, EL7/8
Icinga Installer http://localhost:9090/#2
1 of 1 09.11.21, 10:40
Follow Mode: ! 3/12 - 25%
" Previous
Next #
PAUSED
Project Target
The installation of a server, worker or agent by a one-liner:
To set up a preconfigured server:
$ icinga-installer -S server-ido-pgsql | server-ido-mysql
An agent with connection to the server:
$ icinga-installer -S agent
--agent-ca-server 192.168.3.2
--agent-parent-endpoints server.osmc.talk:host:192.168.3.2
Sends a certificate request to be signed by the server's CA.
Icinga Installer http://localhost:9090/#3
1 of 1 09.11.21, 10:40
Follow Mode: ! 4/12 - 34%
" Previous
Next #
PAUSED
The interactive Mode
Or you want to perform, for example, a worker configuration in interactive mode:
$ icinga-installer -i -S worker
Welcome to the Worker installer!
--------------------------------
This wizard will gather all required information. You can change any
parameter to your needs.
Ready to start? (y/n) y
Main Config Menu
1. [✓] Configure install_repos
2. [✓] Configure install_worker
3. Display current config
4. Save and run
5. Cancel run without Saving
Choose an option from the menu... 2
Icinga Installer http://localhost:9090/#4
1 of 1 09.11.21, 10:40
Follow Mode: ! 5/12 - 42%
" Previous
Next #
PAUSED
The interactive Mode
Module install_worker configuration
1. Enable/disable install_worker module, current value: true
2. Set ca_server, current value: UNDEF
3. Set zone, current value: UNDEF
4. Set parent_zone, current value: "main"
5. Set parent_endpoints, current value: UNDEF
6. Set global_zones, current value: ["linux-commands", ... ]
7. Set logging_type, current value: "syslog"
8. Set logging_level, current value: "critical"
9. Reset a parameter to its default value
10. Back to main menu
Choose an option from the menu... 3
Parameter zone (of module install_worker)
Name of the Icinga zone.
Data type: string
current value: "UNDEF"
new value:
dmz<CR>
Icinga Installer http://localhost:9090/#5
1 of 1 09.11.21, 10:41
Follow Mode: ! 6/12 - 50%
" Previous
Next #
PAUSED
Answer File
All responses, whether interactive or via CLI options are saved to file:
$ cat /etc/icinga-installer/scenarios.d/worker-answers.yaml
install::worker:
ca_server: 192.168.3.2
zone: dmz
parent_zone: main
parent_endpoints:
server.osmc.talk:
host: 192.168.3.2
global_zones:
- linux-commands
- windows-commands
- global-templates
- director-global
logging_type: syslog
logging_level: critical
Will be read in when icinga-installer is run again.
Icinga Installer http://localhost:9090/#6
1 of 1 09.11.21, 10:41
Follow Mode: ! 7/12 - 59%
" Previous
Next #
PAUSED
Custom Config
Complex configuration, e.g. a second worker, can also be done. However, this must be done in a separate file:
$ vim /etc/icinga-installer/custom-hiera.yaml
icinga::worker::colocation_endpoints:
'worker2.osmc.talk':
host: 192.168.3.12
Or the otherwise simple configuration on the server side:
icinga::server::workers:
dmz:
endpoints:
'worker1.osmc.talk':
host: 192.168.3.11
'worker2.osmc.talk':
host: 192.168.3.12
Icinga Installer http://localhost:9090/#7
1 of 1 09.11.21, 10:41
Follow Mode: ! 8/12 - 67%
" Previous
Next #
PAUSED
Module Hierachy
Icinga Installer http://localhost:9090/#8
1 of 1 09.11.21, 10:41
Follow Mode: ! 9/12 - 75%
" Previous
Next #
PAUSED
Tuning
For example to tune the PostgreSQL server:
postgresql::server::config_entries:
max_connections: 40
shared_buffers: 512MB
effective_cache_size: 1536MB
maintenance_work_mem: 256MB
checkpoint_completion_target: 0.9
wal_buffers: 16MB
default_statistics_target: 500
random_page_cost: 1.1
effective_io_concurrency: 200
maintenance_io_concurrency: 100
work_mem: 6553kB
...
Icinga Installer http://localhost:9090/#9
1 of 1 09.11.21, 10:42
Follow Mode: ! 10/12 - 84%
" Previous
Next #
PAUSED
Extend Configuration
To secure your Icinga Web 2:
apache::default_vhost: false
apache::default_ssl_vhost: true
apache::default_ssl_cert: /etc/pki/tls/certs/apache.crt
apache::default_ssl_key: /etc/pki/tls/private/apache.key
Icinga Installer http://localhost:9090/#10
1 of 1 09.11.21, 10:42
Follow Mode: ! 11/12 - 92%
" Previous
Next #
PAUSED
Overwrite Answers
To configure a second server:
install::server::ca: false
icinga::server::ca_server: 192.168.5.33
icinga::server::colocation_endpoints:
ubuntu20.lbetz.localdomain:
host: 192.168.5.33
Icinga Installer http://localhost:9090/#11
1 of 1 09.11.21, 10:42
Follow Mode: ! 12/12 - 100%
" Previous
Next #
PAUSED
Thank You
Thank you for your attention!
Icinga Installer http://localhost:9090/#12
1 of 1 09.11.21, 10:42

More Related Content

What's hot

Mike Guthrie - Revamping Your 10 Year Old Nagios Installation
Mike Guthrie - Revamping Your 10 Year Old Nagios InstallationMike Guthrie - Revamping Your 10 Year Old Nagios Installation
Mike Guthrie - Revamping Your 10 Year Old Nagios InstallationNagios
 
Trevor McDonald - Nagios XI Under The Hood
Trevor McDonald  - Nagios XI Under The HoodTrevor McDonald  - Nagios XI Under The Hood
Trevor McDonald - Nagios XI Under The HoodNagios
 
Lukas Macura - Employing Zabbix to monitor OpenWrt (Beesip) devices with Uciprov
Lukas Macura - Employing Zabbix to monitor OpenWrt (Beesip) devices with UciprovLukas Macura - Employing Zabbix to monitor OpenWrt (Beesip) devices with Uciprov
Lukas Macura - Employing Zabbix to monitor OpenWrt (Beesip) devices with UciprovZabbix
 
Elk for applications on k8s
Elk for applications on k8sElk for applications on k8s
Elk for applications on k8sChe-Chia Chang
 
From nothing to Prometheus : one year after
From nothing to Prometheus : one year afterFrom nothing to Prometheus : one year after
From nothing to Prometheus : one year afterAntoine Leroyer
 
Nagios Conference 2014 - Sam Lansing - Advanced Features of Nagios XI
Nagios Conference 2014 - Sam Lansing - Advanced Features of Nagios XINagios Conference 2014 - Sam Lansing - Advanced Features of Nagios XI
Nagios Conference 2014 - Sam Lansing - Advanced Features of Nagios XINagios
 
Zabbix 3.2 presentation June 2017
Zabbix 3.2 presentation June 2017Zabbix 3.2 presentation June 2017
Zabbix 3.2 presentation June 2017Amirhossein Saberi
 
Nginx - Tips and Tricks.
Nginx - Tips and Tricks.Nginx - Tips and Tricks.
Nginx - Tips and Tricks.Harish S
 
Nagios Conference 2014 - James Clark - Nagios Cool Tips and Tricks
Nagios Conference 2014 - James Clark - Nagios Cool Tips and TricksNagios Conference 2014 - James Clark - Nagios Cool Tips and Tricks
Nagios Conference 2014 - James Clark - Nagios Cool Tips and TricksNagios
 
Nagios Conference 2014 - Rob Hassing - How To Maintain Over 20 Monitoring App...
Nagios Conference 2014 - Rob Hassing - How To Maintain Over 20 Monitoring App...Nagios Conference 2014 - Rob Hassing - How To Maintain Over 20 Monitoring App...
Nagios Conference 2014 - Rob Hassing - How To Maintain Over 20 Monitoring App...Nagios
 
Maximizing PHP Performance with NGINX
Maximizing PHP Performance with NGINXMaximizing PHP Performance with NGINX
Maximizing PHP Performance with NGINXNGINX, Inc.
 
Vagrant, Ansible, and OpenStack on your laptop
Vagrant, Ansible, and OpenStack on your laptopVagrant, Ansible, and OpenStack on your laptop
Vagrant, Ansible, and OpenStack on your laptopLorin Hochstein
 
Nagios Conference 2014 - Janice Singh - Real World Uses for Nagios APIs
Nagios Conference 2014 - Janice Singh - Real World Uses for Nagios APIsNagios Conference 2014 - Janice Singh - Real World Uses for Nagios APIs
Nagios Conference 2014 - Janice Singh - Real World Uses for Nagios APIsNagios
 
Learn nginx in 90mins
Learn nginx in 90minsLearn nginx in 90mins
Learn nginx in 90minsLarry Cai
 
Nginx internals
Nginx internalsNginx internals
Nginx internalsliqiang xu
 
Nagios Conference 2014 - Jack Chu - How to Think With Nagios to Solve Monitor...
Nagios Conference 2014 - Jack Chu - How to Think With Nagios to Solve Monitor...Nagios Conference 2014 - Jack Chu - How to Think With Nagios to Solve Monitor...
Nagios Conference 2014 - Jack Chu - How to Think With Nagios to Solve Monitor...Nagios
 

What's hot (20)

Mike Guthrie - Revamping Your 10 Year Old Nagios Installation
Mike Guthrie - Revamping Your 10 Year Old Nagios InstallationMike Guthrie - Revamping Your 10 Year Old Nagios Installation
Mike Guthrie - Revamping Your 10 Year Old Nagios Installation
 
Trevor McDonald - Nagios XI Under The Hood
Trevor McDonald  - Nagios XI Under The HoodTrevor McDonald  - Nagios XI Under The Hood
Trevor McDonald - Nagios XI Under The Hood
 
Nagios intro
Nagios intro Nagios intro
Nagios intro
 
How to monitor NGINX
How to monitor NGINXHow to monitor NGINX
How to monitor NGINX
 
Nagios
NagiosNagios
Nagios
 
Lukas Macura - Employing Zabbix to monitor OpenWrt (Beesip) devices with Uciprov
Lukas Macura - Employing Zabbix to monitor OpenWrt (Beesip) devices with UciprovLukas Macura - Employing Zabbix to monitor OpenWrt (Beesip) devices with Uciprov
Lukas Macura - Employing Zabbix to monitor OpenWrt (Beesip) devices with Uciprov
 
Elk for applications on k8s
Elk for applications on k8sElk for applications on k8s
Elk for applications on k8s
 
From nothing to Prometheus : one year after
From nothing to Prometheus : one year afterFrom nothing to Prometheus : one year after
From nothing to Prometheus : one year after
 
Nagios Conference 2014 - Sam Lansing - Advanced Features of Nagios XI
Nagios Conference 2014 - Sam Lansing - Advanced Features of Nagios XINagios Conference 2014 - Sam Lansing - Advanced Features of Nagios XI
Nagios Conference 2014 - Sam Lansing - Advanced Features of Nagios XI
 
Zabbix 3.2 presentation June 2017
Zabbix 3.2 presentation June 2017Zabbix 3.2 presentation June 2017
Zabbix 3.2 presentation June 2017
 
Nginx - Tips and Tricks.
Nginx - Tips and Tricks.Nginx - Tips and Tricks.
Nginx - Tips and Tricks.
 
Nagios Conference 2014 - James Clark - Nagios Cool Tips and Tricks
Nagios Conference 2014 - James Clark - Nagios Cool Tips and TricksNagios Conference 2014 - James Clark - Nagios Cool Tips and Tricks
Nagios Conference 2014 - James Clark - Nagios Cool Tips and Tricks
 
Nagios Conference 2014 - Rob Hassing - How To Maintain Over 20 Monitoring App...
Nagios Conference 2014 - Rob Hassing - How To Maintain Over 20 Monitoring App...Nagios Conference 2014 - Rob Hassing - How To Maintain Over 20 Monitoring App...
Nagios Conference 2014 - Rob Hassing - How To Maintain Over 20 Monitoring App...
 
Maximizing PHP Performance with NGINX
Maximizing PHP Performance with NGINXMaximizing PHP Performance with NGINX
Maximizing PHP Performance with NGINX
 
Vagrant, Ansible, and OpenStack on your laptop
Vagrant, Ansible, and OpenStack on your laptopVagrant, Ansible, and OpenStack on your laptop
Vagrant, Ansible, and OpenStack on your laptop
 
Nagios Conference 2014 - Janice Singh - Real World Uses for Nagios APIs
Nagios Conference 2014 - Janice Singh - Real World Uses for Nagios APIsNagios Conference 2014 - Janice Singh - Real World Uses for Nagios APIs
Nagios Conference 2014 - Janice Singh - Real World Uses for Nagios APIs
 
Learn nginx in 90mins
Learn nginx in 90minsLearn nginx in 90mins
Learn nginx in 90mins
 
Nrpe
NrpeNrpe
Nrpe
 
Nginx internals
Nginx internalsNginx internals
Nginx internals
 
Nagios Conference 2014 - Jack Chu - How to Think With Nagios to Solve Monitor...
Nagios Conference 2014 - Jack Chu - How to Think With Nagios to Solve Monitor...Nagios Conference 2014 - Jack Chu - How to Think With Nagios to Solve Monitor...
Nagios Conference 2014 - Jack Chu - How to Think With Nagios to Solve Monitor...
 

Similar to Icinga Installer Configuration Guide

Capistrano deploy Magento project in an efficient way
Capistrano deploy Magento project in an efficient wayCapistrano deploy Magento project in an efficient way
Capistrano deploy Magento project in an efficient waySylvain Rayé
 
OSMC 2019 | Use Cloud services & features in your redundant Icinga2 Environme...
OSMC 2019 | Use Cloud services & features in your redundant Icinga2 Environme...OSMC 2019 | Use Cloud services & features in your redundant Icinga2 Environme...
OSMC 2019 | Use Cloud services & features in your redundant Icinga2 Environme...NETWAYS
 
Présentation "Docker + Kubernetes" @ Pastis.tech #2
Présentation "Docker + Kubernetes" @ Pastis.tech #2Présentation "Docker + Kubernetes" @ Pastis.tech #2
Présentation "Docker + Kubernetes" @ Pastis.tech #2Blue Forest
 
26.1.7 lab snort and firewall rules
26.1.7 lab   snort and firewall rules26.1.7 lab   snort and firewall rules
26.1.7 lab snort and firewall rulesFreddy Buenaño
 
Arnold Bechtoldt, Inovex GmbH Linux systems engineer - Configuration Manageme...
Arnold Bechtoldt, Inovex GmbH Linux systems engineer - Configuration Manageme...Arnold Bechtoldt, Inovex GmbH Linux systems engineer - Configuration Manageme...
Arnold Bechtoldt, Inovex GmbH Linux systems engineer - Configuration Manageme...SaltStack
 
Configuration Management with Saltstack
Configuration Management with SaltstackConfiguration Management with Saltstack
Configuration Management with Saltstackinovex GmbH
 
Puppet at Opera Sofware - PuppetCamp Oslo 2013
Puppet at Opera Sofware - PuppetCamp Oslo 2013Puppet at Opera Sofware - PuppetCamp Oslo 2013
Puppet at Opera Sofware - PuppetCamp Oslo 2013Cosimo Streppone
 
9 creating cent_os 7_mages_for_dpdk_training
9 creating cent_os 7_mages_for_dpdk_training9 creating cent_os 7_mages_for_dpdk_training
9 creating cent_os 7_mages_for_dpdk_trainingvideos
 
7 hands on
7 hands on7 hands on
7 hands onvideos
 
Linux hpc-cluster-setup-guide
Linux hpc-cluster-setup-guideLinux hpc-cluster-setup-guide
Linux hpc-cluster-setup-guidejasembo
 
Parrot Drones Hijacking
Parrot Drones HijackingParrot Drones Hijacking
Parrot Drones HijackingPriyanka Aash
 
Real World Experience of Running Docker in Development and Production
Real World Experience of Running Docker in Development and ProductionReal World Experience of Running Docker in Development and Production
Real World Experience of Running Docker in Development and ProductionBen Hall
 
FPC for the Masses - CoRIIN 2018
FPC for the Masses - CoRIIN 2018FPC for the Masses - CoRIIN 2018
FPC for the Masses - CoRIIN 2018Xavier Mertens
 
Android crash debugging
Android crash debuggingAndroid crash debugging
Android crash debuggingAshish Agrawal
 
FOSDEM'17: Disaster Recovery Management with ReaR (relax-and-recover) & DRLM ...
FOSDEM'17: Disaster Recovery Management with ReaR (relax-and-recover) & DRLM ...FOSDEM'17: Disaster Recovery Management with ReaR (relax-and-recover) & DRLM ...
FOSDEM'17: Disaster Recovery Management with ReaR (relax-and-recover) & DRLM ...Didac Oliveira
 
Google Cloud Platform for DeVops, by Javier Ramirez @ teowaki
Google Cloud Platform for DeVops, by Javier Ramirez @ teowakiGoogle Cloud Platform for DeVops, by Javier Ramirez @ teowaki
Google Cloud Platform for DeVops, by Javier Ramirez @ teowakijavier ramirez
 

Similar to Icinga Installer Configuration Guide (20)

Capistrano deploy Magento project in an efficient way
Capistrano deploy Magento project in an efficient wayCapistrano deploy Magento project in an efficient way
Capistrano deploy Magento project in an efficient way
 
OSMC 2019 | Use Cloud services & features in your redundant Icinga2 Environme...
OSMC 2019 | Use Cloud services & features in your redundant Icinga2 Environme...OSMC 2019 | Use Cloud services & features in your redundant Icinga2 Environme...
OSMC 2019 | Use Cloud services & features in your redundant Icinga2 Environme...
 
Présentation "Docker + Kubernetes" @ Pastis.tech #2
Présentation "Docker + Kubernetes" @ Pastis.tech #2Présentation "Docker + Kubernetes" @ Pastis.tech #2
Présentation "Docker + Kubernetes" @ Pastis.tech #2
 
26.1.7 lab snort and firewall rules
26.1.7 lab   snort and firewall rules26.1.7 lab   snort and firewall rules
26.1.7 lab snort and firewall rules
 
Arnold Bechtoldt, Inovex GmbH Linux systems engineer - Configuration Manageme...
Arnold Bechtoldt, Inovex GmbH Linux systems engineer - Configuration Manageme...Arnold Bechtoldt, Inovex GmbH Linux systems engineer - Configuration Manageme...
Arnold Bechtoldt, Inovex GmbH Linux systems engineer - Configuration Manageme...
 
Configuration Management with Saltstack
Configuration Management with SaltstackConfiguration Management with Saltstack
Configuration Management with Saltstack
 
Howto Pxeboot
Howto PxebootHowto Pxeboot
Howto Pxeboot
 
Puppet at Opera Sofware - PuppetCamp Oslo 2013
Puppet at Opera Sofware - PuppetCamp Oslo 2013Puppet at Opera Sofware - PuppetCamp Oslo 2013
Puppet at Opera Sofware - PuppetCamp Oslo 2013
 
9 creating cent_os 7_mages_for_dpdk_training
9 creating cent_os 7_mages_for_dpdk_training9 creating cent_os 7_mages_for_dpdk_training
9 creating cent_os 7_mages_for_dpdk_training
 
Touch your NetBSD
Touch your NetBSDTouch your NetBSD
Touch your NetBSD
 
7 hands on
7 hands on7 hands on
7 hands on
 
Linux hpc-cluster-setup-guide
Linux hpc-cluster-setup-guideLinux hpc-cluster-setup-guide
Linux hpc-cluster-setup-guide
 
Freeradius edir
Freeradius edirFreeradius edir
Freeradius edir
 
Parrot Drones Hijacking
Parrot Drones HijackingParrot Drones Hijacking
Parrot Drones Hijacking
 
Real World Experience of Running Docker in Development and Production
Real World Experience of Running Docker in Development and ProductionReal World Experience of Running Docker in Development and Production
Real World Experience of Running Docker in Development and Production
 
Instalasi Solr
Instalasi SolrInstalasi Solr
Instalasi Solr
 
FPC for the Masses - CoRIIN 2018
FPC for the Masses - CoRIIN 2018FPC for the Masses - CoRIIN 2018
FPC for the Masses - CoRIIN 2018
 
Android crash debugging
Android crash debuggingAndroid crash debugging
Android crash debugging
 
FOSDEM'17: Disaster Recovery Management with ReaR (relax-and-recover) & DRLM ...
FOSDEM'17: Disaster Recovery Management with ReaR (relax-and-recover) & DRLM ...FOSDEM'17: Disaster Recovery Management with ReaR (relax-and-recover) & DRLM ...
FOSDEM'17: Disaster Recovery Management with ReaR (relax-and-recover) & DRLM ...
 
Google Cloud Platform for DeVops, by Javier Ramirez @ teowaki
Google Cloud Platform for DeVops, by Javier Ramirez @ teowakiGoogle Cloud Platform for DeVops, by Javier Ramirez @ teowaki
Google Cloud Platform for DeVops, by Javier Ramirez @ teowaki
 

Recently uploaded

英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作qr0udbr0
 
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024StefanoLambiase
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio, Inc.
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWave PLM
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEEVICTOR MAESTRE RAMIREZ
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
 
What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...Technogeeks
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsAhmed Mohamed
 
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Matt Ray
 
Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Hr365.us smith
 
CRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceCRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceBrainSell Technologies
 
Introduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdfIntroduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdfFerryKemperman
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackVICTOR MAESTRE RAMIREZ
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmSujith Sukumaran
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaHanief Utama
 
How to Track Employee Performance A Comprehensive Guide.pdf
How to Track Employee Performance A Comprehensive Guide.pdfHow to Track Employee Performance A Comprehensive Guide.pdf
How to Track Employee Performance A Comprehensive Guide.pdfLivetecs LLC
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...Christina Lin
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxTier1 app
 
Folding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesFolding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesPhilip Schwarz
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureDinusha Kumarasiri
 

Recently uploaded (20)

英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作
 
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEE
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
 
What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML Diagrams
 
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
 
Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)
 
CRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceCRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. Salesforce
 
Introduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdfIntroduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdf
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStack
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalm
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief Utama
 
How to Track Employee Performance A Comprehensive Guide.pdf
How to Track Employee Performance A Comprehensive Guide.pdfHow to Track Employee Performance A Comprehensive Guide.pdf
How to Track Employee Performance A Comprehensive Guide.pdf
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
 
Folding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesFolding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a series
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with Azure
 

Icinga Installer Configuration Guide

  • 1. Follow Mode: ! 1/12 - 9% " Previous Next # PAUSED Icinga Installer The Simple Way to Manage Your Icinga Environment Lennart Betz Icinga Installer http://localhost:9090/#1 1 of 1 09.11.21, 10:43
  • 2. Follow Mode: ! 2/12 - 17% " Previous Next # PAUSED The Project • Launched: In the early days of 2020 • Based on other projects: ◦ Kafo (The Foreman, https://https://github.com/theforeman/kafo) ◦ Icinga Puppet modules ◦ Other third party modules (https://forge.puppet.com) • Packages: ◦ NETWAYS Monitoring Extras (https://packages.netways.de/extras) ◦ Debian 9-11, Ubuntu 18.04/20.04, EL7/8 Icinga Installer http://localhost:9090/#2 1 of 1 09.11.21, 10:40
  • 3. Follow Mode: ! 3/12 - 25% " Previous Next # PAUSED Project Target The installation of a server, worker or agent by a one-liner: To set up a preconfigured server: $ icinga-installer -S server-ido-pgsql | server-ido-mysql An agent with connection to the server: $ icinga-installer -S agent --agent-ca-server 192.168.3.2 --agent-parent-endpoints server.osmc.talk:host:192.168.3.2 Sends a certificate request to be signed by the server's CA. Icinga Installer http://localhost:9090/#3 1 of 1 09.11.21, 10:40
  • 4. Follow Mode: ! 4/12 - 34% " Previous Next # PAUSED The interactive Mode Or you want to perform, for example, a worker configuration in interactive mode: $ icinga-installer -i -S worker Welcome to the Worker installer! -------------------------------- This wizard will gather all required information. You can change any parameter to your needs. Ready to start? (y/n) y Main Config Menu 1. [✓] Configure install_repos 2. [✓] Configure install_worker 3. Display current config 4. Save and run 5. Cancel run without Saving Choose an option from the menu... 2 Icinga Installer http://localhost:9090/#4 1 of 1 09.11.21, 10:40
  • 5. Follow Mode: ! 5/12 - 42% " Previous Next # PAUSED The interactive Mode Module install_worker configuration 1. Enable/disable install_worker module, current value: true 2. Set ca_server, current value: UNDEF 3. Set zone, current value: UNDEF 4. Set parent_zone, current value: "main" 5. Set parent_endpoints, current value: UNDEF 6. Set global_zones, current value: ["linux-commands", ... ] 7. Set logging_type, current value: "syslog" 8. Set logging_level, current value: "critical" 9. Reset a parameter to its default value 10. Back to main menu Choose an option from the menu... 3 Parameter zone (of module install_worker) Name of the Icinga zone. Data type: string current value: "UNDEF" new value: dmz<CR> Icinga Installer http://localhost:9090/#5 1 of 1 09.11.21, 10:41
  • 6. Follow Mode: ! 6/12 - 50% " Previous Next # PAUSED Answer File All responses, whether interactive or via CLI options are saved to file: $ cat /etc/icinga-installer/scenarios.d/worker-answers.yaml install::worker: ca_server: 192.168.3.2 zone: dmz parent_zone: main parent_endpoints: server.osmc.talk: host: 192.168.3.2 global_zones: - linux-commands - windows-commands - global-templates - director-global logging_type: syslog logging_level: critical Will be read in when icinga-installer is run again. Icinga Installer http://localhost:9090/#6 1 of 1 09.11.21, 10:41
  • 7. Follow Mode: ! 7/12 - 59% " Previous Next # PAUSED Custom Config Complex configuration, e.g. a second worker, can also be done. However, this must be done in a separate file: $ vim /etc/icinga-installer/custom-hiera.yaml icinga::worker::colocation_endpoints: 'worker2.osmc.talk': host: 192.168.3.12 Or the otherwise simple configuration on the server side: icinga::server::workers: dmz: endpoints: 'worker1.osmc.talk': host: 192.168.3.11 'worker2.osmc.talk': host: 192.168.3.12 Icinga Installer http://localhost:9090/#7 1 of 1 09.11.21, 10:41
  • 8. Follow Mode: ! 8/12 - 67% " Previous Next # PAUSED Module Hierachy Icinga Installer http://localhost:9090/#8 1 of 1 09.11.21, 10:41
  • 9. Follow Mode: ! 9/12 - 75% " Previous Next # PAUSED Tuning For example to tune the PostgreSQL server: postgresql::server::config_entries: max_connections: 40 shared_buffers: 512MB effective_cache_size: 1536MB maintenance_work_mem: 256MB checkpoint_completion_target: 0.9 wal_buffers: 16MB default_statistics_target: 500 random_page_cost: 1.1 effective_io_concurrency: 200 maintenance_io_concurrency: 100 work_mem: 6553kB ... Icinga Installer http://localhost:9090/#9 1 of 1 09.11.21, 10:42
  • 10. Follow Mode: ! 10/12 - 84% " Previous Next # PAUSED Extend Configuration To secure your Icinga Web 2: apache::default_vhost: false apache::default_ssl_vhost: true apache::default_ssl_cert: /etc/pki/tls/certs/apache.crt apache::default_ssl_key: /etc/pki/tls/private/apache.key Icinga Installer http://localhost:9090/#10 1 of 1 09.11.21, 10:42
  • 11. Follow Mode: ! 11/12 - 92% " Previous Next # PAUSED Overwrite Answers To configure a second server: install::server::ca: false icinga::server::ca_server: 192.168.5.33 icinga::server::colocation_endpoints: ubuntu20.lbetz.localdomain: host: 192.168.5.33 Icinga Installer http://localhost:9090/#11 1 of 1 09.11.21, 10:42
  • 12. Follow Mode: ! 12/12 - 100% " Previous Next # PAUSED Thank You Thank you for your attention! Icinga Installer http://localhost:9090/#12 1 of 1 09.11.21, 10:42