OP#436 add nagios hostgroups, and example groups and contacts
This commit is contained in:
@@ -87,6 +87,12 @@
|
||||
# Default is 'admins'.
|
||||
# @param [String] ng_contact_email The email address for the default contact.
|
||||
# Default is 'nagiosadmin@example.net'.
|
||||
# @param [String] ng_hostgroup_name The name of the default host group. Default
|
||||
# is 'linux-servers'.
|
||||
# @param [String] ng_hostgroup_alias The alias of the default host group. Default
|
||||
# is 'Linux Servers'.
|
||||
# @param [String] ng_hostgroup_ensure The ensure value for the default host group
|
||||
# Default is 'present'.
|
||||
###############################################################################
|
||||
class confdroid_nagios::params (
|
||||
|
||||
@@ -110,6 +116,11 @@ class confdroid_nagios::params (
|
||||
String $ng_contact_groups = 'admins',
|
||||
String $ng_contact_email = 'nagiosadmin@example.net',
|
||||
|
||||
# hostgroups
|
||||
String $ng_hostgroup_name = 'linux-servers',
|
||||
String $ng_hostgroup_alias = 'Linux Servers',
|
||||
String $ng_hostgroup_ensure = 'present',
|
||||
|
||||
# nagios.cfg
|
||||
String $ng_log_file = '/var/log/nagios/nagios.log',
|
||||
|
||||
|
||||
Reference in New Issue
Block a user