diff --git a/doc/_index.html b/doc/_index.html
index 107b853..f261086 100644
--- a/doc/_index.html
+++ b/doc/_index.html
@@ -123,6 +123,11 @@
+
+ confdroid_nagios::params
+
+
+
confdroid_nagios::server::access_rules
diff --git a/doc/file.README.html b/doc/file.README.html
index 7f504c3..1eaeba9 100644
--- a/doc/file.README.html
+++ b/doc/file.README.html
@@ -69,6 +69,14 @@
WARNING
Features
+
+Repo Documentation
+
+Dependencies
+
+Deployment
+
+Configuration
-Repo Documentation
-
-Dependencies
-
-Deployment
-
PuppetDB
SELINUX
@@ -125,6 +127,44 @@
if ng_include_nrpeis set to true, the confdroid_nrpe module is automatically applied on clients (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
+
+node 'example.example.net' {
+ include confdroid_nagios
+}
+
+
+
+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.
+
+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:
@@ -188,42 +228,6 @@ Re-type new password:
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
-
-node 'example.example.net' {
- include confdroid_nagios
-}
-
-
-
-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.
-
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 is available to automate this task for you as well within a few minutes.
diff --git a/doc/index.html b/doc/index.html
index d91c98b..58732dd 100644
--- a/doc/index.html
+++ b/doc/index.html
@@ -69,6 +69,14 @@
WARNING
Features
+
+Repo Documentation
+
+Dependencies
+
+Deployment
+
+Configuration
-Repo Documentation
-
-Dependencies
-
-Deployment
-
PuppetDB
SELINUX
@@ -125,6 +127,44 @@
if ng_include_nrpeis set to true, the confdroid_nrpe module is automatically applied on clients (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
+
+node 'example.example.net' {
+ include confdroid_nagios
+}
+
+
+
+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.
+
+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:
@@ -188,42 +228,6 @@ Re-type new password:
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
-
-node 'example.example.net' {
- include confdroid_nagios
-}
-
-
-
-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.
-
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 is available to automate this task for you as well within a few minutes.
diff --git a/doc/puppet_class_list.html b/doc/puppet_class_list.html
index 0ede193..9d23298 100644
--- a/doc/puppet_class_list.html
+++ b/doc/puppet_class_list.html
@@ -117,28 +117,35 @@
-
+
+
+
+
+
+
-
+
-
+
-
+
diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aclient_3A_3Atarget.html b/doc/puppet_classes/confdroid_nagios_3A_3Aclient_3A_3Atarget.html
index d19a9bc..2c4d4c0 100644
--- a/doc/puppet_classes/confdroid_nagios_3A_3Aclient_3A_3Atarget.html
+++ b/doc/puppet_classes/confdroid_nagios_3A_3Aclient_3A_3Atarget.html
@@ -64,7 +64,7 @@
- Inherits:
- - confdroid_nagios::params
+ - confdroid_nagios::params
diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Aconfig.html b/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Aconfig.html
index 8ee3019..884d72a 100644
--- a/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Aconfig.html
+++ b/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Aconfig.html
@@ -64,7 +64,7 @@
- Inherits:
- - confdroid_nagios::params
+ - confdroid_nagios::params
diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Adirs.html b/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Adirs.html
index 59d8cdb..1e5cbbc 100644
--- a/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Adirs.html
+++ b/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Adirs.html
@@ -64,7 +64,7 @@
- Inherits:
- - confdroid_nagios::params
+ - confdroid_nagios::params
diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Ainstall.html b/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Ainstall.html
index ab73cec..0ed430d 100644
--- a/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Ainstall.html
+++ b/doc/puppet_classes/confdroid_nagios_3A_3Amain_3A_3Ainstall.html
@@ -64,7 +64,7 @@
- Inherits:
- - confdroid_nagios::params
+ - confdroid_nagios::params
diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aconfig.html b/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aconfig.html
index 34b2cbd..a27765d 100644
--- a/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aconfig.html
+++ b/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aconfig.html
@@ -64,7 +64,7 @@
- Inherits:
- - confdroid_nagios::params
+ - confdroid_nagios::params
diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Aadd_contact_rules.html b/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Aadd_contact_rules.html
index b9cfe79..0da6eac 100644
--- a/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Aadd_contact_rules.html
+++ b/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Aadd_contact_rules.html
@@ -64,7 +64,7 @@
- Inherits:
- - confdroid_nagios::params
+ - confdroid_nagios::params
diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Aadd_contactgroups_rules.html b/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Aadd_contactgroups_rules.html
index 4fa3347..c91330b 100644
--- a/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Aadd_contactgroups_rules.html
+++ b/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Aadd_contactgroups_rules.html
@@ -64,7 +64,7 @@
- Inherits:
- - confdroid_nagios::params
+ - confdroid_nagios::params
diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Aadd_hostgroup_rules.html b/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Aadd_hostgroup_rules.html
index 122e2e6..2ea71d8 100644
--- a/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Aadd_hostgroup_rules.html
+++ b/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Aadd_hostgroup_rules.html
@@ -64,7 +64,7 @@
- Inherits:
- - confdroid_nagios::params
+ - confdroid_nagios::params
diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Acommands.html b/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Acommands.html
index 78bfdf6..6fba845 100644
--- a/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Acommands.html
+++ b/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aobjects_3A_3Acommands.html
@@ -64,7 +64,7 @@
- Inherits:
- - confdroid_nagios::params
+ - confdroid_nagios::params
diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aresources_3A_3Aresource.html b/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aresources_3A_3Aresource.html
index edb548a..2e81a53 100644
--- a/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aresources_3A_3Aresource.html
+++ b/doc/puppet_classes/confdroid_nagios_3A_3Anagios_3A_3Aresources_3A_3Aresource.html
@@ -64,7 +64,7 @@
- Inherits:
- - confdroid_nagios::params
+ - confdroid_nagios::params
diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
index bbf6cfa..f42eb3c 100644
--- a/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
+++ b/doc/puppet_classes/confdroid_nagios_3A_3Aparams.html
@@ -91,6 +91,8 @@
confdroid_nagios::nagios::objects::add_contact_rules
+ confdroid_nagios::nagios::objects::add_hostgroup_rules
+
confdroid_nagios::nagios::objects::add_contactgroups_rules
@@ -149,7 +151,7 @@ inherited by all classes except defines.
(Array)
- (defaults to: ['nagios','nagios-devel'])
+ (defaults to: [$ng_users,'nagios-devel'])
—
@@ -239,12 +241,12 @@ inherited by all classes except defines.
(String)
- (defaults to: 'nagios')
+ (defaults to: $ng_users)
—
-
The username for the Nagios web interface. Default is ‘nagios’.
+
The username for the Nagios web interface. Default is $ng_users.
@@ -257,12 +259,12 @@ inherited by all classes except defines.
(String)
- (defaults to: 'nagios')
+ (defaults to: $ng_users)
—
-
The encrypted password for the Nagios web interface. Default is ‘nagios’. Must be properly encrypted using the htpasswd utility.
+
The encrypted password for the Nagios web interface. Default is $ng_users. Must be properly encrypted using the htpasswd utility.
@@ -575,12 +577,14 @@ inherited by all classes except defines.
- ng_procs_tot_ensure
+ ng_procs_tot_ens
(String)
+ (defaults to: 'present')
+
—
@@ -717,7 +721,43 @@ inherited by all classes except defines.
- ng_procs_tot_ens
+ ng_contactgroup_name
+
+
+ (String)
+
+
+ (defaults to: 'admins')
+
+
+ —
+
+
The name of the default contact group. Default is ‘admins’.
+
+
+
+
+
+
+ ng_contactgroup_alias
+
+
+ (String)
+
+
+ (defaults to: 'Nagios Administrators')
+
+
+ —
+
+
The alias of the default contact group. Default is ‘Nagios Administrators’.
+
+
+
+
+
+
+ ng_contactgroup_ensure
(String)
@@ -726,6 +766,137 @@ inherited by all classes except defines.
(defaults to: 'present')
+ —
+
+
The ensure value for the default contact group. Default is ‘present’.
+
+
+
+
+
+
+ ng_contact_name
+
+
+ (String)
+
+
+ (defaults to: 'nagiosadmin')
+
+
+ —
+
+
The name of the default contact. Default is ‘nagiosadmin’.
+
+
+
+
+
+
+ ng_contact_alias
+
+
+ (String)
+
+
+ (defaults to: 'Nagios Admin')
+
+
+ —
+
+
The alias of the default contact. Default is ‘Nagios Admin’.
+
+
+
+
+
+
+ ng_contact_groups
+
+
+ (String)
+
+
+ (defaults to: 'admins')
+
+
+ —
+
+
The contact groups for the default contact. Default is ‘admins’.
+
+
+
+
+
+
+ ng_contact_email
+
+
+ (String)
+
+
+ (defaults to: 'nagiosadmin@example.net')
+
+
+ —
+
+
The email address for the default contact. Default is ‘nagiosadmin@example.net’.
+
+
+
+
+
+
+ ng_hostgroup_name
+
+
+ (String)
+
+
+ (defaults to: 'linux-servers')
+
+
+ —
+
+
The name of the default host group. Default is ‘linux-servers’.
+
+
+
+
+
+
+ ng_hostgroup_alias
+
+
+ (String)
+
+
+ (defaults to: 'Linux Servers')
+
+
+ —
+
+
The alias of the default host group. Default is ‘Linux Servers’.
+
+
+
+
+
+
+ ng_hostgroup_ensure
+
+
+ (String)
+
+
+ (defaults to: 'present')
+
+
+ —
+
+
The ensure value for the default host group Default is ‘present’.
+
+
@@ -739,26 +910,6 @@ inherited by all classes except defines.
-77
-78
-79
-80
-81
-82
-83
-84
-85
-86
-87
-88
-89
-90
-91
-92
-93
-94
-95
-96
97
98
99
@@ -884,21 +1035,73 @@ inherited by all classes except defines.
219
220
221
-222
+222
+223
+224
+225
+226
+227
+228
+229
+230
+231
+232
+233
+234
+235
+236
+237
+238
+239
+240
+241
+242
+243
+244
+245
+246
+247
+248
+249
+250
+251
+252
+253
+254
+255
+256
+257
+258
- # File 'manifests/params.pp', line 77
+ # File 'manifests/params.pp', line 97
class confdroid_nagios::params (
# main
String $ng_nagios_server = 'nagios.example.net',
- Array $ng_reqpackages_server = ['nagios','nagios-devel'],
+ Array $ng_reqpackages_server = [$ng_users,'nagios-devel'],
Array $ng_reqpackages_client = ['net-snmp-utils','nagios-plugins','nagios-plugins-all','nagios-plugins-nrpe','nagios-common'],
String $ng_pkg_ensure = 'present',
Boolean $ng_include_nrpe = true,
- String $ng_main_user = 'nagios',
- String $ng_main_password = 'nagios',
+ String $ng_main_user = $ng_users,
+ String $ng_main_password = $ng_users,
+
+# contact groups
+ String $ng_contactgroup_name = 'admins',
+ String $ng_contactgroup_alias = 'Nagios Administrators',
+ String $ng_contactgroup_ensure = 'present',
+
+# contacts
+ String $ng_contact_name = 'nagiosadmin',
+ String $ng_contact_alias = 'Nagios Admin',
+ 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',
@@ -949,7 +1152,7 @@ class confdroid_nagios::params (
$os_release = $facts['os']['release']['major']
# service
- $ng_nagios_service = 'nagios'
+ $ng_nagios_service = $ng_users
# directories
$ng_main_dir = '/etc/nagios'
diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aaccess_rules.html b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aaccess_rules.html
index 797fcca..2c16af4 100644
--- a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aaccess_rules.html
+++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aaccess_rules.html
@@ -64,7 +64,7 @@
- Inherits:
- - confdroid_nagios::params
+ - confdroid_nagios::params
diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Afiles.html b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Afiles.html
index 7b1bb3c..03741b0 100644
--- a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Afiles.html
+++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Afiles.html
@@ -64,7 +64,7 @@
- Inherits:
- - confdroid_nagios::params
+ - confdroid_nagios::params
diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html
index 6eddac4..1ee4440 100644
--- a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html
+++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Anagios.html
@@ -64,7 +64,7 @@
- Inherits:
- - confdroid_nagios::params
+ - confdroid_nagios::params
diff --git a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html
index 48258db..10da427 100644
--- a/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html
+++ b/doc/puppet_classes/confdroid_nagios_3A_3Aserver_3A_3Aservice.html
@@ -64,7 +64,7 @@
- Inherits:
- - confdroid_nagios::params
+ - confdroid_nagios::params
|