We use Oracle Linux 8.10 as our main distribution and I have managed to install Icinga v2.14.3 from ftp.halifax.rwth-aachen.de however I am unable to find icingacli in the RPM install.
Is it possible to build it for RHEL/Centos8/Oracle Linux ?
Without if I have not been able to enable any modules etc.
Hi @Sid,
I think there is a misunderstanding here. icingacli is the cli “tool” for and provided by Icinga Web 2", a web interface for Icinga setups. Icinga 2 itself is “only” the monitoring and configuration daemon.
One question upfront:
How many machines do you want to monitor using icinga2?
“Oracle Linux 8.10 requires a subscription for new packages. You can Use Debian or Ubuntu, OpenSuse or Fedora these packages are officially publicly available”
Icingacli is the command to talk to icingaweb2 which is not definitly not available as a recent release for centos8.
The centos packages are still there but the link was removed:
Since RedHat dropped the support for Centos8, Icinga stopped building packages for that in favor for their binary compatible enterprise packages available through subscription, with the exception for 2.14.3, this explains the gaps and the fact that icinga 2.15 is not available in this folders.
Is it possible to build it for RHEL/Centos8/Oracle Linux ?
If you want to build your packages you can use the fedora ones and rewrite the spec files, sometimes this works with the mock command too, but I have no experience with that:
Without if I have not been able to enable any modules etc.
you can enable modules for icingaweb2 in the webinterface but since your icingaweb2 will be outdated with the centos8 packages, you should run into other problems.
If you want to monitor RHEL derivate machines, get a subscription, if you want to try out icinga2 and its infinite monitoring capabilities you can use Debian or Ubuntu, OpenSuse or Fedora these packages are officially publicly available.
Just to clarify, Oracle Linux does not require a subscription it is free and fully supported right up to 9.5 and beyond.
All up about 100 VM’s to monitor but I may split these across Icinga Instances. I would not call the Base install a mess by any means. Since posting I have found the icingacli tool in the codebase and symlinked it to /usr/bin/icingacli but it does generate lots of warnings which I will need to investigate.
Yes I understand that, I didn’t clarify that in all the RPM’s I installed I didn’t initially find it, however I have located it in the Icingaweb2 code in /usr/share… it generates errors under PHP 8.2 so I have more investigation to do.
I decided to image an Ubuntu server VM using an Ubuntu 24.04.2 LTS ISO. Built a working instance of Icinga, Icingaweb2 and x509 certificate monitoring, very straight forward.
Pushed out the host and service configurations using saltstack (no Icinga Director) and that works fine between platforms. I did need to do an “apt-get install snmp-mibs-downloader -y” to get the check_snmp plugins working. Otherwise everything worked first go.