Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

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

  • Loading branch information...
mojadev committed Dec 19, 2012
1 parent 95b252b commit b36db4f36b52a1fc79a37053b3963b13e0526128
Showing with 1 addition and 0 deletions.
  1. +1 −0 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,

0 comments on commit b36db4f

Please sign in to comment.
You can’t perform that action at this time.