OP#436 add nagios hostgroups, and example groups and contacts
This commit is contained in:
71
README.md
71
README.md
@@ -7,14 +7,15 @@
|
||||
- [Synopsis](#synopsis)
|
||||
- [WARNING](#warning)
|
||||
- [Features](#features)
|
||||
- [Repo Documentation](#repo-documentation)
|
||||
- [Dependencies](#dependencies)
|
||||
- [Deployment](#deployment)
|
||||
- [Configuration](#configuration)
|
||||
- [configuring UI user access](#configuring-ui-user-access)
|
||||
- [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)
|
||||
- [PuppetDB](#puppetdb)
|
||||
- [SELINUX](#selinux)
|
||||
- [Support](#support)
|
||||
@@ -43,6 +44,39 @@ At this stage, the module is being redeveloped and being built to the latest sta
|
||||
- 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)
|
||||
|
||||
## Repo Documentation
|
||||
|
||||
See the full Puppet documentation including parameters in `docs/index.html`
|
||||
|
||||
## Dependencies
|
||||
|
||||
All dependencies must be included in the catalogue.
|
||||
|
||||
- `puppetlabs-firewall`
|
||||
- `puppetlabs-stdlib`
|
||||
- `puppetlabs-concat`
|
||||
- `puppetlabs-nagios_core`
|
||||
|
||||
## Deployment
|
||||
|
||||
- native Puppet deployment
|
||||
|
||||
via site.pp or nodes.pp
|
||||
|
||||
```ruby
|
||||
node 'example.example.net' {
|
||||
include confdroid_nagios
|
||||
}
|
||||
```
|
||||
|
||||
- through Foreman:
|
||||
|
||||
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/).
|
||||
|
||||
## Configuration
|
||||
|
||||
### configuring UI user access
|
||||
|
||||
Main access to the user interface requires defining an administrative user and password via `ng_main_user` and `ng_main_password`. The password should be encrypted like this:
|
||||
@@ -112,37 +146,6 @@ In order to add host groups, address the define `confdroid_nagios::nagios::objec
|
||||
|
||||
Hosts will be populated through the target.pp dynamically.
|
||||
|
||||
## Repo Documentation
|
||||
|
||||
See the full Puppet documentation including parameters in `docs/index.html`
|
||||
|
||||
## Dependencies
|
||||
|
||||
All dependencies must be included in the catalogue.
|
||||
|
||||
- `puppetlabs-firewall`
|
||||
- `puppetlabs-stdlib`
|
||||
- `puppetlabs-concat`
|
||||
- `puppetlabs-nagios_core`
|
||||
|
||||
## Deployment
|
||||
|
||||
- native Puppet deployment
|
||||
|
||||
via site.pp or nodes.pp
|
||||
|
||||
```ruby
|
||||
node 'example.example.net' {
|
||||
include confdroid_nagios
|
||||
}
|
||||
```
|
||||
|
||||
- through Foreman:
|
||||
|
||||
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/).
|
||||
|
||||
## 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.
|
||||
|
||||
Reference in New Issue
Block a user