cd /usr/local/nagios/etc
vim nagios.cfg
/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
service nagios stop
service nagios start
ps -ef | grep nagios
cd /usr/local/nagios/etc
vim nagios.cfg
/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
service nagios stop
service nagios start
ps -ef | grep nagios