]> git.immae.eu Git - perso/Immae/Config/Nix.git/blobdiff - modules/private/monitoring/conf/services.cfg
Add monitoring modules via naemon
[perso/Immae/Config/Nix.git] / modules / private / monitoring / conf / services.cfg
diff --git a/modules/private/monitoring/conf/services.cfg b/modules/private/monitoring/conf/services.cfg
new file mode 100644 (file)
index 0000000..0740dc7
--- /dev/null
@@ -0,0 +1,27 @@
+# vim: filetype=nagios
+
+define service {
+  name                           generic-service
+  active_checks_enabled          1
+  check_freshness                0
+  check_interval                 10
+  check_period                   24x7
+  contact_groups                 admins
+  event_handler_enabled          1
+  flap_detection_enabled         1
+  is_volatile                    0
+  max_check_attempts             3
+  notification_interval          60
+  notification_options           w,u,c,r,f
+  notification_period            24x7
+  # no notification since we send them to master
+  notifications_enabled          0
+  obsess_over_service            1
+  passive_checks_enabled         1
+  process_perf_data              1
+  register                       0
+  retain_nonstatus_information   1
+  retain_status_information      1
+  retry_interval                 2
+}
+