summaryrefslogtreecommitdiff
path: root/manifests/defaults/service_templates.pp
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2010-05-05 23:22:10 +0200
committermh <mh@immerda.ch>2010-05-05 23:22:10 +0200
commit33b091b896fbb0b54ee9968c452ef2a8867893d8 (patch)
tree863c61e2de0c258c859527e14e86b47ffd8f0bb1 /manifests/defaults/service_templates.pp
parent77f601607093b7fb22f3498574d0dedd2cbe01d9 (diff)
parent5d5ec8c28d0fe39359af8db159b14faeae397e1f (diff)
merged with lavamind
Diffstat (limited to 'manifests/defaults/service_templates.pp')
-rw-r--r--manifests/defaults/service_templates.pp32
1 files changed, 32 insertions, 0 deletions
diff --git a/manifests/defaults/service_templates.pp b/manifests/defaults/service_templates.pp
new file mode 100644
index 0000000..326ce05
--- /dev/null
+++ b/manifests/defaults/service_templates.pp
@@ -0,0 +1,32 @@
+class nagios::defaults::service_templates {
+
+ # this inoperative for the moment, see :
+ # http://projects.reductivelabs.com/issues/1180
+
+ nagios_service {
+ 'generic-service':
+ active_checks_enabled => '1',
+ passive_checks_enabled => '1',
+ parallelize_check => '1',
+ obsess_over_service => '1',
+ check_freshness => '0',
+ 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',
+ notification_interval => '0',
+ is_volatile => '0',
+ check_period => '24x7',
+ normal_check_interval => '5',
+ retry_check_interval => '1',
+ max_check_attempts => '4',
+ notification_period => '24x7',
+ notification_options => 'w,u,c,r',
+ contact_groups => 'admins',
+ register => '0',
+ }
+
+}