Module: check_mk
Branch: master
Commit: 8f4911d356e42e965b01533be5ca8be345454a3c
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=8f4911d356e42e…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Oct 13 11:37:16 2017 +0200
5396 FIX Nagios: Log external commands to nagios.log by default
Nagios is now logging external commands to the core log (nagios.log)
in the default configuration. This makes Nagios behave like the Microcore
in this case.
Change-Id: Ie18d93111a62102753fa0a32547cbfdde1c416de
---
.werks/5396 | 12 ++++++++++++
omd/packages/nagios/skel/etc/nagios/nagios.d/logging.cfg | 2 +-
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/.werks/5396 b/.werks/5396
new file mode 100644
index 0000000..71c5cab
--- /dev/null
+++ b/.werks/5396
@@ -0,0 +1,12 @@
+Title: Nagios: Log external commands to nagios.log by default
+Level: 1
+Component: core
+Compatible: compat
+Edition: cre
+Version: 1.5.0i1
+Date: 1507887368
+Class: fix
+
+Nagios is now logging external commands to the core log (nagios.log)
+in the default configuration. This makes Nagios behave like the Microcore
+in this case.
diff --git a/omd/packages/nagios/skel/etc/nagios/nagios.d/logging.cfg
b/omd/packages/nagios/skel/etc/nagios/nagios.d/logging.cfg
index 4e98868..539f87f 100644
--- a/omd/packages/nagios/skel/etc/nagios/nagios.d/logging.cfg
+++ b/omd/packages/nagios/skel/etc/nagios/nagios.d/logging.cfg
@@ -65,7 +65,7 @@ log_initial_states=1
# checks - see the option below for controlling whether or not
# passive checks are logged.
-log_external_commands=0
+log_external_commands=1
# PASSIVE CHECKS LOGGING OPTION
# If you don't want Nagios to log passive host and service checks, set