Deploy NRPE client for Nagios monitoring for a new Control Server
1. ssh to the new server and su - root.
2. yum install nagios nagios-plugin* nrpe
3. vim /etc/init.d/nrpe
4. find "$START_CMD $NRPE_BIN -c $NRPE_CFG -d $NRPE_SSL_OPT" line in the file
5. add "-n" into the line => "$START_CMD $NRPE_BIN -n -c $NRPE_CFG -d $NRPE_SSL_OPT"
6. ssh to bestsign server (ssh root@bestsign.creativecomputing.com.au)
7. in the bestsign server. scp /etc/nagios/nrpe.cfg root@<your server ip>:/etc/nagios/nrpe.cfg
8. in your new server, you also need to make sure the plugins (/usr/lib64/nagios/plugins/) in your server are matching the settings in /etc/nagios/nrpe.cfg.
9. in your new server, service nrpe restart
10. ssh root@li218-20.members.linode.com (nagios server)
11. run "/usr/lib64/nagios/plugins/check_nrpe -H ibiza-medusa.bnr.la -u -n -c check_disk" to make sure the nagios server can talk to the nrpe client in your new server.
