[icinga-checkins] icinga.org: icingaweb2/bugfix/contact-service-filter-12019: Fix contact service filters for 'Downtime'

git at icinga.org git at icinga.org
Wed Jun 22 13:32:43 CEST 2016


Module: icingaweb2
Branch: bugfix/contact-service-filter-12019
Commit: f127611969b2a0c0d562794d088cf5009b96e3b0
URL:    https://git.icinga.org/?p=icingaweb2.git;a=commit;h=f127611969b2a0c0d562794d088cf5009b96e3b0

Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Wed Jun 22 13:30:44 2016 +0200

Fix contact service filters for 'Downtime'

refs #12019

---

 .../library/Monitoring/Backend/Ido/Query/AllcontactsQuery.php        |    2 +-
 .../monitoring/library/Monitoring/Backend/Ido/Query/ContactQuery.php |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/monitoring/library/Monitoring/Backend/Ido/Query/AllcontactsQuery.php b/modules/monitoring/library/Monitoring/Backend/Ido/Query/AllcontactsQuery.php
index ae0276d..09779b6 100644
--- a/modules/monitoring/library/Monitoring/Backend/Ido/Query/AllcontactsQuery.php
+++ b/modules/monitoring/library/Monitoring/Backend/Ido/Query/AllcontactsQuery.php
@@ -27,7 +27,7 @@ class AllcontactsQuery extends IdoQuery
             'contact_notify_service_critical'  => 'c.notify_service_critical',
             'contact_notify_service_unknown'   => 'c.notify_service_unknown',
             'contact_notify_service_flapping'  => 'c.notify_service_flapping',
-            'contact_notify_service_downtime'  => 'c.notify_service_recovery',
+            'contact_notify_service_downtime'  => 'c.notify_service_downtime',
             'contact_notify_host_recovery'     => 'c.notify_host_recovery',
             'contact_notify_host_down'         => 'c.notify_host_down',
             'contact_notify_host_unreachable'  => 'c.notify_host_unreachable',
diff --git a/modules/monitoring/library/Monitoring/Backend/Ido/Query/ContactQuery.php b/modules/monitoring/library/Monitoring/Backend/Ido/Query/ContactQuery.php
index c71975b..196c50c 100644
--- a/modules/monitoring/library/Monitoring/Backend/Ido/Query/ContactQuery.php
+++ b/modules/monitoring/library/Monitoring/Backend/Ido/Query/ContactQuery.php
@@ -48,7 +48,7 @@ class ContactQuery extends IdoQuery
             'contact_notify_service_critical'   => 'c.notify_service_critical',
             'contact_notify_service_unknown'    => 'c.notify_service_unknown',
             'contact_notify_service_flapping'   => 'c.notify_service_flapping',
-            'contact_notify_service_downtime'   => 'c.notify_service_recovery',
+            'contact_notify_service_downtime'   => 'c.notify_service_downtime',
             'contact_notify_host_recovery'      => 'c.notify_host_recovery',
             'contact_notify_host_down'          => 'c.notify_host_down',
             'contact_notify_host_unreachable'   => 'c.notify_host_unreachable',



More information about the icinga-checkins mailing list