NRPE Service Not Starting
-
- Posts: 286
- Joined: Fri Sep 08, 2017 5:53 am
NRPE Service Not Starting
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.
But the service is not coming up.
Any idea where to check and what needs to be checked.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: NRPE Service Not Starting
What does the service status show?
what OS and version is the server?
What did you perform to install NRPE?
what OS and version is the server?
What did you perform to install NRPE?
-
- Posts: 286
- Joined: Fri Sep 08, 2017 5:53 am
Re: NRPE Service Not Starting
Please find here with the screenshot
Server version is Linux 7.7
Please find attached the document.
Server version is Linux 7.7
Please find attached the document.
- Attachments
-
- Installing_The_XI_Linux_Agent.pdf
- NPRE Installation
- (199.88 KiB) Downloaded 149 times
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: NRPE Service Not Starting
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
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
-
- Posts: 286
- Joined: Fri Sep 08, 2017 5:53 am
Re: NRPE Service Not Starting
As i said NRPE was installed using the attached document.
Please find attached the Output of the command.
Please find attached the Output of the command.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: NRPE Service Not Starting
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
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
Code: Select all
systemctl restart xinetd
-
- Posts: 286
- Joined: Fri Sep 08, 2017 5:53 am
Re: NRPE Service Not Starting
what changes should i make and where?
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: NRPE Service Not Starting
That depends, what are you trying to accomplish?amitgupta19 wrote:what changes should i make and where?
Are you getting an error connecting to this server from your Nagios server?
-
- Posts: 286
- Joined: Fri Sep 08, 2017 5:53 am
Re: NRPE Service Not Starting
Thanks Scott for your support.
I got it.
I got it.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: NRPE Service Not Starting
Greatamitgupta19 wrote:Thanks Scott for your support.
I got it.
Locking thread