Merge pull request #3532 from Icinga/bugfix/ido-check_interval
Fetch check_interval property of monitored objects, too
This commit is contained in:
commit
424f687f5d
|
@ -38,6 +38,7 @@ class HoststatusQuery extends IdoQuery
|
||||||
'host_address' => 'h.address',
|
'host_address' => 'h.address',
|
||||||
'host_address6' => 'h.address6',
|
'host_address6' => 'h.address6',
|
||||||
'host_alias' => 'h.alias',
|
'host_alias' => 'h.alias',
|
||||||
|
'host_check_interval' => '(h.check_interval * 60)',
|
||||||
'host_display_name' => 'h.display_name COLLATE latin1_general_ci',
|
'host_display_name' => 'h.display_name COLLATE latin1_general_ci',
|
||||||
'host_icon_image' => 'h.icon_image',
|
'host_icon_image' => 'h.icon_image',
|
||||||
'host_icon_image_alt' => 'h.icon_image_alt',
|
'host_icon_image_alt' => 'h.icon_image_alt',
|
||||||
|
|
|
@ -138,6 +138,7 @@ class ServicestatusQuery extends IdoQuery
|
||||||
'object_type' => '(\'service\')',
|
'object_type' => '(\'service\')',
|
||||||
'service' => 'so.name2 COLLATE latin1_general_ci',
|
'service' => 'so.name2 COLLATE latin1_general_ci',
|
||||||
'service_action_url' => 's.action_url',
|
'service_action_url' => 's.action_url',
|
||||||
|
'service_check_interval' => '(s.check_interval * 60)',
|
||||||
'service_description' => 'so.name2',
|
'service_description' => 'so.name2',
|
||||||
'service_display_name' => 's.display_name COLLATE latin1_general_ci',
|
'service_display_name' => 's.display_name COLLATE latin1_general_ci',
|
||||||
'service_host' => 'so.name1 COLLATE latin1_general_ci',
|
'service_host' => 'so.name1 COLLATE latin1_general_ci',
|
||||||
|
|
|
@ -100,6 +100,7 @@ class Host extends MonitoredObject
|
||||||
'host_attempt',
|
'host_attempt',
|
||||||
'host_check_command',
|
'host_check_command',
|
||||||
'host_check_execution_time',
|
'host_check_execution_time',
|
||||||
|
'host_check_interval',
|
||||||
'host_check_latency',
|
'host_check_latency',
|
||||||
'host_check_source',
|
'host_check_source',
|
||||||
'host_check_timeperiod',
|
'host_check_timeperiod',
|
||||||
|
|
|
@ -135,6 +135,7 @@ class Service extends MonitoredObject
|
||||||
'service_attempt',
|
'service_attempt',
|
||||||
'service_check_command',
|
'service_check_command',
|
||||||
'service_check_execution_time',
|
'service_check_execution_time',
|
||||||
|
'service_check_interval',
|
||||||
'service_check_latency',
|
'service_check_latency',
|
||||||
'service_check_source',
|
'service_check_source',
|
||||||
'service_check_timeperiod',
|
'service_check_timeperiod',
|
||||||
|
|
Loading…
Reference in New Issue