NRPE agent install fails on RHEL / CentOS 8.3

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

NRPE agent install fails on RHEL / CentOS 8.3

Post by WillemDH »

Hello,

NRPE Agent fails to install on RHEL / CentOS 8.3, as it requires the rpm package centos-release in get-os-info which is called by fullinstall.

centos-release no longer exists in 8.3 and is replaced by centos-linux-release

So as a temporary workaround we replaced:

Code: Select all

    if rpm -q centos-release; then
By

Code: Select all

    if rpm -q centos-linux-release; then

But it would be nice if this was added by nagios, so this happens out of the box.

Grtz

Willem
Nagios XI 5.8.1
https://outsideit.net
dchurch
Posts: 858
Joined: Wed Oct 07, 2020 12:46 pm
Location: Yo mama

Re: NRPE agent install fails on RHEL / CentOS 8.3

Post by dchurch »

Great! If it's working for you now, it sounds like you successfully squashed this bug.

You can feel free to submit an issue or a pull request to the NCPA GitHub project. If you're not comfortable doing that, I would be happy to do it for you.
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.

Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
jomann
Development Lead
Posts: 611
Joined: Mon Apr 22, 2013 10:06 am
Location: Nagios Enterprises

Re: NRPE agent install fails on RHEL / CentOS 8.3

Post by jomann »

Thanks Willem, the linux-nrpe.agent.tar.gz has been updated with changes to fix this.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked