Module: check_mk
Branch: master
Commit: eb08ccffea07e111b802ccbc8d3a50d436322665
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=eb08ccffea07e1…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Wed Jul 23 14:09:14 2014 +0200
check_http: now able to enter non-ascii signs in "Send HTTP POST data" rule
---
.werks/1086 | 9 +++++++++
ChangeLog | 3 ++-
web/plugins/wato/active_checks.py | 2 +-
3 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/.werks/1086 b/.werks/1086
new file mode 100644
index 0000000..e1200a2
--- /dev/null
+++ b/.werks/1086
@@ -0,0 +1,9 @@
+Title: check_http: now able to enter non-ascii signs in "Send HTTP POST data"
rule
+Level: 1
+Component: wato
+Version: 1.2.5i5
+Date: 1406117033
+Class: feature
+
+You are now able to enter öäß.. characters into the POST field.
+When calling check_http, the entered text (unicode) will be converted into utf-8.
diff --git a/ChangeLog b/ChangeLog
index 4f05f54..b12e814 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -38,8 +38,8 @@
* 1133 qlogic_sanbox_fabric_element: New Check for Fabric Elements in QLogic SANbox
Fibre Channel Switches
* 1134 bintec_sensors.fan: New Check for Fan Speed of Bintec Routers
* 1135 bintec_sensors.voltage, bintec_sensors.temp: New Checks for Voltage and
Temperature Sensors of Bintec Routers
- * 1136 bintec_brrp_status: New Check for BRRP States on Bintec Routers
* 1048 mem.win: support predictive levels...
+ * 1136 bintec_brrp_status: New Check for BRRP States on Bintec Routers
* 0994 FIX: agent plugin smart: fixed syntax error
* 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...
@@ -84,6 +84,7 @@
WATO:
* 0825 WATO: Hover menu of user online state shows the last seen date/time now
* 1057 WATO folder permissions are only exported to NagVis when configured...
+ * 1086 check_http: now able to enter non-ascii signs in "Send HTTP POST
data" rule...
* 0990 FIX: Fix HTTP error handling in bulk inventory...
* 1004 FIX: Fix exception when saving rules, caused by empty item
* 0947 FIX: WATO snapshots: fixed missing files on restoring nagvis backup domains
diff --git a/web/plugins/wato/active_checks.py b/web/plugins/wato/active_checks.py
index 8e140b1..37d439f 100644
--- a/web/plugins/wato/active_checks.py
+++ b/web/plugins/wato/active_checks.py
@@ -667,7 +667,7 @@ register_rule(group,
Tuple(
title = _("Send HTTP POST data"),
elements = [
- TextAscii(
+ TextUnicode(
title = _("HTTP POST data"),
help = _("Data to send via HTTP POST
method. "
"Please make sure, that the data
is URL-encoded."),