Page 1 of 2

The Linux Agent install doesn't work

Posted: Mon Jun 06, 2016 1:25 pm
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

Re: The Linux Agent install doesn't work

Posted: Mon Jun 06, 2016 1:33 pm
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.

Re: The Linux Agent install doesn't work

Posted: Mon Jun 06, 2016 2:38 pm
by aulusow
Hi,
[root@ppmtomgui-dm linux-nrpe-agent]# lsb_release -i -r
Distributor ID: n/a
Release: n/a

Please advise.
Thanks,

Re: The Linux Agent install doesn't work

Posted: Mon Jun 06, 2016 3:40 pm
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

Re: The Linux Agent install doesn't work

Posted: Tue Jun 07, 2016 8:08 am
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!

Re: The Linux Agent install doesn't work

Posted: Tue Jun 07, 2016 8:13 am
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?

Re: The Linux Agent install doesn't work

Posted: Tue Jun 07, 2016 9:27 am
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!

Re: The Linux Agent install doesn't work

Posted: Tue Jun 07, 2016 9:35 am
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.

Re: The Linux Agent install doesn't work

Posted: Tue Jun 07, 2016 9:58 am
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!

Re: The Linux Agent install doesn't work

Posted: Tue Jun 07, 2016 10:02 am
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.