[checkmk-commits] 3814 FIX win_netstat: fixed unicode warning while parsing data

Andreas Boesl ab at mathias-kettner.de
Mon Sep 26 16:05:32 CEST 2016


Module: check_mk
Branch: master
Commit: f59e711d4735f9c9763471bbdc63f4fe9e9a7387
URL:    http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=f59e711d4735f9c9763471bbdc63f4fe9e9a7387

Author: Andreas Boesl <ab at mathias-kettner.de>
Date:   Mon Sep 26 16:04:03 2016 +0200

3814 FIX win_netstat: fixed unicode warning while parsing data

---

 .werks/3814        | 9 +++++++++
 ChangeLog          | 1 +
 checks/win_netstat | 2 +-
 3 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/.werks/3814 b/.werks/3814
new file mode 100644
index 0000000..114ec40
--- /dev/null
+++ b/.werks/3814
@@ -0,0 +1,9 @@
+Title: win_netstat: fixed unicode warning while parsing data
+Level: 1
+Component: checks
+Compatible: compat
+Version: 1.4.0i1
+Date: 1474898629
+Class: fix
+
+
diff --git a/ChangeLog b/ChangeLog
index 9de7d78..4e24b70 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -410,6 +410,7 @@
     * 3888 FIX: df checks: Fixed invalid displayed WARN / CRIT lines in graphs when using "bytes left" thresholds
     * 3840 FIX: cisco_qos: Fixed wrong units in graphs...
     * 3890 FIX: check_mk_agent.openbsd: Fixed broken MRPE checks
+    * 3814 FIX: win_netstat: fixed unicode warning while parsing data
 
     Multisite:
     * 3187 notification view: new filter for log command via regex
diff --git a/checks/win_netstat b/checks/win_netstat
index fb247b3..3853095 100644
--- a/checks/win_netstat
+++ b/checks/win_netstat
@@ -54,7 +54,7 @@
 
 win_netstat_states = {
   # German
-  "ABH\x99REN"  : "LISTENING",
+  u"ABH\x99REN"  : "LISTENING",
   "HERGESTELLT" : "ESTABLISHED",
   "WARTEND"     : "TIME_WAIT",
   # Add further states in any required language here. Sorry, Windows



More information about the checkmk-commits mailing list