Page 2 of 2

Re: NRPE agent installation on RHEL 7.2

Posted: Tue Dec 11, 2018 1:08 am
by RIDS_I2MP
Hello,

We ran below commands as suggested by you. PFA the output for the same.

Also, we removed nrpe using below command:
yum remove nrpe

and again we restarted nrpe and we are getting below error:

[root@EU2XAPL060 etc]# systemctl start nrpe.service
Failed to start nrpe.service: Unit not found.
[root@EU2XAPL060 etc]# systemctl status nrpe.service
Unit nrpe.service could not be found.
[root@EU2XAPL060 etc]#

And in Nagios XI, we are getting other error now:
(Return code of 255 is out of bounds)

Re: NRPE agent installation on RHEL 7.2

Posted: Tue Dec 11, 2018 9:30 am
by tgriep
The Linux NRPE Agent installer, sets up the agent to be started by xinetd so to load the agent for starting up, run this.

Code: Select all

systemctl restart xinetd
Then to test is out, run the following from the Nagios XI server to see if it returns the version of the agent.

Code: Select all

/usr/local/nagios/libexec/check_nrpe -H 10.146.207.6

Re: NRPE agent installation on RHEL 7.2

Posted: Mon Dec 17, 2018 4:37 am
by RIDS_I2MP
Hello,

Thank you!!
It resolve the issue.

Re: NRPE agent installation on RHEL 7.2

Posted: Mon Dec 17, 2018 12:07 pm
by tgriep
Your Welcome. Glad to Help. I'll mark the post as solved and lock it up for you.
Feel free to open a new ticket in the future for any new questions / issues.