diff --git a/modules/monitoring/library/Monitoring/Backend/Ido/Query/DowntimeendhistoryQuery.php b/modules/monitoring/library/Monitoring/Backend/Ido/Query/DowntimeendhistoryQuery.php new file mode 100644 index 000000000..b08967606 --- /dev/null +++ b/modules/monitoring/library/Monitoring/Backend/Ido/Query/DowntimeendhistoryQuery.php @@ -0,0 +1,22 @@ + array( + 'state_time' => 'actual_end_time', + 'timestamp' => 'UNIX_TIMESTAMP(actual_end_time)', + 'raw_timestamp' => 'actual_end_time', + 'object_id' => 'object_id', + 'type' => "('dt_end')", + 'state' => '(NULL)', + 'state_type' => '(NULL)', + 'output' => "('[' || author_name || '] ' || comment_data)", + 'attempt' => '(NULL)', + 'max_attempts' => '(NULL)', + ) + ); +} + diff --git a/modules/monitoring/library/Monitoring/Backend/Ido/Query/DowntimestarthistoryQuery.php b/modules/monitoring/library/Monitoring/Backend/Ido/Query/DowntimestarthistoryQuery.php new file mode 100644 index 000000000..4c4c57880 --- /dev/null +++ b/modules/monitoring/library/Monitoring/Backend/Ido/Query/DowntimestarthistoryQuery.php @@ -0,0 +1,22 @@ + array( + 'state_time' => 'actual_start_time', + 'timestamp' => 'UNIX_TIMESTAMP(actual_start_time)', + 'raw_timestamp' => 'actual_start_time', + 'object_id' => 'object_id', + 'type' => "('dt_end')", + 'state' => '(NULL)', + 'state_type' => '(NULL)', + 'output' => "('[' || author_name || '] ' || comment_data)", + 'attempt' => '(NULL)', + 'max_attempts' => '(NULL)', + ) + ); +} +