]> granicus.if.org Git - icinga2/commitdiff
Add config feature 'syslog' logger.
authorMichael Friedrich <Michael.Friedrich@netways.de>
Thu, 3 Oct 2013 17:40:26 +0000 (19:40 +0200)
committerMichael Friedrich <Michael.Friedrich@netways.de>
Thu, 3 Oct 2013 17:40:26 +0000 (19:40 +0200)
etc/icinga2/Makefile.am
etc/icinga2/features-available/Makefile.am
etc/icinga2/features-available/syslog.conf [new file with mode: 0644]

index 5eda82ed886e4de788155db7459f31888c5d7bb5..4149576c4d59486a685c71425a4d10f2fd5c6875 100644 (file)
@@ -24,4 +24,5 @@ install-exec-hook:
          $(MKDIR_P) features-enabled && \
          $(LN_S) ../features-available/checker.conf features-enabled/; \
          $(LN_S) ../features-available/notification.conf features-enabled/; \
+         $(LN_S) ../features-available/syslog.conf features-enabled/; \
        fi
index c40b43332a5666de5717c0347e17add566633974..bcdba283c4bb73184de3261d48833beea410bac1 100644 (file)
@@ -10,6 +10,7 @@ CONFIG_FILES = \
        livestatus.conf \
        notification.conf \
        perfdata.conf \
+       syslog.conf \
        statusdat.conf
 
 install-data-local:
diff --git a/etc/icinga2/features-available/syslog.conf b/etc/icinga2/features-available/syslog.conf
new file mode 100644 (file)
index 0000000..c086e1a
--- /dev/null
@@ -0,0 +1,8 @@
+/**
+ * The SyslogLogger type writes log information to syslog.
+ */
+
+object SyslogLogger "syslog" {
+    severity = "information"
+}
+