The Linux Agent install doesn't work

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
aulusow
Posts: 18
Joined: Tue May 24, 2016 2:02 pm

The Linux Agent install doesn't work

Post by aulusow »

Hi,
It seems the linux agent install fails with below error.
[root@ppmtomgui-dm linux-nrpe-agent]# ./fullinstall
n/a is not currently supported. Please use either Red Hat, CentOS, Oracle Linux, SUSE Enterprise, OpenSUSE, Ubuntu, or Debian.

[root@ppmtomgui-dm linux-nrpe-agent]# lsb_release -a
LSB Version: :core-4.0-amd64:core-4.0-ia32:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-ia32:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-ia32:printing-4.0-noarch
Distributor ID: n/a
Description: redhat-4
Release: n/a
Codename: n/a
[root@ppmtomgui-dm linux-nrpe-agent]# lsb_release -r
Release: n/a
[root@ppmtomgui-dm linux-nrpe-agent]# lsb_release -r -s
n/a
[root@ppmtomgui-dm linux-nrpe-agent]# cat /etc/issue
Red Hat Enterprise Linux Server release 5.8 (Tikanga)
Kernel \r on an \m

[root@ppmtomgui-dm linux-nrpe-agent]# uname -i
x86_64
[root@ppmtomgui-dm linux-nrpe-agent]# cat /etc/redhat-release
redhat-4

Please advise I am unable to run ./fullinstall script.
Many Thanks,
Abdirasaq
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: The Linux Agent install doesn't work

Post by eloyd »

It looks like you have two different versions of RHEL running.

The following command should show the definitive version:

Code: Select all

lsb_release -i -r
https://www.nagios.com/products/nagios-xi/#systemreqs says that Nagios XI requires CentOS or Redhat Enterprise Linux (RHEL) versions 5, 6, or 7, but it looks like you're actually running v4.
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
aulusow
Posts: 18
Joined: Tue May 24, 2016 2:02 pm

Re: The Linux Agent install doesn't work

Post by aulusow »

Hi,
[root@ppmtomgui-dm linux-nrpe-agent]# lsb_release -i -r
Distributor ID: n/a
Release: n/a

Please advise.
Thanks,
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: The Linux Agent install doesn't work

Post by lmiltchev »

Can you provide us with the download link to the Linux Agent that you used?

Also, run the following command on the remote box, and show the output:

Code: Select all

rpm -qi --whatprovides /etc/redhat-release
Be sure to check out our Knowledgebase for helpful articles and solutions!
aulusow
Posts: 18
Joined: Tue May 24, 2016 2:02 pm

Re: The Linux Agent install doesn't work

Post by aulusow »

Hi,
The download link is as below:
wget https://assets.nagios.com/downloads/nag ... ent.tar.gz

Below is the command on the remote box and the output:
[root@ppmtomgui-dm ~]# rpm -qi --whatprovides /etc/redhat-release
Name : redhat-release Relocations: (not relocatable)
Version : 5Server Vendor: Red Hat, Inc.
Release : 5.8.0.3 Build Date: Tue 24 Jan 2012 04:20:07 AM EST
Install Date: Thu 06 Sep 2012 03:31:39 PM EDT Build Host: x86-008.build.bos.redhat.com
Group : System Environment/Base Source RPM: redhat-release-5Server-5.8.0.3.src.rpm
Size : 147548 License: GPL
Signature : DSA/SHA1, Wed 25 Jan 2012 01:06:09 PM EST, Key ID 5326810137017186
Packager : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
Summary : Red Hat Enterprise Linux release file
Description :
Red Hat Enterprise Linux release files

Please advise.
Thank You!
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: The Linux Agent install doesn't work

Post by eloyd »

Your machine is very messed up. Since the suggested manner to install Nagios is to do so on a fresh install with nothing else running on it, is it possible that you could start over? Reinstall RHEL and reinstall Nagios XI?
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
aulusow
Posts: 18
Joined: Tue May 24, 2016 2:02 pm

Re: The Linux Agent install doesn't work

Post by aulusow »

Hi,
What's wrong with the server? I can open a support ticket with Red Hat with issues. It's production server re-install is not an option.
Please be more specific what the issue is?
Thank You!
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: The Linux Agent install doesn't work

Post by eloyd »

It appears that you have RedHat 4 and RedHat 5 installed at the same time.
eloyd wrote:It looks like you have two different versions of RHEL running.

The following command should show the definitive version:

Code: Select all

lsb_release -i -r
https://www.nagios.com/products/nagios-xi/#systemreqs says that Nagios XI requires CentOS or Redhat Enterprise Linux (RHEL) versions 5, 6, or 7, but it looks like you're actually running v4.
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
aulusow
Posts: 18
Joined: Tue May 24, 2016 2:02 pm

Re: The Linux Agent install doesn't work

Post by aulusow »

Hi,
[root@ppmtomgui-dm ~]# lsb_release -i -r
Distributor ID: n/a
Release: n/a

How did you come to that conclusion? I have Red Hat 5 only installed on this server.
Thank You!
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: The Linux Agent install doesn't work

Post by eloyd »

That is why I say your machine appears to be confused. Originally, you wrote:
aulusow wrote: [root@ppmtomgui-dm linux-nrpe-agent]# lsb_release -a
LSB Version: :core-4.0-amd64:core-4.0-ia32:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-ia32:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-ia32:printing-4.0-noarch
Distributor ID: n/a
Description: redhat-4
Release: n/a
Codename: n/a

[root@ppmtomgui-dm linux-nrpe-agent]# cat /etc/redhat-release
redhat-4
So, somehow, it thinks it has both RedHat 4 and 5 installed.
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
Locked