Page 1 of 1
NRPE Service Not Starting
Posted: Tue Feb 25, 2020 10:38 am
by amitgupta19
I have recently installed the NRPE Agent on a Linux server.
But the service is not coming up.
Any idea where to check and what needs to be checked.
Re: NRPE Service Not Starting
Posted: Tue Feb 25, 2020 10:59 am
by scottwilkerson
What does the service status show?
what OS and version is the server?
What did you perform to install NRPE?
Re: NRPE Service Not Starting
Posted: Tue Feb 25, 2020 12:05 pm
by amitgupta19
Please find here with the screenshot
Server version is Linux 7.7
Please find attached the document.
Re: NRPE Service Not Starting
Posted: Tue Feb 25, 2020 12:21 pm
by scottwilkerson
This document does not install NRPE in the locations you show in the service status
Are you sure you didn't also try to install NRPE from a package repository such as yum?
what is the output of the following
Code: Select all
netstat -nlp|grep 5666
service xinetd status
Re: NRPE Service Not Starting
Posted: Wed Feb 26, 2020 8:36 am
by amitgupta19
As i said NRPE was installed using the attached document.
Please find attached the Output of the command.
Re: NRPE Service Not Starting
Posted: Wed Feb 26, 2020 9:03 am
by scottwilkerson
It looks like it is running properly under xinetd
From your previous screenshot you were showing the output of a nrpe service which this document wouldn't create, nor would it put the binaries in the location that service is showing, which led me to believe you (or another person with access to this server) installed NRPE from a package as well (RPM or deb package).
configuration file for nrpe running under this setup is
/usr/local/nagios/etc/nrpe.cfg and you would need to reload xinetd after making changes
Re: NRPE Service Not Starting
Posted: Wed Feb 26, 2020 11:50 am
by amitgupta19
what changes should i make and where?
Re: NRPE Service Not Starting
Posted: Wed Feb 26, 2020 12:05 pm
by scottwilkerson
amitgupta19 wrote:what changes should i make and where?
That depends, what are you trying to accomplish?
Are you getting an error connecting to this server from your Nagios server?
Re: NRPE Service Not Starting
Posted: Wed Feb 26, 2020 12:38 pm
by amitgupta19
Thanks Scott for your support.
I got it.
Re: NRPE Service Not Starting
Posted: Wed Feb 26, 2020 12:39 pm
by scottwilkerson
amitgupta19 wrote:Thanks Scott for your support.
I got it.
Great
Locking thread