Module: check_mk
Branch: master
Commit: c4a03e8eded75e9294605cd3fa189af603a48cdf
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=c4a03e8eded75e…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Jul 14 09:22:43 2017 +0200
4992 FIX Fixed sending fake DOWN states for hosts when using Nagios core
Change-Id: I66666dd4bd4712033636e53670566679a623ccaa
---
.werks/4992 | 11 +++++++++++
web/plugins/views/commands.py | 2 +-
2 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/.werks/4992 b/.werks/4992
new file mode 100644
index 0000000..6b15fbc
--- /dev/null
+++ b/.werks/4992
@@ -0,0 +1,11 @@
+Title: Fixed sending fake DOWN states for hosts when using Nagios core
+Level: 1
+Component: multisite
+Class: fix
+Compatible: compat
+Edition: cre
+State: unknown
+Version: 1.5.0i1
+Date: 1500016948
+
+
diff --git a/web/plugins/views/commands.py b/web/plugins/views/commands.py
index 7b623db..82efaa0 100644
--- a/web/plugins/views/commands.py
+++ b/web/plugins/views/commands.py
@@ -292,7 +292,7 @@ def render_fake_form(what):
html.open_td()
if what == "host":
html.button("_fake_0", _("Up"))
- html.button("_fake_2", _("Down"))
+ html.button("_fake_1", _("Down"))
else:
html.button("_fake_0", _("OK"))
html.button("_fake_1", _("Warning"))