Adding allowed list to nrpe.cfg

Add the IP address of the nagios server to nrpe.cfg, for my case my configuration file is located in /usr/local/nagios/etc/nrpe.cfg, if your cfg file is located else where use this command to find find / -name nrpe.cfg Search for the parameter allowed_hosts: append the nagios server ip address.