Page 1 of 1

Nagios latest on RHEL8

Posted: Wed Sep 08, 2021 4:12 am
by mrmit
I am disappointed in the lack of support for RHEL8 7.4 from Nagios 5.8.5. It installs with php7.2 and there are none of the crucial dependencies for php 7.4, namely php-imap and php-pecl-ssh2.
When will you provide a repository for it?

And why do you install MySQL 8.0 as default instead of MariaDB on a clean RHEL8.4?

Re: Nagios latest on RHEL8

Posted: Wed Sep 08, 2021 1:14 pm
by ssax
We use the OS vendor's default packages. php-imap and php-pecl-ssh2 should be installable on PHP 7.2.

You can upgrade your PHP to 7.4 following this guide:

https://support.nagios.com/kb/article/n ... 7-860.html

EDIT: It was a development decision to use MySQL 8. As an alternative you can offline your DB and use MariaDB if you'd like:

https://assets.nagios.com/downloads/nag ... Server.pdf

Re: Nagios latest on RHEL8

Posted: Thu Sep 09, 2021 2:05 am
by mrmit
You include php-imap and php-pecl-ssh2 in your dependency repository, but only for PHP7.2 - which ensures it is not possible to upgrade to 7.4 with RedHats own repositories.
The guide you refer to does not have a section for RHEL8, but the RHEL7 one describes using other non-standard repositories, namely REMI, which is not acceptable in our environment.

You should just include php7.4 versions of your dependency packages in your repo, then it would work great.

Re: Nagios latest on RHEL8

Posted: Thu Sep 09, 2021 4:21 pm
by benjaminsmith
HI,
You should just include php7.4 versions of your dependency packages in your repo, then it would work great
Noted. I'd be happy to submit a feature request with the dev team for using php7.4 on RHEL if you'd like.

As Sean mentioned, we support a number of operating systems (Ubuntu, Debian, Oracle, RHEL, Cent) for XI, and rely on the default packages provided by the vendor for maintainability.

Regards,
Benjamin

Re: Nagios latest on RHEL8

Posted: Thu Sep 16, 2021 2:35 am
by mrmit
Yes please, I would love a feature request for that - and also for the next versions!!..

Re: Nagios latest on RHEL8

Posted: Thu Sep 16, 2021 11:17 am
by benjaminsmith
Hi @mrmit,

Got that submitted for you. Appreciate your feedback.

Let us know if you have need anything else or if we may close this topic. Regards, Benjamin