diff options
Diffstat (limited to 'modules/profile/manifests/monitoring/contacts.pp')
-rw-r--r-- | modules/profile/manifests/monitoring/contacts.pp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/modules/profile/manifests/monitoring/contacts.pp b/modules/profile/manifests/monitoring/contacts.pp new file mode 100644 index 0000000..284d51c --- /dev/null +++ b/modules/profile/manifests/monitoring/contacts.pp | |||
@@ -0,0 +1,15 @@ | |||
1 | class profile::monitoring::contacts { | ||
2 | Nagios_contactgroup { | ||
3 | ensure => "present", | ||
4 | owner => "naemon", | ||
5 | group => "naemon", | ||
6 | target => "/etc/naemon/objects.cfg", | ||
7 | notify => Service["naemon"], | ||
8 | before => Service["naemon"], | ||
9 | } | ||
10 | |||
11 | nagios_contactgroup { "admins": | ||
12 | alias => "System administrators", | ||
13 | } | ||
14 | |||
15 | } | ||