In this video I have expained about How to Add Linux Host to Nagios Monitoring using NRPE plugin. Adding Centos 7 to Nagios Monitoring
NRPE configuration steps:
cd /root/nagios
wget
tar xzf nrpe-4.0.3.tar.gz
cd nrpe-4.0.3
./configure
make all
make install
make install-config
vi /etc/services
and add nrpe 5666/tcp at the end
make install-init
systemctl enable nrpe.service
vi /usr/local/nagios/etc/nrpe.cfg
allowed_hosts=127.0.0.1,192.168.1.22.
dont_blame_nrpe=1
systemctl start nrpe.service