diff --git a/modules/monitoring/application/views/helpers/CheckSource.php b/modules/monitoring/application/views/helpers/CheckSource.php
new file mode 100644
index 000000000..55efcde56
--- /dev/null
+++ b/modules/monitoring/application/views/helpers/CheckSource.php
@@ -0,0 +1,14 @@
+view->escape($source);
+ }
+}
diff --git a/modules/monitoring/application/views/scripts/show/components/checksource.phtml b/modules/monitoring/application/views/scripts/show/components/checksource.phtml
new file mode 100644
index 000000000..a0ea90ca5
--- /dev/null
+++ b/modules/monitoring/application/views/scripts/show/components/checksource.phtml
@@ -0,0 +1,7 @@
+check_source) return ?>
+
+ = $this->translate('Check Source') ?> |
+
+ = $this->checkSource($object->check_source) ?>
+ |
+
diff --git a/modules/monitoring/application/views/scripts/show/host.phtml b/modules/monitoring/application/views/scripts/show/host.phtml
index d21fed261..189729192 100644
--- a/modules/monitoring/application/views/scripts/show/host.phtml
+++ b/modules/monitoring/application/views/scripts/show/host.phtml
@@ -13,6 +13,7 @@
= $this->render('show/components/downtime.phtml') ?>
= $this->render('show/components/flapping.phtml') ?>
= $this->render('show/components/perfdata.phtml') ?>
+= $this->render('show/components/checksource.phtml') ?>
= $this->render('show/components/actions.phtml') ?>
= $this->render('show/components/command.phtml') ?>
= $this->render('show/components/hostgroups.phtml') ?>
diff --git a/modules/monitoring/application/views/scripts/show/service.phtml b/modules/monitoring/application/views/scripts/show/service.phtml
index 18ef09cd6..1c8f42c9f 100644
--- a/modules/monitoring/application/views/scripts/show/service.phtml
+++ b/modules/monitoring/application/views/scripts/show/service.phtml
@@ -13,6 +13,7 @@
= $this->render('show/components/downtime.phtml') ?>
= $this->render('show/components/flapping.phtml') ?>
= $this->render('show/components/perfdata.phtml') ?>
+= $this->render('show/components/checksource.phtml') ?>
= $this->render('show/components/actions.phtml') ?>
= $this->render('show/components/command.phtml') ?>
= $this->render('show/components/servicegroups.phtml') ?>
diff --git a/modules/monitoring/library/Monitoring/Backend/Ido/Query/StatusQuery.php b/modules/monitoring/library/Monitoring/Backend/Ido/Query/StatusQuery.php
index eb5702dbb..fd582e096 100644
--- a/modules/monitoring/library/Monitoring/Backend/Ido/Query/StatusQuery.php
+++ b/modules/monitoring/library/Monitoring/Backend/Ido/Query/StatusQuery.php
@@ -52,6 +52,7 @@ class StatusQuery extends IdoQuery
'host_output' => 'hs.output',
'host_long_output' => 'hs.long_output',
'host_perfdata' => 'hs.perfdata',
+ 'host_check_source' => 'hs.check_source',
'host_acknowledged' => 'hs.problem_has_been_acknowledged',
'host_in_downtime' => 'CASE WHEN (hs.scheduled_downtime_depth = 0) THEN 0 ELSE 1 END',
'host_handled' => 'CASE WHEN (hs.problem_has_been_acknowledged + hs.scheduled_downtime_depth) > 0 THEN 1 ELSE 0 END',
@@ -181,6 +182,7 @@ class StatusQuery extends IdoQuery
'service_output' => 'ss.output',
'service_long_output' => 'ss.long_output',
'service_perfdata' => 'ss.perfdata',
+ 'service_check_source' => 'ss.check_source',
'service_acknowledged' => 'ss.problem_has_been_acknowledged',
'service_in_downtime' => 'CASE WHEN (ss.scheduled_downtime_depth = 0 OR ss.scheduled_downtime_depth IS NULL) THEN 0 ELSE 1 END',
'service_handled' => 'CASE WHEN (ss.problem_has_been_acknowledged + ss.scheduled_downtime_depth + COALESCE(hs.current_state, 0)) > 0 THEN 1 ELSE 0 END',
diff --git a/modules/monitoring/library/Monitoring/Backend/Statusdat/Query/StatusQuery.php b/modules/monitoring/library/Monitoring/Backend/Statusdat/Query/StatusQuery.php
index 1fa082254..d17468bd3 100644
--- a/modules/monitoring/library/Monitoring/Backend/Statusdat/Query/StatusQuery.php
+++ b/modules/monitoring/library/Monitoring/Backend/Statusdat/Query/StatusQuery.php
@@ -30,6 +30,7 @@ class StatusQuery extends StatusdatQuery
'host_output' => 'host.status.plugin_output',
'host_long_output' => 'host.status.long_plugin_output',
'host_perfdata' => 'host.status.performance_data',
+ 'host_check_source' => 'host.status.check_source',
'host_acknowledged' => 'host.status.problem_has_been_acknowledged',
'host_last_state_change' => 'host.status.last_state_change',
'host_last_hard_state' => 'host.status.last_hard_state',
@@ -82,6 +83,7 @@ class StatusQuery extends StatusdatQuery
'service_output' => 'service.status.output',
'service_long_output' => 'service.status.long_output',
'service_perfdata' => 'service.status.perfdata',
+ 'service_check_source' => 'service.status.check_source',
'service_acknowledged' => 'service.status.problem_has_been_acknowledged',
'service_last_state_change' => 'service.status.last_state_change',
'service_check_command' => 'service.status.check_command',
diff --git a/modules/monitoring/library/Monitoring/DataView/HostStatus.php b/modules/monitoring/library/Monitoring/DataView/HostStatus.php
index c0a4e40cf..cf65df80a 100644
--- a/modules/monitoring/library/Monitoring/DataView/HostStatus.php
+++ b/modules/monitoring/library/Monitoring/DataView/HostStatus.php
@@ -62,6 +62,7 @@ class HostStatus extends DataView
'host_long_output',
'host_check_command',
'host_perfdata',
+ 'host_check_source',
'host_passive_checks_enabled',
'host_passive_checks_enabled_changed',
'host_obsessing',
diff --git a/modules/monitoring/library/Monitoring/DataView/ServiceStatus.php b/modules/monitoring/library/Monitoring/DataView/ServiceStatus.php
index c7823ee87..5e34fb5aa 100644
--- a/modules/monitoring/library/Monitoring/DataView/ServiceStatus.php
+++ b/modules/monitoring/library/Monitoring/DataView/ServiceStatus.php
@@ -90,6 +90,7 @@ class ServiceStatus extends DataView
'host_ipv4',
'host_severity',
'host_perfdata',
+ 'host_check_source',
'host_active_checks_enabled',
'host_passive_checks_enabled',
'host_last_hard_state',
@@ -102,6 +103,7 @@ class ServiceStatus extends DataView
'service_hard_state',
'service_problem',
'service_perfdata',
+ 'service_check_source',
'service_active_checks_enabled',
'service_active_checks_enabled_changed',
'service_passive_checks_enabled',