Module: check_mk
Branch: master
Commit: 0b8f441a6072de76bfa4ed91f6082a3ab4667829
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=0b8f441a6072de…
Author: Konstantin Büttner <kb(a)mathias-kettner.de>
Date: Fri Dec 29 14:45:02 2017 +0100
Revert "5526 FIX check_dns: Do not pass off the host's IP address as a default DNS server address"
This reverts commit 59499b860504229fd3528712134823a92bc2d46a.
Change-Id: I0e8ea19a140b4bcae7a99cb2e9aae2567247868b
---
checks/check_dns | 2 ++
1 file changed, 2 insertions(+)
diff --git a/checks/check_dns b/checks/check_dns
index 2f5bbd2..743636f 100644
--- a/checks/check_dns
+++ b/checks/check_dns
@@ -31,6 +31,8 @@ def check_dns_arguments(params):
if "server" in settings:
if settings["server"] != None:
args += ' -s %s' % quote_shell_string(settings["server"])
+ else:
+ args += " -s '$HOSTADDRESS$'"
if "expected_address" in settings:
# Convert from old (str) to new (list of strings)
Module: check_mk
Branch: master
Commit: dbd5370e9694c5c9b74a9cb3e4c88cc7e794d777
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=dbd5370e9694c5…
Author: Konstantin Büttner <kb(a)mathias-kettner.de>
Date: Fri Dec 29 14:49:36 2017 +0100
5599 FIX check_dns: Return to the behaviour prior to Werk #5526
Although Werk #5526 brought the behaviour in line with what's described in the GUI,
this kind of change requires further discussion as to what the desired behaviour is.
We return to the old behaviour and adjust the GUIs description
Change-Id: I21d290ba63878d2a736fd6468c006bfc5188873c
---
.werks/5599 | 12 ++++++++++++
web/plugins/wato/active_checks.py | 4 ++--
2 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/.werks/5599 b/.werks/5599
new file mode 100644
index 0000000..c73b42e
--- /dev/null
+++ b/.werks/5599
@@ -0,0 +1,12 @@
+Title: check_dns: Return to the behaviour prior to Werk #5526
+Level: 1
+Component: checks
+Compatible: compat
+Edition: cre
+Version: 1.4.0p23
+Date: 1514555220
+Class: fix
+
+Although Werk #5526 brought the behaviour in line with what's described in the GUI,
+this kind of change requires further discussion as to what the desired behaviour is.
+We return to the old behaviour and adjust the GUIs description
diff --git a/web/plugins/wato/active_checks.py b/web/plugins/wato/active_checks.py
index 4a0f532..698099c 100644
--- a/web/plugins/wato/active_checks.py
+++ b/web/plugins/wato/active_checks.py
@@ -451,8 +451,8 @@ register_rule(group,
Alternative(
title = _("DNS Server"),
elements = [
- FixedValue( value=None, totext=_("use local configuration"),
- title = _("Use local DNS configuration of monitoring site")),
+ FixedValue( value=None, totext=_("this host"),
+ title = _("Use this host as a DNS server for the lookup")),
TextAscii(
title = _("Specify DNS Server"),
allow_empty = False,
Module: check_mk
Branch: master
Commit: 0bf102db5699bd89fb36621fae640ae902b3b04d
URL: http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=0bf102db5699bd…
Author: Konstantin Büttner <kb(a)mathias-kettner.de>
Date: Thu Dec 28 13:55:32 2017 +0100
5598 FIX postfix_mailq_status: Fix Linux agent to handle newer SuSE systems
Postfixes master executable can be found under postfix/sbin or postfix/bin
depending on the system. The latter case had not been handled by the agent.
This has been fixed.
Thanks to Robert Sander for the patch!
Change-Id: Ie88e80527d83b9a8f421c989d2aa299e85da1efc
---
.werks/5598 | 15 +++++++++++++++
agents/check_mk_agent.linux | 2 +-
2 files changed, 16 insertions(+), 1 deletion(-)
diff --git a/.werks/5598 b/.werks/5598
new file mode 100644
index 0000000..ceba293
--- /dev/null
+++ b/.werks/5598
@@ -0,0 +1,15 @@
+Title: postfix_mailq_status: Fix Linux agent to handle newer SuSE systems
+Level: 1
+Component: checks
+Class: fix
+Compatible: compat
+Edition: cre
+State: unknown
+Version: 1.5.0i3
+Date: 1514465574
+
+Postfixes master executable can be found under postfix/sbin or postfix/bin
+depending on the system. The latter case had not been handled by the agent.
+This has been fixed.
+
+Thanks to Robert Sander for the patch!
diff --git a/agents/check_mk_agent.linux b/agents/check_mk_agent.linux
index ebe697a..8354e1a 100755
--- a/agents/check_mk_agent.linux
+++ b/agents/check_mk_agent.linux
@@ -694,7 +694,7 @@ if type postfix >/dev/null ; then
if [ -e "$i/pid/master.pid" ]; then
if [ -r "$i/pid/master.pid" ]; then
postfix_pid=$(cat $i/pid/master.pid | sed 's/ //g') # handle possible spaces in output
- if readlink -- "/proc/$postfix_pid/exe" | grep -q ".*postfix/\(sbin/\)\?master.*"; then
+ if readlink -- "/proc/$postfix_pid/exe" | grep -q ".*postfix/\(s\?bin/\)\?master.*"; then
echo "$i:the Postfix mail system is running:PID:$postfix_pid" | sed 's/\/var\/spool\///g'
else
echo "$i:PID file exists but instance is not running!" | sed 's/\/var\/spool\///g'