Linux NRPE install

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Sbergonzi
Posts: 127
Joined: Wed Feb 19, 2014 4:21 pm

Linux NRPE install

Post by Sbergonzi »

I'm installing NRPE on a linux server (version below) and the install failed. the last part of the install notes an error trying to find NRPE in the xinetd.d directory. I've run this install on a version 4 instance, no issue. First time running on a version 5 install. I can attach the full install.log if helpful.

I'm unclear as how nrpe gets there, thinking it is part of the install. Any suggestions?

thank you as always!!

Code: Select all

sed: can't read /etc/xinetd.d/nrpe: No such file or directory
Subcomponents installation failed - exiting

Code: Select all

LSB Version:    :core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-no
arch
Distributor ID: RedHatEnterpriseServer
Description:    Red Hat Enterprise Linux Server release 5.5 (Tikanga)
Release:        5.5
Codename:       Tikanga
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Linux NRPE install

Post by tmcdonald »

Is xinetd installed on your system?

And how did you install NRPE? It looks like a yum install, but I want to make sure. Compiling from source is sometimes a bit more successful.
Former Nagios employee
Sbergonzi
Posts: 127
Joined: Wed Feb 19, 2014 4:21 pm

Re: Linux NRPE install

Post by Sbergonzi »

/etc/xinetd.d does exist. A good question on NRPE, like with the 4.x implementation I simply ran the ./fullinstall from
http://assets.nagios.com/downloads/nagi ... ent.tar.gz

I haven't done anything extra.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Linux NRPE install

Post by lmiltchev »

Run the following command on the client machine, and show us the output:

Code: Select all

yum list installed xinetd
Also run:

Code: Select all

cd linux-nrpe-agent
./fullinstall | tee /tmp/nrpe-debug.txt
and upload the "nrpe-debug.txt" file, that was generated by running the above command in the "/tmp" directory.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Sbergonzi
Posts: 127
Joined: Wed Feb 19, 2014 4:21 pm

Re: Linux NRPE install

Post by Sbergonzi »

Code: Select all

Loaded plugins: rhnplugin, security
*Note* Red Hat Network repositories are not listed below. You must run this comm
and as root to access RHN repositories.
Installed Packages
xinetd.i386                      2:2.3.14-10.el5                       installed
/tmp/nrpe-debug.txt has nothing in it after running that command.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Linux NRPE install

Post by lmiltchev »

Can you show us the "install.log"?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Sbergonzi
Posts: 127
Joined: Wed Feb 19, 2014 4:21 pm

Re: Linux NRPE install

Post by Sbergonzi »

adding install.log
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Linux NRPE install

Post by lmiltchev »

It seems like your system does not have a valid entitlement for Red Hat Network. Yum is not working correctly for you at the moment, you are missing required packages, such as "openssl-devel", etc.
Error Class Code: 31
Error Class Info:
This system does not have a valid entitlement for Red Hat Network.
Please visit https://rhn.redhat.com/rhn/systems/Syst ... lements.do
or login at https://rhn.redhat.com, and from the "Your RHN" tab,
select "Subscription Management" to enable RHN service for this system.
Explanation:
Your organization does not have enough Management entitlements to register this
system to Red Hat Network. Please notify your organization administrator of this error.
You should be able to register this system after your organization frees existing
or purchases additional entitlements. Additional entitlements may be purchased by your
organization administrator by logging into Red Hat Network and visiting
the 'Subscription Management' page in the 'Your RHN' section of RHN.
Please, register with RedHat and try the install again.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Sbergonzi
Posts: 127
Joined: Wed Feb 19, 2014 4:21 pm

Re: Linux NRPE install

Post by Sbergonzi »

ok, thank you. I saw that as well and wasn't sure if could have caused the issue.
Locked