OP#436 add nagios contactgroups

This commit is contained in:
2026-03-01 15:51:27 +01:00
parent 46d7df8235
commit c0e9342dd3
7 changed files with 95 additions and 12 deletions

View File

@@ -11,6 +11,7 @@
- [Additional UI users](#additional-ui-users)
- [Adding contacts](#adding-contacts)
- [Adding contact groups](#adding-contact-groups)
- [Adding host groups](#adding-host-groups)
- [Repo Documentation](#repo-documentation)
- [Dependencies](#dependencies)
- [Deployment](#deployment)
@@ -98,6 +99,19 @@ In order to add contact groups for the notifications, address the define `confdr
}
```
### Adding host groups
In order to add host groups, address the define `confdroid_nagios::nagios::objects::add_hostgroups` in your config repo, site.pp etc. like this:
```puppet
confdroid_nagios::nagios::objects::add_hostgroups { 'example_hostgroup':
ng_hostgroup_name => 'example_hostgroup',
ng_hostgroup_alias => 'Example Hostgroup',
}
```
Hosts will be populated through the target.pp dynamically.
## Repo Documentation
See the full Puppet documentation including parameters in `docs/index.html`
@@ -127,7 +141,7 @@ node 'example.example.net' {
In order to apply parameters through Foreman, **__confdroid_nagios::params__*- must be added to the host or host group in question.
See [more details about class deployment on Confdroid.com](https://confdroid.com/2017/05/deploying-our-puppet-modules/).
See [more details about class deployment on confdroid.com](https://confdroid.com/2017/05/deploying-our-puppet-modules/).
## PuppetDB
@@ -158,5 +172,5 @@ All files and directories are configured with correct selinux context. If selinu
## Disclaimer
ConfDroid as entity is entirely independent from Puppet. We provide custom configuration modules, written for specific purposes and specific environments.
confdroid as entity is entirely independent from Puppet. We provide custom configuration modules, written for specific purposes and specific environments.
The modules are tested and supported only as documented, and require testing in designated environments (i.e. lab or development environments) for parameter tuning etc. before deploying into production environments.