diff options
author | Jerome Charaoui <jcharaoui@cmaisonneuve.qc.ca> | 2009-12-02 17:19:20 -0500 |
---|---|---|
committer | Jerome Charaoui <jcharaoui@cmaisonneuve.qc.ca> | 2009-12-02 17:19:20 -0500 |
commit | 97e13bd2809d1e431fcac063abeb757f235f2394 (patch) | |
tree | 225f906abe213aa3037b4b20bfa8f527aaf60416 /manifests/defaults/contacts.pp | |
parent | 0bcac1357115fe9b03ec884632d46c93efb317d9 (diff) |
replace defaults based on cfg files by puppet resources
Diffstat (limited to 'manifests/defaults/contacts.pp')
-rw-r--r-- | manifests/defaults/contacts.pp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/manifests/defaults/contacts.pp b/manifests/defaults/contacts.pp new file mode 100644 index 0000000..0252b5a --- /dev/null +++ b/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', + } + +} |