NRPE agent on Nagios Core server

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.
Post Reply
NeoMatrixJR
Posts: 25
Joined: Fri Dec 21, 2018 11:18 am

NRPE agent on Nagios Core server

Post by NeoMatrixJR »

Setting up new servers moving away from our old CentOS VMs for Nagios Core. Also have NRPE agent installed on the VMs for monitoring THEM from another system. NRPE isn't starting/5666 isn't open. No log file is being created. Need help. I'm not as well versed in how xinet.d works.
kg2857
Posts: 298
Joined: Wed Apr 12, 2023 5:48 pm

Re: NRPE agent on Nagios Core server

Post by kg2857 »

As far as I know the newer versions of nrpe run as a service, not under xinetd. Configure nrpe.cfg as desired. If xinetd is installed, I think under /etc/xinet.d there should be an nrpe file. If you want to use xinetd set up the nrpe file.
clausxebec
Posts: 2
Joined: Sun Dec 24, 2023 4:51 am

Re: NRPE agent on Nagios Core server

Post by clausxebec »

Ensure the NRPE configuration file (/etc/nagios/nrpe.cfg) is set up correctly. Pay attention to the followinggeometry dash parameters:

allowed_hosts: Make sure the IP address of your Nagios server is included in the allowed_hosts line.

Code: Select all

allowed_hosts=127.0.0.1,<NAGIOS_SERVER_IP>
server_port: Confirm that it is set to 5666 (or whichever port you prefer).
Post Reply