Commit Graph

848 Commits

Author SHA1 Message Date
Michael Friedrich d31ca31e90 DB IDO: Implement notification object insert id cache.
Refs #5103
2014-01-29 17:38:02 +01:00
Michael Friedrich f30eca5a73 DB IDO: Refactor notification signal handling.
Refs #5103
Fixes #5265
2014-01-28 15:53:12 +01:00
Gunnar Beutner 08303f9aca Incrementally fetch MySQL/PGsql rows.
Fixes #5374
2014-01-28 14:26:56 +01:00
Johannes Meyer 7e235a53c5 Fix hostcheck state conversion of the statusdatawriter
fixes #5449
2014-01-15 14:50:58 +01:00
Michael Friedrich 6ac77d7f5c Compat: Do not dump empty strings into objects.cache.
Fixes #5450
2014-01-14 16:31:28 +01:00
Michael Friedrich a4466ba880 Fix formatting of execution_time, latency.
Fixes #5427
2014-01-10 00:38:16 +01:00
Michael Friedrich 555d72150a Update copyright header.
Fixes #5424
2014-01-09 00:32:11 +01:00
Michael Friedrich be78579dea Livestatus: Call addRowFn directly in UpdateLogEntries().
Refs #5351
Refs #5369
2013-12-18 17:32:18 +01:00
Michael Friedrich 333ba6ee7e Livestatus: Move log entry parsing into FetchRows().
Refs #5351
2013-12-18 16:28:33 +01:00
Michael Friedrich 9a2153d4e0 Livestatus: Use HistoryTable for log/statehist tables.
Refs #5351
2013-12-18 16:06:39 +01:00
Gunnar Beutner 21fb0d9872 Implement "safe mode" for icinga::Deserialize.
Fixes #5035
2013-12-18 10:27:58 +01:00
Michael Friedrich 9f82274fce Fix some more compiler warnings.
Refs #5348
2013-12-17 18:34:05 +01:00
Michael Friedrich 88fa67c108 Livestatus: Refactor historical tables.
Refs #5351
Refs #5348
2013-12-17 18:34:05 +01:00
Johannes Meyer 772f319926 Fix that triggered_by field is not of type int in a livestatus response
fixes #5356
2013-12-17 15:15:39 +01:00
Gunnar Beutner ad563cf5d2 Use CompatUtility::GetCommandLine in StatusDataWriter::DumpCommand.
Fixes #5353
2013-12-17 10:20:28 +01:00
Gunnar Beutner 53c1434700 Fix compiler warnings in the CompatLogger class.
Refs #5349
2013-12-17 07:54:41 +01:00
Johannes Meyer 3aa21fb340 Fix aggregation of the type and is_service livestatus comment columns
refs #5332
2013-12-16 15:36:38 +01:00
Johannes Meyer 4a6fddadb8 Fix deadlock when querying comments or downtimes through livestatus
fixes #5332
2013-12-16 14:14:01 +01:00
Michael Friedrich f47f7fb8c5 Compat: Fix commands in objects.cache file.
Refs #5328
2013-12-13 17:36:31 +01:00
Michael Friedrich 47f814cc4d Improve StatusDataWriter performance.
Fixes #5328
2013-12-13 15:23:44 +01:00
Johannes Meyer 0d99f98354 Fix that the "ColumnHeaders" option has no effect for json output
Fixes another bug that the "Columns" option did not disable
ColumnHeaders at all.

refs #5317
2013-12-13 10:24:18 +01:00
Michael Friedrich 66765311c3 Refactor CompatUtility::* for DB IDO, Livestatus, StatusData.
Fixes #5241
2013-12-13 09:38:22 +01:00
Michael Friedrich 1119c2f17b Fix crash while reading livestatus query.
Refs #5316
2013-12-12 12:07:47 +01:00
Johannes Meyer ed4def7ee8 Fix livestatus keepalive handling
fixes #5314
2013-12-12 10:21:33 +01:00
Michael Friedrich 7e4da258fc Compat: Don't dump empty CV keys.
Fixes #5306
2013-12-11 17:18:01 +01:00
Michael Friedrich 83e20ba02e Livestatus: Fix check_command_expanded column.
Fixes #5296
2013-12-11 10:18:23 +01:00
Gunnar Beutner 0b41af7639 Just write objects.cache file once.
Fixes #5270
2013-12-09 10:27:45 +01:00
Gunnar Beutner 203cf73bf7 Improve error messages for the check result reader.
Fixes #5275
2013-12-09 09:52:09 +01:00
Gunnar Beutner 41ded2858c Implement scheduled downtimes.
Fixes #3584
2013-12-06 13:45:18 +01:00
Gunnar Beutner 02e0933e7c Make status.dat/objects.cache interval configurable.
Fixes #5262
2013-12-05 10:04:49 +01:00
Gunnar Beutner 77595f9b5a Add context information to PerfdataWriter::CheckResultHandler.
Fixes #4743
2013-12-02 13:34:23 +01:00
Gunnar Beutner f05858d3ad Avoid unnecessary copies when iterating over dictionaries.
Refs #5246
2013-12-02 11:07:38 +01:00
Gunnar Beutner cac4167e79 Fix initial check schedule.
Fixes #5240
2013-11-28 20:56:48 +01:00
Gunnar Beutner 48569b6205 Fix deadlock when rescheduling checks.
Fixes #5092
2013-11-28 20:56:48 +01:00
Gunnar Beutner 85fec966b8 Improve IDO query performance.
Refs #5235
2013-11-28 12:12:10 +01:00
Gunnar Beutner 6d53bd1c8f Make sure IDO reconnect attempts don't recurse.
Refs #5235
2013-11-28 10:36:43 +01:00
Gunnar Beutner b915494157 Avoid unnecessary updates for the is_active column.
Fixes #5124
2013-11-22 10:13:42 +01:00
Gunnar Beutner 0978e46d5a Implement file type flags for Utility::Glob.
Fixes #5123
2013-11-22 09:03:52 +01:00
Gunnar Beutner 45161fe66d Improve latency after start-up.
Fixes #5121
2013-11-21 16:09:21 +01:00
Gunnar Beutner 91338a7e49 Remove redundant checks.
Fixes #5071
2013-11-21 12:23:55 +01:00
Gunnar Beutner 92dd32eb68 Implement support for high-level stack traces.
Refs #5085
2013-11-21 09:42:27 +01:00
Gunnar Beutner 27e9cd71e7 Create temporary files for PerfdataWriter in a separate directory.
Fixes #5105
2013-11-21 07:17:34 +01:00
Gunnar Beutner 39dcf20a89 Implement support for stack traces for STL exceptions.
Fixes #5114
2013-11-20 21:55:14 +01:00
Gunnar Beutner 7b1d34dae7 Fix check result, downtime and comment message types.
Fixes #5113
2013-11-20 15:33:33 +01:00
Gunnar Beutner 933ac5f403 Clear ID cache when (re-)connecting.
Fixes #5108
2013-11-20 09:32:30 +01:00
Gunnar Beutner a4b2c2134d Update database schemas.
Refs #5080
2013-11-20 09:10:50 +01:00
Gunnar Beutner 64dc5e9d00 Change default directory for performance data to /var/spool/icinga2/perfdata.
Fixes #5089
2013-11-17 20:04:32 +01:00
Gunnar Beutner 37d9ccde94 Improve Graphite output for multi performance data.
Refs #5082
2013-11-17 13:03:24 +01:00
Gunnar Beutner b023e5af86 Merge branch 'feature/threadpool-bug-5050' into next
Fixes #5050
2013-11-15 15:29:15 +01:00
Gunnar Beutner ff807dabff Use a separate thread pool for checks.
Refs #5050
2013-11-15 12:18:40 +01:00