aboutsummaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorPetter Reinholdtsen <pere@hungry.com>2010-01-16 19:30:21 +0000
committerPetter Reinholdtsen <pere@hungry.com>2010-01-16 19:30:21 +0000
commitaeec02da97087edcf915e9bb9ccc31b9f1f58603 (patch)
tree2370e2ec6e7aee5787a8ef486e5b159c6af338b4 /README
parenta53234021d8c6ff499355c1e963e7dfcd1278e2a (diff)
downloadsitesummary-aeec02da97087edcf915e9bb9ccc31b9f1f58603.tar.gz
sitesummary-aeec02da97087edcf915e9bb9ccc31b9f1f58603.tar.bz2
sitesummary-aeec02da97087edcf915e9bb9ccc31b9f1f58603.tar.xz
Improve client side documentation.
Diffstat (limited to 'README')
-rw-r--r--README21
1 files changed, 18 insertions, 3 deletions
diff --git a/README b/README
index 38dd3be..5500f84 100644
--- a/README
+++ b/README
@@ -41,9 +41,24 @@ only work on a single machine. The plan is to change this to use NRPE
to work with a network of machines.
On the client side, add
-'include=/etc/nagios/sitesummary-nrpe-commands.cfg' in
-/etc/nagios/nrpe_local.cfg to enable the sitesummary checks and edit
-/etc/nagios/nrpe.cfg to use 'dont_blame_nrpe=1'.
+'include=/etc/nagios/sitesummary-nrpe-commands.cfg' and
+'dont_blame_nrpe=1' in /etc/nagios/nrpe_local.cfg to enable the
+sitesummary checks. To make sure the nagios server can contact nrpe,
+it might be required to list the server address using the
+allowed_hosts option. Running these commands as root normally does
+the trick.
+
+ aptitude install nagios-nrpe-server nagios-plugins-standard
+ sitesummary-client
+ cat >> /etc/nagios/nrpe_local.cfg <<EOF
+allowed_hosts=myserver
+dont_blame_nrpe=1
+include=/etc/nagios/sitesummary-nrpe-commands.cfg
+EOF
+
+On the Nagios server, remote checks need to be enabled for the
+sitesummary cron job, by adding 'nagiosopts=""' to
+/etc/sitesummary/collector.cfg.
Design draft
------------