summaryrefslogtreecommitdiff
path: root/manifests/defaults/host_templates.pp
diff options
context:
space:
mode:
authorJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>2009-12-02 17:19:20 -0500
committerJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>2009-12-02 17:19:20 -0500
commit97e13bd2809d1e431fcac063abeb757f235f2394 (patch)
tree225f906abe213aa3037b4b20bfa8f527aaf60416 /manifests/defaults/host_templates.pp
parent0bcac1357115fe9b03ec884632d46c93efb317d9 (diff)
replace defaults based on cfg files by puppet resources
Diffstat (limited to 'manifests/defaults/host_templates.pp')
-rw-r--r--manifests/defaults/host_templates.pp21
1 files changed, 21 insertions, 0 deletions
diff --git a/manifests/defaults/host_templates.pp b/manifests/defaults/host_templates.pp
new file mode 100644
index 0000000..30d7544
--- /dev/null
+++ b/manifests/defaults/host_templates.pp
@@ -0,0 +1,21 @@
+class nagios::defaults::host_templates {
+
+ nagios_host {
+ 'generic-host':
+ notifications_enabled => '1',
+ event_handler_enabled => '1',
+ flap_detection_enabled => '1',
+ failure_prediction_enabled => '1',
+ process_perf_data => '1',
+ retain_status_information => '1',
+ retain_nonstatus_information => '1',
+ check_command => 'check-host-alive',
+ max_check_attempts => '10',
+ notification_interval => '0',
+ notification_period => '24x7',
+ notification_options => 'd,u,r',
+ contact_groups => 'admins',
+ register => '0',
+ }
+
+}