summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>2015-03-02 15:36:32 +0000
committerJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>2015-03-02 15:36:32 +0000
commit386aa6df458b228ddd0ded529054fe65e92f03a2 (patch)
tree0a5805d92561d31a5714b4b52b3f70fba0fa9797 /README
parenta4b8195e7a5d444448b3750d66ec725d6f7c67ab (diff)
parent9ee857f480c0f18596cc55a6885d6253e9d4d124 (diff)
Merge branch 'document_nagios_custom_logic' into 'master'
Document nagios custom logic Add some note for ppl who need to inject their own logic before creating nagios-related checks. See merge request !1
Diffstat (limited to 'README')
-rw-r--r--README23
1 files changed, 19 insertions, 4 deletions
diff --git a/README b/README
index 32698b3..b6a3124 100644
--- a/README
+++ b/README
@@ -55,8 +55,23 @@ stunnel configuration variable (see manifests/server.pp) which will be used to
create the /etc/stunnel/${name}.conf file, and then notify the stunnel service
so it will restart.
-If you pass $use_nagios to this define, it will create a nagios::service entry
-for stunnel_${name} which will watch for the appropriate number processes with
-that configuration name
+If you pass $manage_nagios to this define, it will create a nagios::service
+entry for stunnel_${name} which will watch for the appropriate number processes
+with that configuration name
+
+Note that if you need to use some specific logic to decide whether or not to
+create a nagios service check, you should set $manage_nagios to false, and
+use stunnel::service::nagios from within your own manifests.
+
+stunnel::service::nagios
+------------------------
+
+This define creates a nagios service check for a specific tunnel. The resource
+name should be the name of the tunnel's configuration file without the '.conf'
+suffix. For example:
+
+ stunnel::service::nagios { 'carpal': }
+
+The above example would verify that the tunnel defined in
+`/etc/stunnel/carpal.conf'.
- \ No newline at end of file