[icinga-checkins] icinga.org: icingaweb2/master: Make timeline working again

git at icinga.org git at icinga.org
Mon Oct 17 14:08:16 CEST 2016


Module: icingaweb2
Branch: master
Commit: a0a203c875a5031c5a487d93d11848d8ae87f21b
URL:    https://git.icinga.org/?p=icingaweb2.git;a=commit;h=a0a203c875a5031c5a487d93d11848d8ae87f21b

Author: Alexander A. Klimov <alexander.klimov at icinga.com>
Date:   Mon Oct 17 12:44:05 2016 +0200

Make timeline working again

refs #12889

---

 .../library/Monitoring/Backend/Ido/Query/HostnotificationQuery.php    |    1 +
 .../library/Monitoring/Backend/Ido/Query/ServicenotificationQuery.php |    1 +
 2 files changed, 2 insertions(+)

diff --git a/modules/monitoring/library/Monitoring/Backend/Ido/Query/HostnotificationQuery.php b/modules/monitoring/library/Monitoring/Backend/Ido/Query/HostnotificationQuery.php
index de4d378..9b7d3e5 100644
--- a/modules/monitoring/library/Monitoring/Backend/Ido/Query/HostnotificationQuery.php
+++ b/modules/monitoring/library/Monitoring/Backend/Ido/Query/HostnotificationQuery.php
@@ -30,6 +30,7 @@ class HostnotificationQuery extends IdoQuery
             'output'    => null,
             'state'     => 'hn.state',
             'timestamp' => 'UNIX_TIMESTAMP(hn.start_time)',
+            'type'      => '(\'notify\')'
         ),
         'instances' => array(
             'instance_name' => 'i.instance_name'
diff --git a/modules/monitoring/library/Monitoring/Backend/Ido/Query/ServicenotificationQuery.php b/modules/monitoring/library/Monitoring/Backend/Ido/Query/ServicenotificationQuery.php
index 4d7baa7..d990bb0 100644
--- a/modules/monitoring/library/Monitoring/Backend/Ido/Query/ServicenotificationQuery.php
+++ b/modules/monitoring/library/Monitoring/Backend/Ido/Query/ServicenotificationQuery.php
@@ -24,6 +24,7 @@ class ServicenotificationQuery extends IdoQuery
             'output'    => null,
             'state'     => 'sn.state',
             'timestamp' => 'UNIX_TIMESTAMP(sn.start_time)',
+            'type'      => '(\'notify\')'
         ),
         'hostgroups' => array(
             'hostgroup_name' => 'hgo.name1'



More information about the icinga-checkins mailing list