mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-26 23:34:08 +02:00
ServicestatusQuery: Add missing support for relative time filter for (host|service)_last_time_*
columns
This commit is contained in:
parent
85621487e8
commit
0eea5cae51
@ -3,6 +3,16 @@
|
||||
Specific version upgrades are described below. Please note that upgrades are incremental. An upgrade from
|
||||
v2.6 to v2.8 requires to follow the instructions for v2.7 too.
|
||||
|
||||
## Upgrading to Icinga Web 2.13
|
||||
|
||||
**Breaking changes**
|
||||
|
||||
* The following columns of the `Servicestatus` table, which previously displayed the date time (string) as a fetched value, now display the unix timestamp to support relative time filters:
|
||||
* `service_last_time_ok`
|
||||
* `service_last_time_unknown`
|
||||
* `service_last_time_warning`
|
||||
* `service_last_time_critical`
|
||||
|
||||
## Upgrading to Icinga Web 2.12.2
|
||||
|
||||
**Framework changes affecting third-party code**
|
||||
|
@ -202,10 +202,10 @@ class ServicestatusQuery extends IdoQuery
|
||||
'service_last_notification' => 'UNIX_TIMESTAMP(ss.last_notification)',
|
||||
'service_last_state_change' => 'UNIX_TIMESTAMP(ss.last_state_change)',
|
||||
'service_last_state_change_ts' => 'ss.last_state_change',
|
||||
'service_last_time_critical' => 'ss.last_time_critical',
|
||||
'service_last_time_ok' => 'ss.last_time_ok',
|
||||
'service_last_time_unknown' => 'ss.last_time_unknown',
|
||||
'service_last_time_warning' => 'ss.last_time_warning',
|
||||
'service_last_time_critical' => 'UNIX_TIMESTAMP(ss.last_time_critical)',
|
||||
'service_last_time_ok' => 'UNIX_TIMESTAMP(ss.last_time_ok)',
|
||||
'service_last_time_unknown' => 'UNIX_TIMESTAMP(ss.last_time_unknown)',
|
||||
'service_last_time_warning' => 'UNIX_TIMESTAMP(ss.last_time_warning)',
|
||||
'service_long_output' => 'ss.long_output',
|
||||
'service_max_check_attempts' => 'ss.max_check_attempts',
|
||||
'service_modified_service_attributes' => 'ss.modified_service_attributes',
|
||||
|
Loading…
x
Reference in New Issue
Block a user