SlideShare a Scribd company logo
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 Installation
Nagios
 
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
 
Nagios intro
Nagios intro Nagios intro
Nagios intro
Hsi-Kai Wang
 
How to monitor NGINX
How to monitor NGINXHow to monitor NGINX
How to monitor NGINX
Server Density
 
Nagios
NagiosNagios
Nagios
guest7e7e305
 
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
Zabbix
 
Elk for applications on k8s
Elk for applications on k8sElk for applications on k8s
Elk for applications on k8s
Che-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 after
Antoine 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 XI
Nagios
 
Zabbix 3.2 presentation June 2017
Zabbix 3.2 presentation June 2017Zabbix 3.2 presentation June 2017
Zabbix 3.2 presentation June 2017
Amirhossein 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 Tricks
Nagios
 
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 NGINX
NGINX, 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 laptop
Lorin 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 APIs
Nagios
 
Learn nginx in 90mins
Learn nginx in 90minsLearn nginx in 90mins
Learn nginx in 90mins
Larry Cai
 
Nrpe
NrpeNrpe
Nginx internals
Nginx internalsNginx internals
Nginx internals
liqiang 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 OSMC 2021 | Icinga-Installer – the easy way to your Icinga

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
Sylvain 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 #2
Blue 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 rules
Freddy Buenaño
 
Configuration Management with Saltstack
Configuration Management with SaltstackConfiguration Management with Saltstack
Configuration Management with Saltstack
inovex GmbH
 
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
 
Howto Pxeboot
Howto PxebootHowto Pxeboot
Howto Pxeboot
Rogério Sampaio
 
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
Cosimo 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_training
videos
 
Touch your NetBSD
Touch your NetBSDTouch your NetBSD
Touch your NetBSD
Pierre Pronchery
 
7 hands on
7 hands on7 hands on
7 hands on
videos
 
Linux hpc-cluster-setup-guide
Linux hpc-cluster-setup-guideLinux hpc-cluster-setup-guide
Linux hpc-cluster-setup-guide
jasembo
 
Freeradius edir
Freeradius edirFreeradius edir
Freeradius edir
Jonas Segovia Velazquez
 
Parrot Drones Hijacking
Parrot Drones HijackingParrot Drones Hijacking
Parrot Drones Hijacking
Priyanka 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 Production
Ben Hall
 
Instalasi Solr
Instalasi SolrInstalasi Solr
Instalasi Solr
Dwi Fajar Saputra
 
FPC for the Masses - CoRIIN 2018
FPC for the Masses - CoRIIN 2018FPC for the Masses - CoRIIN 2018
FPC for the Masses - CoRIIN 2018
Xavier Mertens
 
Android crash debugging
Android crash debuggingAndroid crash debugging
Android crash debugging
Ashish 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 @ teowaki
javier ramirez
 

Similar to OSMC 2021 | Icinga-Installer – the easy way to your Icinga (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
 
Configuration Management with Saltstack
Configuration Management with SaltstackConfiguration Management with Saltstack
Configuration Management with Saltstack
 
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...
 
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

Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)
Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)
Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)
safelyiotech
 
Fundamentals of Programming and Language Processors
Fundamentals of Programming and Language ProcessorsFundamentals of Programming and Language Processors
Fundamentals of Programming and Language Processors
Rakesh Kumar R
 
Modelling Up - DDDEurope 2024 - Amsterdam
Modelling Up - DDDEurope 2024 - AmsterdamModelling Up - DDDEurope 2024 - Amsterdam
Modelling Up - DDDEurope 2024 - Amsterdam
Alberto Brandolini
 
Project Management: The Role of Project Dashboards.pdf
Project Management: The Role of Project Dashboards.pdfProject Management: The Role of Project Dashboards.pdf
Project Management: The Role of Project Dashboards.pdf
Karya Keeper
 
Oracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptxOracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptx
Remote DBA Services
 
GreenCode-A-VSCode-Plugin--Dario-Jurisic
GreenCode-A-VSCode-Plugin--Dario-JurisicGreenCode-A-VSCode-Plugin--Dario-Jurisic
GreenCode-A-VSCode-Plugin--Dario-Jurisic
Green Software Development
 
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling ExtensionsUI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
Peter Muessig
 
UI5con 2024 - Bring Your Own Design System
UI5con 2024 - Bring Your Own Design SystemUI5con 2024 - Bring Your Own Design System
UI5con 2024 - Bring Your Own Design System
Peter Muessig
 
What next after learning python programming basics
What next after learning python programming basicsWhat next after learning python programming basics
What next after learning python programming basics
Rakesh Kumar R
 
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
Bert Jan Schrijver
 
Using Query Store in Azure PostgreSQL to Understand Query Performance
Using Query Store in Azure PostgreSQL to Understand Query PerformanceUsing Query Store in Azure PostgreSQL to Understand Query Performance
Using Query Store in Azure PostgreSQL to Understand Query Performance
Grant Fritchey
 
Enums On Steroids - let's look at sealed classes !
Enums On Steroids - let's look at sealed classes !Enums On Steroids - let's look at sealed classes !
Enums On Steroids - let's look at sealed classes !
Marcin Chrost
 
E-commerce Development Services- Hornet Dynamics
E-commerce Development Services- Hornet DynamicsE-commerce Development Services- Hornet Dynamics
E-commerce Development Services- Hornet Dynamics
Hornet Dynamics
 
Mobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona InfotechMobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona Infotech
Drona Infotech
 
The Key to Digital Success_ A Comprehensive Guide to Continuous Testing Integ...
The Key to Digital Success_ A Comprehensive Guide to Continuous Testing Integ...The Key to Digital Success_ A Comprehensive Guide to Continuous Testing Integ...
The Key to Digital Success_ A Comprehensive Guide to Continuous Testing Integ...
kalichargn70th171
 
Lecture 2 - software testing SE 412.pptx
Lecture 2 - software testing SE 412.pptxLecture 2 - software testing SE 412.pptx
Lecture 2 - software testing SE 412.pptx
TaghreedAltamimi
 
SQL Accounting Software Brochure Malaysia
SQL Accounting Software Brochure MalaysiaSQL Accounting Software Brochure Malaysia
SQL Accounting Software Brochure Malaysia
GohKiangHock
 
14 th Edition of International conference on computer vision
14 th Edition of International conference on computer vision14 th Edition of International conference on computer vision
14 th Edition of International conference on computer vision
ShulagnaSarkar2
 
fiscal year variant fiscal year variant.
fiscal year variant fiscal year variant.fiscal year variant fiscal year variant.
fiscal year variant fiscal year variant.
AnkitaPandya11
 
How to write a program in any programming language
How to write a program in any programming languageHow to write a program in any programming language
How to write a program in any programming language
Rakesh Kumar R
 

Recently uploaded (20)

Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)
Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)
Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)
 
Fundamentals of Programming and Language Processors
Fundamentals of Programming and Language ProcessorsFundamentals of Programming and Language Processors
Fundamentals of Programming and Language Processors
 
Modelling Up - DDDEurope 2024 - Amsterdam
Modelling Up - DDDEurope 2024 - AmsterdamModelling Up - DDDEurope 2024 - Amsterdam
Modelling Up - DDDEurope 2024 - Amsterdam
 
Project Management: The Role of Project Dashboards.pdf
Project Management: The Role of Project Dashboards.pdfProject Management: The Role of Project Dashboards.pdf
Project Management: The Role of Project Dashboards.pdf
 
Oracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptxOracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptx
 
GreenCode-A-VSCode-Plugin--Dario-Jurisic
GreenCode-A-VSCode-Plugin--Dario-JurisicGreenCode-A-VSCode-Plugin--Dario-Jurisic
GreenCode-A-VSCode-Plugin--Dario-Jurisic
 
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling ExtensionsUI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
 
UI5con 2024 - Bring Your Own Design System
UI5con 2024 - Bring Your Own Design SystemUI5con 2024 - Bring Your Own Design System
UI5con 2024 - Bring Your Own Design System
 
What next after learning python programming basics
What next after learning python programming basicsWhat next after learning python programming basics
What next after learning python programming basics
 
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
 
Using Query Store in Azure PostgreSQL to Understand Query Performance
Using Query Store in Azure PostgreSQL to Understand Query PerformanceUsing Query Store in Azure PostgreSQL to Understand Query Performance
Using Query Store in Azure PostgreSQL to Understand Query Performance
 
Enums On Steroids - let's look at sealed classes !
Enums On Steroids - let's look at sealed classes !Enums On Steroids - let's look at sealed classes !
Enums On Steroids - let's look at sealed classes !
 
E-commerce Development Services- Hornet Dynamics
E-commerce Development Services- Hornet DynamicsE-commerce Development Services- Hornet Dynamics
E-commerce Development Services- Hornet Dynamics
 
Mobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona InfotechMobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona Infotech
 
The Key to Digital Success_ A Comprehensive Guide to Continuous Testing Integ...
The Key to Digital Success_ A Comprehensive Guide to Continuous Testing Integ...The Key to Digital Success_ A Comprehensive Guide to Continuous Testing Integ...
The Key to Digital Success_ A Comprehensive Guide to Continuous Testing Integ...
 
Lecture 2 - software testing SE 412.pptx
Lecture 2 - software testing SE 412.pptxLecture 2 - software testing SE 412.pptx
Lecture 2 - software testing SE 412.pptx
 
SQL Accounting Software Brochure Malaysia
SQL Accounting Software Brochure MalaysiaSQL Accounting Software Brochure Malaysia
SQL Accounting Software Brochure Malaysia
 
14 th Edition of International conference on computer vision
14 th Edition of International conference on computer vision14 th Edition of International conference on computer vision
14 th Edition of International conference on computer vision
 
fiscal year variant fiscal year variant.
fiscal year variant fiscal year variant.fiscal year variant fiscal year variant.
fiscal year variant fiscal year variant.
 
How to write a program in any programming language
How to write a program in any programming languageHow to write a program in any programming language
How to write a program in any programming language
 

OSMC 2021 | Icinga-Installer – the easy way to your Icinga

  • 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