Nagios xi server OS patching issue

This support forum board is for support questions relating to Nagios xi, our flagship commercial network monitoring solution.
kbauma01
Posts: 43
Joined: Wed May 25, 2022 6:39 am

Nagios xi server OS patching issue

Post by kbauma01 »

I am trying to yum update my xi server running on Red Hat 8 and I am getting errors. I am using this document from their site. https://repo.nagios.com/?repo=rpm-rhel

I checked my repo list and it has what is needed. Any help is appreciated!

ansible-2.8-for-rhel-8-x86_64-rpms Red Hat Ansible Engine 2.8 for RHEL 8 x86_64 (RPMs)
codeready-builder-for-rhel-8-x86_64-rpms Red Hat CodeReady Linux Builder for RHEL 8 x86_64 (RPMs)
nagios-base Nagios
nagiosxi-deps Nagios xi Dependencies
rhel-8-for-x86_64-appstream-rpms Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs)
rhel-8-for-x86_64-baseos-rpms Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs)
rhel-8-for-x86_64-supplementary-rpms Red Hat Enterprise Linux 8 for x86_64 - Supplementary (RPMs)

# rpm -Uvh https://repo.nagios.com/nagios/8/nagios ... noarch.rpm
Retrieving https://repo.nagios.com/nagios/8/nagios ... noarch.rpm
Verifying... ################################# [100%]
Preparing... ################################# [100%]
package nagios-repo-8-1.el8.noarch is already installed


#yum install epel-release -y

Updating Subscription Management repositories.
Red Hat CodeReady Linux Builder for RHEL 8 x86_64 (RPMs) 70 kB/s | 2.9 kB 00:00
EnterpriseDB RPMs 8 - x86_64 51 kB/s | 1.7 kB 00:00
EPEL Extra Packages for Enterprise Linux 8 - x86_64 73 kB/s | 2.3 kB 00:00
Package epel-release-8-19.el8.noarch is already installed.
Dependencies resolved.
Nothing to do.
Complete!

# yum -y install https://dl.fedoraproject.org/pub/epel/e ... noarch.rpm

Updating Subscription Management repositories.
Red Hat CodeReady Linux Builder for RHEL 8 x86_64 (RPMs) 99 kB/s | 2.9 kB 00:00
EnterpriseDB RPMs 8 - x86_64 61 kB/s | 1.7 kB 00:00
EPEL Extra Packages for Enterprise Linux 8 - x86_64 94 kB/s | 2.3 kB 00:00
epel-release-latest-8.noarch.rpm 92 kB/s | 25 kB 00:00
Package epel-release-8-19.el8.noarch is already installed.
Dependencies resolved.
Nothing to do.
Complete!

# subscription-manager repos --enable codeready-builder-for-rhel-8-x86_64-rpms
Repository 'codeready-builder-for-rhel-8-x86_64-rpms' is enabled for this system.

# yum update nagiosxi

Updating Subscription Management repositories.
Red Hat CodeReady Linux Builder for RHEL 8 x86_64 (RPMs) 97 kB/s | 2.9 kB 00:00
EnterpriseDB RPMs 8 - x86_64 69 kB/s | 1.7 kB 00:00
EPEL Extra Packages for Enterprise Linux 8 - x86_64 97 kB/s | 2.3 kB 00:00
Package nagiosxi available, but not installed.
No match for argument: nagiosxi
Error: No packages marked for upgrade.

#yum update nagios

Updating Subscription Management repositories.
Red Hat CodeReady Linux Builder for RHEL 8 x86_64 (RPMs) 76 kB/s | 2.9 kB 00:00
EnterpriseDB RPMs 8 - x86_64 42 kB/s | 1.7 kB 00:00
EPEL Extra Packages for Enterprise Linux 8 - x86_64 93 kB/s | 2.3 kB 00:00
Package nagios available, but not installed.
No match for argument: nagios
Error: No packages marked for upgrade.

# rpm -qa|grep nagios
nagios-repo-8-1.el8.noarch
nagiosxi-deps-el8-5.11.1-1.noarch
cbyers
Posts: 11
Joined: Mon Sep 19, 2022 12:53 pm

Re: Nagios xi server OS patching issue

Post by cbyers »

I think that there is a chance it was installed via a source install. Could you please send me a System profile for me to confirm your install type.
Cody Byers
kbauma01
Posts: 43
Joined: Wed May 25, 2022 6:39 am

Re: Nagios xi server OS patching issue

Post by kbauma01 »

Figured this out. Patching went fine, did not need an upgrade of xi.

Apparently there were older packages left behind and that was giving some audit violations. All cleared up!
cbyers
Posts: 11
Joined: Mon Sep 19, 2022 12:53 pm

Re: Nagios xi server OS patching issue

Post by cbyers »

Ok, I am glad everything is resolved.
Cody Byers
otisjame
Posts: 12
Joined: Mon Sep 18, 2023 11:54 pm

Re: Nagios xi server OS patching issue

Post by otisjame »

kbauma01 wrote: Tue Aug 22, 2023 9:12 am I am trying to yum update my xi server running on Red Hat 8 and I am getting errors. I am using this document from their site. https://repo.nagios.com/?repo=rpm-rhel

I checked my repo list and it has what is needed. Any help is appreciated!

ansible-2.8-for-rhel-8-x86_64-rpms Red Hat Ansible Engine 2.8 for RHEL 8 x86_64 (RPMs)
codeready-builder-for-rhel-8-x86_64-rpms Red Hat CodeReady Linux Builder for RHEL 8 x86_64 (RPMs)
nagios-base Nagios
nagiosxi-deps Nagios xi Dependencies
rhel-8-for-x86_64-appstream-rpms Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs)
rhel-8-for-x86_64-baseos-rpms Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs)
rhel-8-for-x86_64-supplementary-rpms Red Hat Enterprise Linux 8 for x86_64 - Supplementary (RPMs)

# rpm -Uvh https://repo.nagios.com/nagios/8/nagios ... noarch.rpm
Retrieving https://repo.nagios.com/nagios/8/nagios ... noarch.rpm
Verifying... ################################# [100%]
Preparing... ################################# [100%]
package nagios-repo-8-1.el8.noarch is already installed


#yum install epel-release -y

Updating Subscription Management repositories.
Red Hat CodeReady Linux Builder for RHEL 8 x86_64 (RPMs) 70 kB/s | 2.9 kB 00:00
EnterpriseDB RPMs 8 - x86_64 51 kB/s | 1.7 kB 00:00
EPEL Extra Packages for Enterprise Linux 8 - x86_64 73 kB/s | 2.3 kB 00:00
Package epel-release-8-19.el8.noarch is already installed.
Dependencies resolved.
Nothing to do.
Complete!

# yum -y install https://dl.fedoraproject.org/pub/epel/e ... noarch.rpm pixel speedrun

Updating Subscription Management repositories.
Red Hat CodeReady Linux Builder for RHEL 8 x86_64 (RPMs) 99 kB/s | 2.9 kB 00:00
EnterpriseDB RPMs 8 - x86_64 61 kB/s | 1.7 kB 00:00
EPEL Extra Packages for Enterprise Linux 8 - x86_64 94 kB/s | 2.3 kB 00:00
epel-release-latest-8.noarch.rpm 92 kB/s | 25 kB 00:00
Package epel-release-8-19.el8.noarch is already installed.
Dependencies resolved.
Nothing to do.
Complete!

# subscription-manager repos --enable codeready-builder-for-rhel-8-x86_64-rpms
Repository 'codeready-builder-for-rhel-8-x86_64-rpms' is enabled for this system.

# yum update nagiosxi

Updating Subscription Management repositories.
Red Hat CodeReady Linux Builder for RHEL 8 x86_64 (RPMs) 97 kB/s | 2.9 kB 00:00
EnterpriseDB RPMs 8 - x86_64 69 kB/s | 1.7 kB 00:00
EPEL Extra Packages for Enterprise Linux 8 - x86_64 97 kB/s | 2.3 kB 00:00
Package nagiosxi available, but not installed.
No match for argument: nagiosxi
Error: No packages marked for upgrade.

#yum update nagios

Updating Subscription Management repositories.
Red Hat CodeReady Linux Builder for RHEL 8 x86_64 (RPMs) 76 kB/s | 2.9 kB 00:00
EnterpriseDB RPMs 8 - x86_64 42 kB/s | 1.7 kB 00:00
EPEL Extra Packages for Enterprise Linux 8 - x86_64 93 kB/s | 2.3 kB 00:00
Package nagios available, but not installed.
No match for argument: nagios
Error: No packages marked for upgrade.

# rpm -qa|grep nagios
nagios-repo-8-1.el8.noarch
nagiosxi-deps-el8-5.11.1-1.noarch
Double-check the repository configuration to ensure it's correctly set up for Nagios xi updates. Make sure that the repository URLs are accurate and that there are no typos.