icinga2.conf: Include plugins-contrib, manubulon, windows-plugins, nscp by default
authorMichael Friedrich <michael.friedrich@netways.de>
Tue, 16 Aug 2016 06:42:52 +0000 (08:42 +0200)
committerMichael Friedrich <michael.friedrich@netways.de>
Tue, 16 Aug 2016 09:17:29 +0000 (11:17 +0200)
This helps a lot when configuring client checks as command endpoint
where the check command definitions are both used on the master
and the client.

fixes #10722

doc/4-configuring-icinga-2.md
etc/icinga2/icinga2.conf
etc/icinga2/win32/icinga2.conf

index 192bad59953c95425590fc4f96468856c40c6a82..9e455fa3fb649e388c9866db30a48c93a14cfe73 100644 (file)
@@ -100,6 +100,9 @@ The `include` directive can be used to include other files.
      */
      include "zones.conf"
 
+The [Icinga Template Library](10-icinga-template-library.md#icinga-template-library) provides a set of common templates
+and [CheckCommand](3-monitoring-basics.md#check-commands) definitions.
+
     /**
      * The Icinga Template Library (ITL) provides a number of useful templates
      * and command definitions.
@@ -107,6 +110,20 @@ The `include` directive can be used to include other files.
      */
     include <itl>
     include <plugins>
+    include <plugins-contrib>
+    include <manubulon>
+
+    /**
+     * This includes the Icinga 2 Windows plugins. These command definitions
+     * are required on a master node when a client is used as command endpoint.
+     */
+    include <windows-plugins>
+
+    /**
+     * This includes the NSClient++ check commands. These command definitions
+     * are required on a master node when a client is used as command endpoint.
+     */
+    include <nscp>
 
     /**
      * The features-available directory contains a number of configuration
index e258e7e9aa633169d9fcc64780822d24721530c6..a809b96949804586f2311e23277ee802a9d3b532 100644 (file)
@@ -25,7 +25,20 @@ include "zones.conf"
  */
 include <itl>
 include <plugins>
-// include <plugins-contrib>
+include <plugins-contrib>
+include <manubulon>
+
+/**
+ * This includes the Icinga 2 Windows plugins. These command definitions
+ * are required on a master node when a client is used as command endpoint.
+ */
+include <windows-plugins>
+
+/**
+ * This includes the NSClient++ check commands. These command definitions
+ * are required on a master node when a client is used as command endpoint.
+ */
+include <nscp>
 
 /**
  * The features-available directory contains a number of configuration
index 6263afbad7b91734207e7466677b955ba1d38c5d..ecd6120303bc7cadf0eebc4614699da7c75719d1 100644 (file)
@@ -25,7 +25,8 @@ include "zones.conf"
  */
 include <itl>
 include <plugins>
-// include <plugins-contrib>
+include <plugins-contrib>
+include <manubulon>
 
 /**
  * This includes the Icinga 2 Windows plugins.
@@ -58,4 +59,3 @@ include_recursive "repository.d"
  * directory. Each of these files must have the file extension ".conf".
  */
 include_recursive "conf.d"
-