Icinga2 setup on single node AlmaLinux 8.10 without Internet. Need steps to install icinga 2 on this server

We have AlmaLinux 8.10 test server. We have to install icinga2 right from scratch. This server has no internet connectivity. We have another server in our environment which has internet connectivity, but runs on RHEL 7.9.

Need step by step procedure or any link for downloading and installation of icinga2 on this server. Console should be accessible. Tried many ways, but no luck at installing icngaweb2.

I am not sure what we are missing, but it will be great if someone provides a clear documentation on the installation steps

Welcome to the Icinga Community and thanks for posting.

It’s difficult to provide specific help without knowing what failed for you. However, there is the Get Started guide, which is a tutorial one can follow.

Regarding the missing Internet connection, try mirroring the packages to a machine in your ā€œDMZā€, which has both Internet connection and can be reached from the internal machine as well. Otherwise, wget all packages from an online machine and sftp them to the target.

Thank you for your reply. Will try these steps and update here if I have face any issues during installation.

Here is the below error I am facing while trying to install. ICINGA (stable release for rhel) 556 B/s | 381 B 00:00
Errors during downloading metadata for repository ā€˜icinga-stable-release’:

Packages for Amazon Linux, Suse Linux Enterprise System (SLES) and Red Hat Enterprise Linux (RHEL) [and derivatives of RHEL like Alma/Rocky) are only availble via a paid subscription for some time now: Icinga Pricing and Subscription Options | Open Source Enterprise Monitoring

maybe think about switching to something like Ubuntu for the test server, where you get the packages without a subscription.

Thank you for the reply. But, we don’t use ubuntu in our environment. We only use Alma8.10 and RHEL8. Please suggest some way to install icinga in our environment.

start with a test server, you will learn so much and most likely want to throw away the first attempt anyway.

If you want to stay on the redhat side for testing, you might want to try the this very recent excellent Fedora Guide:

Or you apply for the Developer Subscription if your monitoring is for up to 20 Hosts

The maximum number of hosts monitored with Icinga must not exceed twenty (20).

Or you ask for the ā€œIncl. 60-day free trialā€ which is in the fine print of Repository Subscription right below the price

Well beside that it is an enterpise environment and therefore you would need a subscription for the packages.

You would need the following Packages for the manual install without internet connection.

Depending on your setup you also need to consider that you also would need the packages for a webserver (apache2/nginx/caddy), also possibly a database (mysql/mariadb/postgres) and when you want to use the webinterface also php. Depending on the enterprise distribution the last included version might be php7.2 but the latest icingaweb2/icingadb-web requires at minimum php8.2. for enterprise linux 8.

So there you would also need to download those packages offline as well.

Anyhow the required Packages would be the following for the components to be installed manually:

Icinga2:

icinga2-bin-2.14.2-1.el8.x86_64.rpm
icinga2-common-2.14.2-1.el8.x86_64.rpm
icinga2-doc-2.14.2-1.el8.x86_64.rpm
icinga2-2.14.2-1.el8.x86_64.rpm

for a successful install command all those would be needed in the same location/folder and the following command would be this

dnf install ./icinga2-bin-2.14.2-1.el8.x86_64.rpm ./icinga2-common-2.14.2-1.el8.x86_64.rpm ./icinga2-doc-2.14.2-1.el8.x86_64.rpm ./icinga2-2.14.2-1.el8.x86_64.rpm

For the Web-Interface:

icingadb-web-1.4.0-1.el8.noarch.rpm
icinga-php-library-0.19.2-1.el8.noarch.rpm
icinga-php-thirdparty-0.15.3-1.el8.noarch.rpm
icingaweb2-2.13.0-1.el8.noarch.rpm
icinga-l10n-1.3.0-1.el8.noarch.rpm
icingacli-2.13.0-1.el8.noarch.rpm
icingaweb2-common-2.13.0-1.el8.noarch.rpm
php-icinga-2.13.0-1.el8.noarch.rpm

The install command for the web-interface would be

dnf install ./icingadb-web-1.4.0-1.el8.noarch.rpm ./icinga-php-library-0.19.2-1.el8.noarch.rpm ./icinga-php-thirdparty-0.15.3-1.el8.noarch.rpm ./icingaweb2-2.13.0-1.el8.noarch.rpm ./icinga-l10n-1.3.0-1.el8.noarch.rpm ./icingacli-2.13.0-1.el8.noarch.rpm  ./icingaweb2-common-2.13.0-1.el8.noarch.rpm ./php-icinga-2.13.0-1.el8.noarch.rpm

As an reminder to myself you also would need to import the signing key from the repository otherwise dnf would complain that the key is missing.

so the icinga.key would also be needed.

rpm --import icinga.key

So that the signed packages don’t complain during install.

Regards

David