diff --git a/modules/monitoring/library/Monitoring/Backend/Ido/Query/StatusQuery.php b/modules/monitoring/library/Monitoring/Backend/Ido/Query/StatusQuery.php index b089cbc92..44c3c89ba 100644 --- a/modules/monitoring/library/Monitoring/Backend/Ido/Query/StatusQuery.php +++ b/modules/monitoring/library/Monitoring/Backend/Ido/Query/StatusQuery.php @@ -194,13 +194,13 @@ class StatusQuery extends IdoQuery 'service_current_check_attempt' => 'ss.current_check_attempt', 'service_max_check_attempts' => 'ss.max_check_attempts', 'service_attempt' => 'ss.current_check_attempt || \'/\' || ss.max_check_attempts', - 'service_last_check' => 'ss.last_check', - 'service_next_check' => 'ss.next_check', + 'service_last_check' => 'UNIX_TIMESTAMP(ss.last_check)', + 'service_next_check' => 'UNIX_TIMESTAMP(ss.next_check)', 'service_check_type' => 'ss.check_type', - 'service_last_hard_state_change' => 'ss.last_hard_state_change', + 'service_last_hard_state_change' => 'UNIX_TIMESTAMP(ss.last_hard_state_change)', 'service_last_hard_state' => 'ss.last_hard_state', - 'service_last_notification' => 'ss.last_notification', - 'service_next_notification' => 'ss.next_notification', + 'service_last_notification' => 'UNIX_TIMESTAMP(ss.last_notification)', + 'service_next_notification' => 'UNIX_TIMESTAMP(ss.next_notification)', 'service_no_more_notifications' => 'ss.no_more_notifications', 'service_notifications_enabled' => 'ss.notifications_enabled',