CHECK_NRPE: No output returned from daemon. error on check
-
shericaocbania
- Posts: 6
- Joined: Wed Nov 22, 2017 1:49 pm
CHECK_NRPE: No output returned from daemon. error on check
deleted
Last edited by shericaocbania on Tue Jan 30, 2018 11:56 am, edited 1 time in total.
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: CHECK_NRPE: No output returned from daemon. error on che
Hello, @shericaocbania. This is an unusual issue. Are you using Nagios XI or Nagios Core, and what version? Did you install anything on top of Nagios installation? Can you upload the contents of /etc/systemd/system/nagios.service file? Also, please send in your Nagios XI System Profile so I can review it.
To send us your system profile. Login to the Nagios XI GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
Save the profile.zip file and attach it to your next post. Or you can upload it to the cloud storage of your choice and share a link with me in PM.
Also, please run chage -I -1 -m 0 -M 99999 -E -1 nagios
To send us your system profile. Login to the Nagios XI GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
Save the profile.zip file and attach it to your next post. Or you can upload it to the cloud storage of your choice and share a link with me in PM.
Also, please run chage -I -1 -m 0 -M 99999 -E -1 nagios
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
shericaocbania
- Posts: 6
- Joined: Wed Nov 22, 2017 1:49 pm
Re: CHECK_NRPE: No output returned from daemon. error on che
-deleted
Last edited by shericaocbania on Tue Jan 30, 2018 11:56 am, edited 2 times in total.
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: CHECK_NRPE: No output returned from daemon. error on che
@shericaocbania, Interesting. So your nagios service script points to /usr/lib/systemd/scripts/nagios. However, the log says that there's no such file or directory:
Are you trying to run service nagios status on the remote server or on the XI server? The fact that Nagios service doesn't show the status has nothing to do with NRPE daemon. Most likely you need to restart nrpe daemon by runningor on the remote host. Nagios XI is not supposed to run any daemons for NRPE. After that please attempt to run this command from the XI one more time:
PS: You may also potentially qualify for a free quick start set up. Check out this link:
https://www.nagios.com/services/quickstart/
So let's manually go to that directory in the command line and verify that the nagios script exists in:Failed at step EXEC spawning /usr/lib/systemd/scripts/nagios: No such file or directory
Code: Select all
/usr/lib/systemd/scripts/nagiosAre you trying to run service nagios status on the remote server or on the XI server? The fact that Nagios service doesn't show the status has nothing to do with NRPE daemon. Most likely you need to restart nrpe daemon by running
Code: Select all
system xinetd restart Code: Select all
system nrpe restartCode: Select all
/usr/local/nagios/libexec/check_nrpe -H HOST-t 30 -c alarm_here https://www.nagios.com/services/quickstart/
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.