Upgrade icinga master from RHEL7 to RHEL8

Good morning

We have an icinga master node running in RHEL7. As RHEL7 is going to EOS, customer requests to upgrade the server to RHEL8. Any suggestions about how to proceed?

-icinga2 --version
icinga2 - The Icinga 2 network monitoring daemon (version: 2.13.2-1)

Copyright (c) 2012-2023 Icinga GmbH (https://icinga.com/)
License GPLv2+: GNU GPL version 2 or later https://gnu.org/licenses/gpl2.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

System information:
Platform: Red Hat Enterprise Linux Server
Platform version: 7.9 (Maipo)
Kernel: Linux
Kernel version: 3.10.0-1160.92.1.el7.x86_64
Architecture: x86_64

-icinga2 feature list:
Disabled features: compatlog debuglog elasticsearch gelf graphite icingadb influxdb2 livestatus opentsdb perfdata statusdata syslog
Enabled features: api checker command ido-mysql influxdb mainlog notification

Hello :slight_smile:

Icinga requires a paid subscription for RHEL8+ (and other Enterprise Linux)
(Icinga » Subscriptions)
Or you/the customer can think about an extended support contract for RHEL7.

So you (or the customer) will need to calculate, I guess.
I don’t know which would come cheaper.

Additionally one also could build the RHEL8 packages from source themselves, as Icinga is still opensource. The internet should provide docs on how to do something like that.

From the update perspective (very basic description):

  • Update the existing install to the latest available version.
  • do the RHEL8 update
  • add new package sources for rhel8
  • check for Icinga updates

Speaking as one who does this frequently on Ubuntu systems I can say that there are rarely problem on the Icinga-side with inplace-upgrade of the underlying system.

1 Like

Thanks for the answer.

But regarding the upgrade steps, which files/folders do i need to backup first? We need to keep the icinga director, zones, etc.

Backup should at least be the /etc/icinga2 folder, the /var/lib/icinga2 folder and the respective databases of icinga2/icingaweb/icingadirector.