Hi team,
I am trying to install and configure NRPE on a server. While trying toiInstall the NRPE plugin (for testing), daemon, and sample daemon config file, i am getting an error as shown below.
[root@netcool nrpe-3.0]# make install-plugin
cd ./src/; make install-plugin
make[1]: Entering directory `/tmp/Nagios-downloads/nrpe-3.0/src'
/usr/bin/install -c -m 755 -d /usr/local/nagios/bin
/usr/bin/install -c -m 755 ../uninstall /usr/local/nagios/bin/nrpe-uninstall
/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/libexec
/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/libexec
/usr/bin/install -c -m 775 -o nagios -g nagios check_nrpe /usr/local/nagios/libexec
make[1]: Leaving directory `/tmp/Nagios-downloads/nrpe-3.0/src'
[root@netcool nrpe-3.0]# make install-daemon
cd ./src/; make install-daemon
make[1]: Entering directory `/tmp/Nagios-downloads/nrpe-3.0/src'
/usr/bin/install -c -m 755 -d /usr/local/nagios/bin
/usr/bin/install -c -m 755 ../uninstall /usr/local/nagios/bin/nrpe-uninstall
/usr/bin/install -c -m 755 nrpe /usr/local/nagios/bin
make[1]: Leaving directory `/tmp/Nagios-downloads/nrpe-3.0/src'
[root@netcool nrpe-3.0]# make install-daemon-config
make: *** No rule to make target `install-daemon-config'. Stop.
Kindly advise.
Thanks,
Piyush Sinha
Issue while installing NRPE
-
jfrickson
Re: Issue while installing NRPE
The new NRPE uses `make install-config` instead of `make install-daemon-config`.nysus777 wrote:Hi team,
I am trying to install and configure NRPE on a server. While trying toiInstall the NRPE plugin (for testing), daemon, and sample daemon config file, i am getting an error as shown below.
[root@netcool nrpe-3.0]# make install-daemon-config
make: *** No rule to make target `install-daemon-config'. Stop.
You can type `make` (no targets) to get a list of available targets, some of which are new.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Issue while installing NRPE
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Issue while installing NRPE
Hi team,
I have installed NRPE on a lab server and i am trying to install the NRPE plugin on the VM box of CentOS. I am experiencing the below error when i am trying to download autoconf as suggested in the document shared earlier by you. However, when trying the same on my lab server, i am able to download it. Kindly advise if this a problem with the VM. Can NRPE be configured using Nagios XI on CentOS VM image?
Thanks,
Piyush Sinha
I have installed NRPE on a lab server and i am trying to install the NRPE plugin on the VM box of CentOS. I am experiencing the below error when i am trying to download autoconf as suggested in the document shared earlier by you. However, when trying the same on my lab server, i am able to download it. Kindly advise if this a problem with the VM. Can NRPE be configured using Nagios XI on CentOS VM image?
Thanks,
Piyush Sinha
You do not have the required permissions to view the files attached to this post.
-
jfrickson
Re: Issue while installing NRPE
Thank you guys.
Just for more clarity, i am trying to figure out which components need to be installed on the server to be monitored and which components should be installed on host. So far, i have installed NRPE and plugins on a server and check_nrpe plugin on the Nagios host. Now, i need to configure the remote host to be monitored. According to the document, i need to run 'NRPE monitoring wizard'. I could download it successfully, but i dont see how to run it. There is a shell script which returns 'Sanity checks components not installed'. Am i doing this correctly?
I am kind of lost here. Maybe i am referring too many documents at the same time. Kindly advise.
Thanks,
Piyush Sinha
Just for more clarity, i am trying to figure out which components need to be installed on the server to be monitored and which components should be installed on host. So far, i have installed NRPE and plugins on a server and check_nrpe plugin on the Nagios host. Now, i need to configure the remote host to be monitored. According to the document, i need to run 'NRPE monitoring wizard'. I could download it successfully, but i dont see how to run it. There is a shell script which returns 'Sanity checks components not installed'. Am i doing this correctly?
I am kind of lost here. Maybe i am referring too many documents at the same time. Kindly advise.
Thanks,
Piyush Sinha
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Issue while installing NRPE
Correctnysus777 wrote:i have installed NRPE and plugins on a server
Correct, however if this is a Nagios XI server it would have already existed.nysus777 wrote: check_nrpe plugin on the Nagios host
This wizard is part of Nagios XI.nysus777 wrote: Now, i need to configure the remote host to be monitored. According to the document, i need to run 'NRPE monitoring wizard'.
Configure > Run a configuration wizard
You would select the Wizard "Linux Server" or "NRPE".
What is the name of this script?nysus777 wrote:There is a shell script which returns 'Sanity checks components not installed'.
On the NRPE server, in the file /usr/local/nagios/etc/nrpe.cfg is the command definitions.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Issue while installing NRPE
Hi team,
I just tried to configure monitoring of the NRPE server using monitoring wizard, but it seems there's a problem with the connection when the monitoring began. I also tried running check_nrpe from Nagios server, i get the same 'connection reset by peer'. Can you let me know the steps to check my configuration.
Kindly advise.
Thanks,
Piyush Sinha
I just tried to configure monitoring of the NRPE server using monitoring wizard, but it seems there's a problem with the connection when the monitoring began. I also tried running check_nrpe from Nagios server, i get the same 'connection reset by peer'. Can you let me know the steps to check my configuration.
Kindly advise.
Thanks,
Piyush Sinha
You do not have the required permissions to view the files attached to this post.
Re: Issue while installing NRPE
Also an observation, i am able to SSH to the NRPE server from Nagios host.
You do not have the required permissions to view the files attached to this post.
Re: Issue while installing NRPE
Can you post your /var/log/messages file for us to look at from the client machine? This should indicate why the connection was closed.
Former Nagios Employee