How to monitor a remote Linux host using Nagios?
Welcome again lets proceed to monitor a remote Linux host, before moving we need to activate and configure a linux_server.cfg file on Nagios Server. If you havn’t install a nagios server please follow HowTo “How to install Nagios on CentOS?”
[you@yourmachine nagios] touch /etc/nagios/objects/linux_server.cfg
[you@yourmachine nagios] chown nagios. /etc/nagios/objects/linux_server.cfg
[you@yourmachine nagios] vi /etc/nagios/objects/linux_server.cfg
Paste the code below in to the file