Module: check_mk
Branch: master
Commit: 56b812d29009e61d9ccbadc82bbb7cb5dbcbec8d
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=56b812d29009e6…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Fri Jun 27 11:09:24 2014 +0200
FIX check_traceroute: Fix option Use DNS, worked vice versa
---
.werks/1032 | 8 ++++++++
ChangeLog | 1 +
checks/check_traceroute | 2 +-
3 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/.werks/1032 b/.werks/1032
new file mode 100644
index 0000000..5ba1ab3
--- /dev/null
+++ b/.werks/1032
@@ -0,0 +1,8 @@
+Title: check_traceroute: Fix option Use DNS, worked vice versa
+Level: 1
+Component: checks
+Version: 1.2.5i5
+Date: 1403860140
+Class: fix
+
+
diff --git a/ChangeLog b/ChangeLog
index 7e3ba3a..39bc22c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -10,6 +10,7 @@
* 0989 FIX: logwatch.ec: Fix forwarding multiple messages via syslog/TCP...
* 0943 FIX: if.include: fixed incorrect traffic percentage values in the check output
of if checks...
* 0944 FIX: oracle_tablespaces: fixed calculation of space left and number of
remaining increments...
+ * 1032 FIX: check_traceroute: Fix option Use DNS, worked vice versa
Multisite:
* 1013 Sort host names naturally, e.g. foobar11 comes after foobar2...
diff --git a/checks/check_traceroute b/checks/check_traceroute
index 6a48f4f..221ea48 100644
--- a/checks/check_traceroute
+++ b/checks/check_traceroute
@@ -26,7 +26,7 @@
def check_traceroute_arguments(params):
args = ""
- if params["dns"]:
+ if not params["dns"]:
args += "-n "
method = params["method"]
if method == "icmp":