From 70ed93d124f54cd616b0a926ce2611816b5a62d4 Mon Sep 17 00:00:00 2001 From: 12ww1160 <12ww1160@confdroid.com> Date: Thu, 12 Mar 2026 14:23:44 +0100 Subject: [PATCH] OP#490 update README --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index ebc95b1..a59e3ac 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,7 @@ - [Adding time periods](#adding-time-periods) - [Adding custom commands](#adding-custom-commands) - [Adding templates](#adding-templates) + - [Customization outside of Puppet](#customization-outside-of-puppet) - [PuppetDB](#puppetdb) - [SELINUX](#selinux) - [Support](#support) @@ -48,6 +49,7 @@ At this stage, the module is being redeveloped and being built to the latest sta - configures all required directories for server and clients and sets proper permissions and selinux contexts - configures the main nagios configuration file and sets values as (pre)configured per values in params, which can be overwritten. - if `ng_include_nrpe`is set to `true`, the confdroid_nrpe module is automatically applied on clients ([confdroid_nrpe](https://sourcecode.confdroid.com/confdroid/confdroid_nrpe) must be in the catalogue then) +- if `ng_enable_fail2ban`is set to `true`, a fail2ban jail and filter will be added for the Nagios service (requires confdroid_fail2ban). ## Repo Documentation @@ -293,6 +295,11 @@ In order to add time periods, address the define `confdroid_nagios::nagios::obje } ``` +### Customization outside of Puppet + +> Q: what if I want to add my own Nagios plugins, settings etc. outside of Puppet? Will those be overwritten? +A: Puppet only controls what it knows about. You can add your own custom configuration files within `/etc/nagios/conf.d` and Nagios should recognize it, assuming it is valid code. Just beware of duplicated definitions, Nagios is very strict and merciless about this. + ## PuppetDB A working instance of PuppetDB connected to the Puppet master is required for this to work. Installation and configuration of PuppetDB is out of scope for this module, however [cd_puppetdb](https://gitlab.confdroid.com/puppet/cd_puppetdb) is available to automate this task for you as well within a few minutes.