Centos 6 – Install Nagios client from source

Published on Author gryzliLeave a comment

We are assuming that our Nagios Server has IP: 192.168.1.1

By default client NRPE will listen on port 5666, so make sure it’s enabled on IPTABLES.

Prerequisities

Add nagios user

 

Install openssl devel

 

Install xinetd

 

 

Install Nagios NRPE

Current version of NRPE is 2.15.

 

Install Nagios Plugins

 

Allow Nagios Server connections

1. OpenĀ /usr/local/nagios/etc/nrpe.cfg and change:

2. OpenĀ /etc/xinet.d/nrpe

3. Open /etc/services and ensure there is the following line

 

Restart xinetd and enable by default

 

Finally try to issue nrpe command from the Nagios server

Logon to your Nagios Server and issue the following:

Results in something like that:

OK – load average: 0.01, 0.03, 0.00|load1=0.010;15.000;30.000;0; load5=0.030;10.000;25.000;0; load15=0.000;5.000;20.000;0;

 

Leave a Reply

Your email address will not be published. Required fields are marked *

Captcha * Time limit is exhausted. Please reload CAPTCHA.