]> granicus.if.org Git - icinga2/commitdiff
Update example config.
authorGunnar Beutner <gunnar.beutner@netways.de>
Mon, 7 Oct 2013 13:03:08 +0000 (15:03 +0200)
committerGunnar Beutner <gunnar.beutner@netways.de>
Mon, 7 Oct 2013 13:03:08 +0000 (15:03 +0200)
etc/icinga2/conf.d/Makefile.am
etc/icinga2/conf.d/generic-host.conf [new file with mode: 0644]
etc/icinga2/conf.d/generic-service.conf [new file with mode: 0644]

index 0053df17ab3389aad7c0f698e1f0dfaac60b873b..dcb9a3d4294c98a8b7f9ca8cf729b8c79d3115ca 100644 (file)
@@ -3,6 +3,8 @@
 icinga2confdir = $(DESTDIR)${sysconfdir}/icinga2/conf.d
 
 CONFIG_FILES = \
+       generic-host.conf \
+       generic-service.conf \
        localhost.conf \
        macros.conf
 
diff --git a/etc/icinga2/conf.d/generic-host.conf b/etc/icinga2/conf.d/generic-host.conf
new file mode 100644 (file)
index 0000000..9d3825b
--- /dev/null
@@ -0,0 +1,7 @@
+/**
+ * Provides default settings for hosts. By convention
+ * all hosts should inherit from this template.
+ *
+template Host "generic-host" {
+
+}
diff --git a/etc/icinga2/conf.d/generic-service.conf b/etc/icinga2/conf.d/generic-service.conf
new file mode 100644 (file)
index 0000000..83c4d3b
--- /dev/null
@@ -0,0 +1,7 @@
+/**
+ * Provides default settings for services. By convention
+ * all services should inherit from this template.
+ *
+template Service "generic-service" {
+
+}