We have come to a point where we need to scale up our environment and I want to make the server that is running to a master since I didn’t do it when it was installed (which in retrospect is stupid) because we rather had it split up between one machine in the production environment, one for the test environment and one in the clouds to make a long story short.
Now the production machine needs to be run as a master with adding one or more satellites to grant monitoring for different zones that need to monitor different things.
And I’ve been googling and looking in the forum etc for the last week without having answers to my biggest concern, is it possible to do this without wiping the configuration for the checks that are set up, because it would be a great deal of work to restore the functionality if that was the case.
This is what I’m having to deal with today:
Version used icinga2 2.12.1-1, will be upgraded to 2.12.3 in the coming days.
Operating System: RHEL8
Enabled features api checker command ido-mysql influxdb mainlog notification
Icinga Web 2 2.8.2
% declared in ‘/etc/icinga2/zones.conf’, lines 7:1-7:24
- __name = “the.machine.that.i.work.with”
- host = “the.machine.that.i.work.with”
% = modified in ‘/etc/icinga2/zones.conf’, lines 8:3-8:17
- log_duration = 86400
- name = “the.machine.that.i.work.with”
- package = “_etc”
- port = “5665”
- first_column = 1
- first_line = 7
- last_column = 24
- last_line = 7
- path = “/etc/icinga2/zones.conf”
- templates = [ “the.machine.that.i.work.with” ]
% = modified in ‘/etc/icinga2/zones.conf’, lines 7:1-7:24
- type = “Endpoint”
- zone = “”
Thanks for any feedback and insights regarding this.