]> granicus.if.org Git - icinga2/commitdiff
Add more feature config files.
authorGunnar Beutner <gunnar.beutner@netways.de>
Mon, 30 Sep 2013 07:53:38 +0000 (09:53 +0200)
committerGunnar Beutner <gunnar.beutner@netways.de>
Mon, 30 Sep 2013 07:53:38 +0000 (09:53 +0200)
doc/2.1.2-setting-up-icinga-classic-ui.md
etc/icinga2/features-available/command.conf [new file with mode: 0644]
etc/icinga2/features-available/compat-log.conf [new file with mode: 0644]
etc/icinga2/features-available/compat.conf [deleted file]
etc/icinga2/features-available/livestatus.conf [new file with mode: 0644]
etc/icinga2/features-available/statusdat.conf [new file with mode: 0644]

index 7a255afcfa14e2faa68858d3f61283a21ce7007c..7f1920bfcb896545c2164765935727b89fea1932 100644 (file)
@@ -60,7 +60,6 @@ In order for commands to work you will need to grant the web server
 write permissions for the command pipe:
 
     # chgrp www-data /var/run/icinga2/cmd/icinga2.cmd
-    # chmod 660 /var/run/icinga2/cmd/icinga2.cmd
 
 > **Note**
 >
diff --git a/etc/icinga2/features-available/command.conf b/etc/icinga2/features-available/command.conf
new file mode 100644 (file)
index 0000000..3583056
--- /dev/null
@@ -0,0 +1,9 @@
+/**
+ * The ExternalCommandListener implements support for the external
+ * commands pipe.
+ */
+
+library "compat"
+
+object ExternalCommandListener "command" { }
+
diff --git a/etc/icinga2/features-available/compat-log.conf b/etc/icinga2/features-available/compat-log.conf
new file mode 100644 (file)
index 0000000..b322feb
--- /dev/null
@@ -0,0 +1,9 @@
+/**
+ * The CompatLogger type is responsible for writing log files in a format
+ * that is compatible with Icinga 1.x.
+ */
+
+library "compat"
+
+object CompatLogger "compat-log" { }
+
diff --git a/etc/icinga2/features-available/compat.conf b/etc/icinga2/features-available/compat.conf
deleted file mode 100644 (file)
index c7ed7cb..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-/**
- * The compat library periodically updates the status.dat and objects.cache
- * files. These are used by the Icinga 1.x CGIs to display the state of
- * hosts and services. CompatLog writeis the Icinga 1.x icinga.log and archives.
- */
-
-library "compat"
-
-object StatusDataWriter "status" { }
-object ExternalCommandListener "command" { }
-object CompatLogger "compat-log" { }
-
diff --git a/etc/icinga2/features-available/livestatus.conf b/etc/icinga2/features-available/livestatus.conf
new file mode 100644 (file)
index 0000000..45d44d6
--- /dev/null
@@ -0,0 +1,8 @@
+/**
+ *  The livestatus library implements the livestatus query protocol.
+ */
+
+library "livestatus"
+
+object LivestatusListener "livestatus" { }
+
diff --git a/etc/icinga2/features-available/statusdat.conf b/etc/icinga2/features-available/statusdat.conf
new file mode 100644 (file)
index 0000000..af02aa5
--- /dev/null
@@ -0,0 +1,10 @@
+/**
+ * The StatusDataWriter type periodically updates the status.dat and objects.cache
+ * files. These are used by the Icinga 1.x CGIs to display the state of
+ * hosts and services.
+ */
+
+library "compat"
+
+object StatusDataWriter "status" { }
+