Module: check_mk
Branch: master
Commit: f702bfd89a3c0b462e21e6952d5f38da0ff031b8
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=f702bfd89a3c0b…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Mon Feb 15 11:35:54 2016 +0100
Added werk 3193.
---
.werks/3193 | 16 ++++++++++++++++
ChangeLog | 3 +++
web/plugins/views/commands.py | 5 ++---
3 files changed, 21 insertions(+), 3 deletions(-)
diff --git a/.werks/3193 b/.werks/3193
new file mode 100644
index 0000000..89583ca
--- /dev/null
+++ b/.werks/3193
@@ -0,0 +1,16 @@
+Title: Fixed fake check results for hosts
+Level: 1
+Component: core
+Class: fix
+Compatible: compat
+State: unknown
+Version: 1.2.9i1
+Date: 1455531955
+
+Fake check results were handled in a slightly inconsistent way, now their
+behavior exactly mirrors the processing of "real" check results, making the
+resulting up/down host states less surprising.
+
+Note that submitting a "down" result does not necessarily imply a
"down"
+host state: Depending on the state of its parents, the host in question
+could go to the "unreachable" state, too.
diff --git a/ChangeLog b/ChangeLog
index 3b3101e..c2ca75d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,7 @@
1.2.9i1:
+ Core & Setup:
+ * 3193 FIX: Fixed fake check results for hosts...
+
Checks & Agents:
* 3183 aruba_wlc_aps: new check which monitors the provisioned accesspoints of an
Aruba Network WLAN Controller
* 3073 FIX: windows agent: relative paths to mrpe scripts are now treated as relative
to the agent installation directory...
diff --git a/web/plugins/views/commands.py b/web/plugins/views/commands.py
index a518d55..0c19723 100644
--- a/web/plugins/views/commands.py
+++ b/web/plugins/views/commands.py
@@ -274,12 +274,11 @@ def render_fake_form(what):
html.write("</td><td>")
html.text_input("_fake_perfdata", "", size=50)
html.write("</td></tr><tr><td>")
- html.write(_("Set to:"))
+ html.write(_("Result:"))
html.write("</td><td>")
if what == "host":
html.button("_fake_0", _("Up"))
- html.button("_fake_1", _("Down"))
- html.button("_fake_2", _("Unreachable"))
+ html.button("_fake_2", _("Down"))
else:
html.button("_fake_0", _("OK"))
html.button("_fake_1", _("Warning"))