[icinga-checkins] icinga.org: icinga-web/r1.8: Added host_status field for host view, should fix #3492 (refs #3492)

git at icinga.org git at icinga.org
Mon Jan 14 13:41:51 CET 2013


Module: icinga-web
Branch: r1.8
Commit: b36db4f36b52a1fc79a37053b3963b13e0526128
URL:    https://git.icinga.org/?p=icinga-web.git;a=commit;h=b36db4f36b52a1fc79a37053b3963b13e0526128

Author: Jannis Moßhammer <jannis.mosshammer at netways.de>
Date:   Wed Dec 19 10:58:24 2012 +0100

Added host_status field for host view, should fix #3492 (refs #3492)

---

 app/modules/Api/config/views/host.xml |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/app/modules/Api/config/views/host.xml b/app/modules/Api/config/views/host.xml
index ca19b0d..b70ba3f 100755
--- a/app/modules/Api/config/views/host.xml
+++ b/app/modules/Api/config/views/host.xml
@@ -14,6 +14,7 @@
                 h.alias AS HOST_ALIAS,
                 h.display_name AS HOST_DISPLAY_NAME,
                 hs.current_state AS HOST_CURRENT_STATE,
+                hs.current_state AS host_status,
                 (CASE WHEN hs.last_state_change<='1970-01-01 00:00:00' THEN ps.program_start_time ELSE hs.last_state_change END) as DURATION_START,
                 hs.last_check AS HOST_LAST_CHECK,
                 hs.next_check AS HOST_NEXT_CHECK,





More information about the icinga-checkins mailing list