From 31a05a3ec04e4efdd68d84f7f3697300f6ef4c3c Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Fri, 10 Apr 2015 12:19:19 +0200 Subject: [PATCH] DataView\Contactgroup: Add missing query columns --- .../Monitoring/DataView/Contactgroup.php | 23 +++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/modules/monitoring/library/Monitoring/DataView/Contactgroup.php b/modules/monitoring/library/Monitoring/DataView/Contactgroup.php index cb5772e76..287b835f2 100644 --- a/modules/monitoring/library/Monitoring/DataView/Contactgroup.php +++ b/modules/monitoring/library/Monitoring/DataView/Contactgroup.php @@ -8,7 +8,6 @@ namespace Icinga\Module\Monitoring\DataView; */ class Contactgroup extends DataView { - /** * Retrieve columns provided by this view * @@ -17,9 +16,29 @@ class Contactgroup extends DataView public function getColumns() { return array( - 'contact_name', 'contactgroup_name', 'contactgroup_alias', + 'contact_name', + 'contact_alias', + 'contact_email', + 'contact_pager', + 'contact_has_host_notfications', + 'contact_has_service_notfications', + 'contact_can_submit_commands', + 'contact_notify_service_recovery', + 'contact_notify_service_warning', + 'contact_notify_service_critical', + 'contact_notify_service_unknown', + 'contact_notify_service_flapping', + 'contact_notify_service_downtime', + 'contact_notify_host_recovery', + 'contact_notify_host_down', + 'contact_notify_host_unreachable', + 'contact_notify_host_flapping', + 'contact_notify_host_downtime', + 'host_name', + 'service_description', + 'service_host_name' ); }