in our company i’m setting up an Icinga2 Three-Level-System and have a lot of questions here.
The docs are my daily newspaper but i have still questions.
First of all i must say, that i will automate the Icinga2 Setup for all instances (Master,Satellite,Agents,Icingaweb2,MySQL DB) completely with Saltstack, because we are using Saltstack for all our automation stuff here in our infrastructure.
We are using Debian Buster.
When i was setting up a first test environment manually i figured out that all docs are only describing the the setup of Icinga2 instances via the “node setup wizard”.
Now i must know all the magic about the steps what is this wizard doing.
Here is a list of me with things i found out that i have to do in Saltstack without the node setup wizard:
- Install Icinga2 Debian package
- Install python3 packages which are required for Saltstack to do MySQL Stuff
- Install Icingaweb2
- Install MariaDB Server
- Manage configuration files
** folders and files under zones.d/
** files under /etc/icinga2/features-enabled/* (–> symlink to &etc/icinga2/features-available/*)
- Icinga2 Master:
** deactivate inclusion of /etc/icinga2/conf.d/
** create certificates from self signed pki of Icinga2 Api Setup for all Icinga2 Instances (Master,Satellite,Agents,Icingaweb2,MySQL DB)
** sign all created certificates for all Icinga2 Instances
** copy the cert files to each Icinga2 Instance under /var/lib/icinga2/certs -> including ca.crt
Of course i have a lot things to do but this is my situation at the moment and i need help to get all steps in mind to set it up in Saltstack.
After we get this finished i wanted to write all things down here to share the knowledge of my trip with Icinga2 and Saltstack.
So please help me with your knowledge about the steps that the “node setup wizard is doing” or i have to do.