Page 1 of 1
CHECK_NRPE: No output returned from daemon. error on check
Posted: Mon Nov 27, 2017 4:32 am
by shericaocbania
deleted
Re: CHECK_NRPE: No output returned from daemon. error on che
Posted: Mon Nov 27, 2017 5:46 pm
by npolovenko
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
Re: CHECK_NRPE: No output returned from daemon. error on che
Posted: Wed Nov 29, 2017 3:22 am
by shericaocbania
-deleted
Re: CHECK_NRPE: No output returned from daemon. error on che
Posted: Wed Nov 29, 2017 5:21 pm
by npolovenko
@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:
Failed at step EXEC spawning /usr/lib/systemd/scripts/nagios: No such file or directory
So let's manually go to that directory in the command line and verify that the nagios script exists in:
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 running
or
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:
Code: Select all
/usr/local/nagios/libexec/check_nrpe -H HOST-t 30 -c alarm_here
PS: You may also potentially qualify for a free quick start set up. Check out this link:
https://www.nagios.com/services/quickstart/