Gentoo Archives: gentoo-doc-cvs

From: Sven Vermeulen <swift@××××××××××××.org>
To: gentoo-doc-cvs@l.g.o
Subject: [gentoo-doc-cvs] cvs commit: nagios-guide.xml
Date: Mon, 07 Jul 2008 18:28:25
Message-Id: E1KFvRj-0007Vq-8i@stork.gentoo.org
1 swift 08/07/07 18:28:19
2
3 Modified: nagios-guide.xml
4 Log:
5 small update
6
7 Revision Changes Path
8 1.2 xml/htdocs/doc/en/nagios-guide.xml
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/nagios-guide.xml?rev=1.2&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/nagios-guide.xml?rev=1.2&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/nagios-guide.xml?r1=1.1&r2=1.2
13
14 Index: nagios-guide.xml
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/nagios-guide.xml,v
17 retrieving revision 1.1
18 retrieving revision 1.2
19 diff -u -r1.1 -r1.2
20 --- nagios-guide.xml 7 Jul 2008 18:04:59 -0000 1.1
21 +++ nagios-guide.xml 7 Jul 2008 18:28:19 -0000 1.2
22 @@ -1,5 +1,5 @@
23 <?xml version="1.0" encoding="UTF-8"?>
24 -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/nagios-guide.xml,v 1.1 2008/07/07 18:04:59 swift Exp $ -->
25 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/nagios-guide.xml,v 1.2 2008/07/07 18:28:19 swift Exp $ -->
26 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
27
28 <guide disclaimer="draft">
29 @@ -221,6 +221,40 @@
30 <body>
31
32 <p>
33 +There are two methods available to monitor remote hosts.
34 +</p>
35 +
36 +<ol>
37 + <li>
38 + Use the <path>check_ssh</path> command to log on remotely to the system and
39 + execute the check you want to perform on that system
40 + </li>
41 + <li>
42 + Use the <e>NRPE</e> daemon on the remote host and have Nagios communicate to
43 + this daemon using the <path>check_nrpe</path> plugin
44 + </li>
45 +</ol>
46 +
47 +<p>
48 +We first focus on using the NRPE method as it is the most popular one.
49 +</p>
50 +
51 +<p>
52 +With NRPE, each remote host runs a daemon (the NRPE deamon) which allows the
53 +main Nagios system to query for certain metrics. One can run the NRPE daemon by
54 +itself or use an inetd program. I'll leave the inetd method as a nice exercise
55 +to the reader and give an example for running NRPE by itself.
56 +</p>
57 +
58 +<p>
59 +First install the NRPE plugin:
60 +</p>
61 +
62 +<pre caption="Installing the NRPE plugin">
63 +# <i>emerge nagios-nrpe</i>
64 +</pre>
65 +
66 +<p>
67 TODO Inform what to install on systems that will not run the nagios interface,
68 both for active (performs checks and communicates with the main nagios system)
69 and passive (polled by main nagios system through check_ssh).
70
71
72
73 --
74 gentoo-doc-cvs@l.g.o mailing list