summaryrefslogtreecommitdiff
path: root/puppet/modules/nagios/manifests/defaults/contacts.pp
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/modules/nagios/manifests/defaults/contacts.pp')
-rw-r--r--puppet/modules/nagios/manifests/defaults/contacts.pp15
1 files changed, 15 insertions, 0 deletions
diff --git a/puppet/modules/nagios/manifests/defaults/contacts.pp b/puppet/modules/nagios/manifests/defaults/contacts.pp
new file mode 100644
index 00000000..0252b5a8
--- /dev/null
+++ b/puppet/modules/nagios/manifests/defaults/contacts.pp
@@ -0,0 +1,15 @@
+class nagios::defaults::contacts {
+
+ nagios_contact {
+ 'root':
+ alias => 'Root',
+ service_notification_period => '24x7',
+ host_notification_period => '24x7',
+ service_notification_options => 'w,u,c,r',
+ host_notification_options => 'd,r',
+ service_notification_commands => 'notify-service-by-email',
+ host_notification_commands => 'notify-host-by-email',
+ email => 'root@localhost',
+ }
+
+}