[icinga-checkins] icinga.org: icinga-web/next: Added long_output to Api views for host and service

git at icinga.org git at icinga.org
Thu Apr 11 10:07:28 CEST 2013


Module: icinga-web
Branch: next
Commit: 71a7c5851105c2ecdff53a72611c944b8ed95ed2
URL:    https://git.icinga.org/?p=icinga-web.git;a=commit;h=71a7c5851105c2ecdff53a72611c944b8ed95ed2

Author: Markus Frosch <markus at lazyfrosch.de>
Date:   Thu Apr 11 09:52:45 2013 +0200

Added long_output to Api views for host and service

Including history views

This allows grid extensions to use that data

fixes #3918

---

 app/modules/Api/config/views/histories.xml |    2 ++
 app/modules/Api/config/views/host.xml      |    2 ++
 app/modules/Api/config/views/service.xml   |    2 ++
 3 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/app/modules/Api/config/views/histories.xml b/app/modules/Api/config/views/histories.xml
index bcc1acc..703f9c1 100644
--- a/app/modules/Api/config/views/histories.xml
+++ b/app/modules/Api/config/views/histories.xml
@@ -17,6 +17,7 @@
                 hsh.state AS STATEHISTORY_STATE,
                 hsh.state_time AS STATEHISTORY_STATE_TIME,
                 hsh.output AS STATEHISTORY_OUTPUT,
+                hsh.long_output AS STATEHISTORY_LONG_OUTPUT,
                 hsh.current_check_attempt AS STATEHISTORY_CURRENT_CHECK_ATTEMPT,
                 hsh.max_check_attempts AS STATEHISTORY_MAX_CHECK_ATTEMPTS,
                 hsh.current_check_attempt AS state_check_attempt,
@@ -81,6 +82,7 @@
                 ssh.state AS STATEHISTORY_STATE,
                 ssh.state_time AS STATEHISTORY_STATE_TIME,
                 ssh.output AS STATEHISTORY_OUTPUT,
+                ssh.long_output AS STATEHISTORY_LONG_OUTPUT,
                 ssh.current_check_attempt AS STATEHISTORY_CURRENT_CHECK_ATTEMPT,
                 ssh.max_check_attempts AS STATEHISTORY_MAX_CHECK_ATTEMPTS,
                 ssh.current_check_attempt AS state_check_attempt,
diff --git a/app/modules/Api/config/views/host.xml b/app/modules/Api/config/views/host.xml
index 7798846..db525a0 100644
--- a/app/modules/Api/config/views/host.xml
+++ b/app/modules/Api/config/views/host.xml
@@ -21,6 +21,7 @@
                 hs.next_check AS HOST_NEXT_CHECK,
                 ps.program_start_time AS HOST_PROGRAM_START_TIME,
                 hs.output AS HOST_OUTPUT,
+                hs.long_output AS HOST_LONG_OUTPUT,
                 hs.current_check_attempt AS HOST_CURRENT_CHECK_ATTEMPT,
                 hs.max_check_attempts AS HOST_MAX_CHECK_ATTEMPT,
                 hs.process_performance_data AS HOST_PROCESS_PERFORMANCE_DATA,
@@ -177,6 +178,7 @@
                 ps.program_start_time AS HOST_PROGRAM_START_TIME,
                 hs.perfdata AS HOST_PERFORMANCE_DATA,
                 hs.output AS HOST_OUTPUT,
+                hs.long_output AS HOST_LONG_OUTPUT,
                 hs.current_check_attempt AS HOST_CURRENT_CHECK_ATTEMPT,
                 hs.max_check_attempts AS HOST_MAX_CHECK_ATTEMPT,
                 i.instance_id AS HOST_INSTANCE_ID,
diff --git a/app/modules/Api/config/views/service.xml b/app/modules/Api/config/views/service.xml
index 893e767..a128353 100644
--- a/app/modules/Api/config/views/service.xml
+++ b/app/modules/Api/config/views/service.xml
@@ -27,6 +27,7 @@
                 ss.last_check AS SERVICE_LAST_CHECK,
                 ss.next_check AS SERVICE_NEXT_CHECK,
                 ss.output AS SERVICE_OUTPUT,
+                ss.long_output AS SERVICE_LONG_OUTPUT,
                 ss.perfdata AS SERVICE_PERFORMANCE_DATA,
                 ss.current_check_attempt AS SERVICE_CURRENT_CHECK_ATTEMPT,
                 ss.max_check_attempts AS service_max_attempt,
@@ -206,6 +207,7 @@
                 ss.last_check AS SERVICE_LAST_CHECK,
                 ss.next_check AS SERVICE_NEXT_CHECK,
                 ss.output AS SERVICE_OUTPUT,
+                ss.long_output AS SERVICE_LONG_OUTPUT,
                 ss.current_check_attempt AS SERVICE_CURRENT_CHECK_ATTEMPT,
                 ss.max_check_attempts AS SERVICE_MAX_CHECK_ATTEMPTS,
                 ss.perfdata AS SERVICE_PERFORMANCE_DATA,





More information about the icinga-checkins mailing list