OP#436 add service groups

This commit is contained in:
2026-03-01 16:31:12 +01:00
parent 766e267a91
commit e6b6992cc2
2 changed files with 6 additions and 4 deletions

View File

@@ -40,6 +40,8 @@ At this stage, the module is being redeveloped and being built to the latest sta
- 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.
- 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 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)

View File

@@ -9,9 +9,9 @@
#############################################################################
define confdroid_nagios::nagios::resources::resource_df (
Optional[String] 'nagios'_arg_name = undef,
Optional[String] 'nagios'_arg_value = undef,
Optional[String] 'nagios'_arg_comment = undef,
Optional[String] $ng_user_arg_name = undef,
Optional[String] $ng_user_arg_value = undef,
Optional[String] $ng_user_arg_comment = undef,
String $ng_resource_rule_erb = 'confdroid_nagios/nagios/resource_cfg_rule.erb',
) {