From a0a203c875a5031c5a487d93d11848d8ae87f21b Mon Sep 17 00:00:00 2001 From: "Alexander A. Klimov" Date: Mon, 17 Oct 2016 12:44:05 +0200 Subject: [PATCH] Make timeline working again refs #12889 --- .../Monitoring/Backend/Ido/Query/HostnotificationQuery.php | 1 + .../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 de4d37807..9b7d3e5c8 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 4d7baa7ab..d990bb0fb 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'