From 31ee7fec5a08d36231b5d4f962747eec5f1cb81e Mon Sep 17 00:00:00 2001 From: Gabriel Filion Date: Fri, 20 Feb 2015 17:24:12 -0500 Subject: README: Change project URL to point at the new one --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0ae195e..4c82d99 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,8 @@ hostname specified by `nagios_check_ssh_hostname`. 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 -- cgit v1.2.3 From 52031ffb06ef3e6135e57628e42f476ed1612b50 Mon Sep 17 00:00:00 2001 From: Gabriel Filion Date: Fri, 20 Feb 2015 17:27:06 -0500 Subject: README: mention how one could reuse nagios resources with their own logic Some people might want to inject their own logic before including nagios resources. We can explain that since the nagios resources are in their own part of the manifests, they can shortcut the module's automatic handling of it, and call it manually from their own manifests. --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 4c82d99..cbe0bba 100644 --- a/README.md +++ b/README.md @@ -49,6 +49,13 @@ 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`: -- cgit v1.2.3