swift 08/07/07 18:28:19 Modified: nagios-guide.xml Log: small update
Revision Changes Path 1.2 xml/htdocs/doc/en/nagios-guide.xml file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/nagios-guide.xml?rev=1.2&view=markup plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/nagios-guide.xml?rev=1.2&content-type=text/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/nagios-guide.xml?r1=1.1&r2=1.2 Index: nagios-guide.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/nagios-guide.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- nagios-guide.xml 7 Jul 2008 18:04:59 -0000 1.1 +++ nagios-guide.xml 7 Jul 2008 18:28:19 -0000 1.2 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/nagios-guide.xml,v 1.1 2008/07/07 18:04:59 swift Exp $ --> +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/nagios-guide.xml,v 1.2 2008/07/07 18:28:19 swift Exp $ --> <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> <guide disclaimer="draft"> @@ -221,6 +221,40 @@ <body> <p> +There are two methods available to monitor remote hosts. +</p> + +<ol> + <li> + Use the <path>check_ssh</path> command to log on remotely to the system and + execute the check you want to perform on that system + </li> + <li> + Use the <e>NRPE</e> daemon on the remote host and have Nagios communicate to + this daemon using the <path>check_nrpe</path> plugin + </li> +</ol> + +<p> +We first focus on using the NRPE method as it is the most popular one. +</p> + +<p> +With NRPE, each remote host runs a daemon (the NRPE deamon) which allows the +main Nagios system to query for certain metrics. One can run the NRPE daemon by +itself or use an inetd program. I'll leave the inetd method as a nice exercise +to the reader and give an example for running NRPE by itself. +</p> + +<p> +First install the NRPE plugin: +</p> + +<pre caption="Installing the NRPE plugin"> +# <i>emerge nagios-nrpe</i> +</pre> + +<p> TODO Inform what to install on systems that will not run the nagios interface, both for active (performs checks and communicates with the main nagios system) and passive (polled by main nagios system through check_ssh). -- [email protected] mailing list
