NRPE agent installation on RHEL 7.2

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
RIDS_I2MP
Posts: 751
Joined: Thu Mar 13, 2014 9:25 am

Re: NRPE agent installation on RHEL 7.2

Post 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)
You do not have the required permissions to view the files attached to this post.
Thanks & Regards,
I2MP Team.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: NRPE agent installation on RHEL 7.2

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
RIDS_I2MP
Posts: 751
Joined: Thu Mar 13, 2014 9:25 am

Re: NRPE agent installation on RHEL 7.2

Post by RIDS_I2MP »

Hello,

Thank you!!
It resolve the issue.
Thanks & Regards,
I2MP Team.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: NRPE agent installation on RHEL 7.2

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked