NRPE Service Not Starting

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
amitgupta19
Posts: 286
Joined: Fri Sep 08, 2017 5:53 am

NRPE Service Not Starting

Post 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.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: NRPE Service Not Starting

Post by scottwilkerson »

What does the service status show?

what OS and version is the server?

What did you perform to install NRPE?
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
amitgupta19
Posts: 286
Joined: Fri Sep 08, 2017 5:53 am

Re: NRPE Service Not Starting

Post by amitgupta19 »

Please find here with the screenshot

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
Service Status
Service Status
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: NRPE Service Not Starting

Post 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
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
amitgupta19
Posts: 286
Joined: Fri Sep 08, 2017 5:53 am

Re: NRPE Service Not Starting

Post by amitgupta19 »

As i said NRPE was installed using the attached document.

Please find attached the Output of the command.
Attachments
NRPE Error-1.jpg
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: NRPE Service Not Starting

Post 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

Code: Select all

systemctl restart xinetd
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
amitgupta19
Posts: 286
Joined: Fri Sep 08, 2017 5:53 am

Re: NRPE Service Not Starting

Post by amitgupta19 »

what changes should i make and where?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: NRPE Service Not Starting

Post 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?
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
amitgupta19
Posts: 286
Joined: Fri Sep 08, 2017 5:53 am

Re: NRPE Service Not Starting

Post by amitgupta19 »

Thanks Scott for your support.

I got it.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: NRPE Service Not Starting

Post by scottwilkerson »

amitgupta19 wrote:Thanks Scott for your support.

I got it.
Great

Locking thread
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked