OP#436 add service groups
This commit is contained in:
@@ -39,7 +39,9 @@ At this stage, the module is being redeveloped and being built to the latest sta
|
|||||||
## Features
|
## Features
|
||||||
|
|
||||||
- if FQDN equals the specified `ng_nagios_server`, nagios server with all required specs is installed, else only nagios client packages and the target specs
|
- if FQDN equals the specified `ng_nagios_server`, nagios server with all required specs is installed, else only nagios client packages and the target specs
|
||||||
- an additional directory /etc/nagios/conf.d is created to place the custom checks etc. without being overwritten by updates.
|
- an additional directory /etc/nagios/conf.d is created to place the custom checks etc. without being overwritten by updates.
|
||||||
|
- contacts and contactgroups are separated and filled in via define
|
||||||
|
- hostgroups are filled in via define, hosts are added dynamically
|
||||||
- configures all required directories for server and clients and sets proper permissions and selinux contexts
|
- 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.
|
- 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_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)
|
||||||
|
|||||||
@@ -9,9 +9,9 @@
|
|||||||
#############################################################################
|
#############################################################################
|
||||||
define confdroid_nagios::nagios::resources::resource_df (
|
define confdroid_nagios::nagios::resources::resource_df (
|
||||||
|
|
||||||
Optional[String] 'nagios'_arg_name = undef,
|
Optional[String] $ng_user_arg_name = undef,
|
||||||
Optional[String] 'nagios'_arg_value = undef,
|
Optional[String] $ng_user_arg_value = undef,
|
||||||
Optional[String] 'nagios'_arg_comment = undef,
|
Optional[String] $ng_user_arg_comment = undef,
|
||||||
String $ng_resource_rule_erb = 'confdroid_nagios/nagios/resource_cfg_rule.erb',
|
String $ng_resource_rule_erb = 'confdroid_nagios/nagios/resource_cfg_rule.erb',
|
||||||
|
|
||||||
) {
|
) {
|
||||||
|
|||||||
Reference in New Issue
Block a user