Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NRPE not working as expected in cent os 8 #243

Open
sowmian opened this issue Sep 28, 2020 · 2 comments
Open

NRPE not working as expected in cent os 8 #243

sowmian opened this issue Sep 28, 2020 · 2 comments

Comments

@sowmian
Copy link

sowmian commented Sep 28, 2020

[root@detomkgwpdev01 nagios]# service nrpe status
Redirecting to /bin/systemctl status nrpe.service
● nrpe.service - Nagios Remote Plugin Executor
Loaded: loaded (/usr/lib/systemd/system/nrpe.service; disabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Tue 2020-09-22 17:46:27 EDT; 5 days ago
Docs: http://www.nagios.org/documentation
Main PID: 43847 (code=exited, status=1/FAILURE)

Sep 22 17:46:27 detomkgwpdev01.onemagnify.corp systemd[1]: Started Nagios Remote Plugin Executor.
Sep 22 17:46:27 detomkgwpdev01.onemagnify.corp systemd[1]: nrpe.service: Main process exited, code=exited, status=1/FAILURE
Sep 22 17:46:27 detomkgwpdev01.onemagnify.corp systemd[1]: nrpe.service: Failed with result 'exit-code'.
[root@detomkgwpdev01 nagios]#

@sawolf
Copy link
Contributor

sawolf commented Nov 6, 2020

Hi, thanks for reporting this. Does the NRPE daemon have logging enabled on this system? If so, does it have any error messages?

As an aside, for newer distributions I'd recommend using a newer agent like NCPA. If/when we do future releases of NRPE, it will mostly be for handling security issues in legacy environments.

@ondrejj
Copy link

ondrejj commented Feb 18, 2021

This looks to be a problem reported in redhat bugzilla:

https://bugzilla.redhat.com/show_bug.cgi?id=1898469

Problem is, that for network.target not always all interfaces are up. This is done in network-online.target.

Also there is another issue reported against nrpe.service file:

https://bugzilla.redhat.com/show_bug.cgi?id=1806659

Can you please apply both changes upstream?
Let me know, if you need a patch.
Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants