Trying to install the Linux agent on a box. I downloaded the agent from the gui and copied it over to the machine. It looks like it fails at the end with "can't read /etc/xinetd.d/nrpe: No such file or directory
Subcomponents installation failed - exiting" I checked and I do not have nrpe in in the xinetd.d directory. I tried searching on the forums but, did not see any thing like this one.
Linux Agent Fails install
Linux Agent Fails install
You do not have the required permissions to view the files attached to this post.
Re: Linux Agent Fails install
got further with running yum install openssl-devel. Still get a install fail. xinetd:unrecognized service Subcomponents installation failed-exiting Result=1.
You do not have the required permissions to view the files attached to this post.
Re: Linux Agent Fails install
got the install resolved. however, for the status of the agent it all shows unknown.
You do not have the required permissions to view the files attached to this post.
- tacolover101
- Posts: 432
- Joined: Mon Apr 10, 2017 11:55 am
Re: Linux Agent Fails install
as the error mentions, check your system logs on the client machine and see what error is being reported.
to see if it's actually running on the client end use netstat -an | grep 5666 - it's hard to say if the install finished properly. this documentation is really done well https://assets.nagios.com/downloads/nag ... e/NRPE.pdf
to see if it's actually running on the client end use netstat -an | grep 5666 - it's hard to say if the install finished properly. this documentation is really done well https://assets.nagios.com/downloads/nag ... e/NRPE.pdf
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Linux Agent Fails install
Also, take a look at https://assets.nagios.com/downloads/nag ... utions.pdf
Specifically, "VI. CHECK_NRPE: Received 0 Bytes From Daemon" on page 14.
Specifically, "VI. CHECK_NRPE: Received 0 Bytes From Daemon" on page 14.
Re: Linux Agent Fails install
I see in messages that the host is not allowed to talk to us!
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Linux Agent Fails install
Did you look at the document I sent? The first thing Section VI tells you to do is look at Section V. Did you do that? I'm not saying you didn't, you just didn't really give us any info. What exactly does the error message in the log say?
From the XI server, please run the following:
/usr/local/nagios/libexec/check_nrpe -H REMOTEIP -t 30 -c check_users -a '-w 5 -c 10'
From the XI server, please run the following:
/usr/local/nagios/libexec/check_nrpe -H REMOTEIP -t 30 -c check_users -a '-w 5 -c 10'
Re: Linux Agent Fails install
This is what I get when I run this command below. I have read the document and I went in and added the host ip in the correct spot.
/usr/local/nagios/libexec/check_nrpe -H REMOTEIP -t 30 -c check_users -a '-w 5 -c 10'
CHECK_NRPE: Error - Could not complete SSL handshake.
/usr/local/nagios/libexec/check_nrpe -H REMOTEIP -t 30 -c check_users -a '-w 5 -c 10'
CHECK_NRPE: Error - Could not complete SSL handshake.
Re: Linux Agent Fails install
when I run it locally I get:
CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages.
CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages.
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Linux Agent Fails install
From Nagios, what's the output of /usr/local/nagios/libexec/check_nrpe -H <remote host ip> -n?
On the remote server, what's the output of the following
If it exists, please post your /etc/xinetd.d/nrpe. If it does not exist, please let us know.
On the remote server, what's the output of the following
Code: Select all
ls -la /usr/local/nagios/libexec/
ls -la /etc/xinetd.d/nrpe
netstat -an | grep 5666
ps -A | grep nrpe
ps -A | grep xinetd