aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>2015-03-02 15:37:03 +0000
committerJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>2015-03-02 15:37:03 +0000
commitdabbc89d3702b4041dedabbb7d6e52a6cf9c4289 (patch)
tree275025a85b8da1e1396d8b47e136f7356d30a730
parentded7f9540f985e01f81229c849e8153edad5071a (diff)
parent52031ffb06ef3e6135e57628e42f476ed1612b50 (diff)
downloadpuppet-sshd-dabbc89d3702b4041dedabbb7d6e52a6cf9c4289.tar.gz
puppet-sshd-dabbc89d3702b4041dedabbb7d6e52a6cf9c4289.tar.bz2
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 !5
-rw-r--r--README.md10
1 files changed, 9 insertions, 1 deletions
diff --git a/README.md b/README.md
index 0ae195e..cbe0bba 100644
--- a/README.md
+++ b/README.md
@@ -49,9 +49,17 @@ monitored.
Nagios will automatically check the ports defined in `ports`, and the
hostname specified by `nagios_check_ssh_hostname`.
+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 sshd::nagios from within your own manifests. You'll also need to manually
+specify the port to that define. By default, if the $port parameter is not
+specified, it will use the resource name as the port (e.g. if you call it like
+this: `sshd::nagios { '22': }` )
+
NOTE: this requires that you are using the shared-nagios puppet module which
supports the nagios native types via `nagios::service`:
-git://labs.riseup.net/shared-nagios
+
+https://gitlab.com/shared-puppet-modules-group/sshd
### Firewall