Commit Graph

1119 Commits

Author SHA1 Message Date
Gunnar Beutner 21fb0d9872 Implement "safe mode" for icinga::Deserialize.
Fixes #5035
2013-12-18 10:27:58 +01:00
Michael Friedrich 79f5618eba Use std::string::find() in String::Contains().
Refs #5355
2013-12-17 18:34:05 +01:00
Michael Friedrich 7fa9188df8 Add String::Contains().
Refs #5355
2013-12-17 18:34:05 +01:00
Johannes Meyer 12d32ad719 Fix crash that might occur in a situation where icinga should not crash...
refs #5356
2013-12-17 16:01:33 +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 9bf44b9b1d Fix: Missing warn/crit/min/max values are incorrectly set to 0.
Fixes #5358
2013-12-17 14:47:19 +01:00
Gunnar Beutner b2ec194a82 Update log level for some messages.
Fixes #5357
2013-12-17 14:26:48 +01:00
Gunnar Beutner 41d4ba169f Embed constants into lib{base,icinga,db_ido}.
Fixes #5247
2013-12-17 14:24:29 +01:00
Gunnar Beutner 6bec49bd23 Fix invalid lock in Service::UpdateSlaveNotifications.
Fixes #5354
2013-12-17 11:56:29 +01:00
Gunnar Beutner ad563cf5d2 Use CompatUtility::GetCommandLine in StatusDataWriter::DumpCommand.
Fixes #5353
2013-12-17 10:20:28 +01:00
Johannes Meyer 1bec9692c6 Fix address and address6 being empty in objects.cache
fixes #5352
2013-12-17 09:50:19 +01:00
Gunnar Beutner ddf83f33d2 Fix compiler warnings in Service::ProcessCheckResult.
Refs #5349
2013-12-17 07:55:46 +01:00
Gunnar Beutner dac4ac02a9 Fix compiler warning in CompatUtility::GetServiceNotificationNotificationOptions.
Refs #5349
2013-12-17 07:52:35 +01:00
Gunnar Beutner 0b8b421323 Fix compiler warnings in ScheduledDowntime::FindNextSegment.
Refs #5349
2013-12-17 07:52:30 +01:00
Gunnar Beutner 65b41c51ff Fix compiler warnings in ThreadPool::ThreadPool.
Refs #5349
2013-12-17 07:52:26 +01:00
Gunnar Beutner 79e960f7cb Fix a log message.
Refs #5342
2013-12-16 17:23:34 +01:00
Gunnar Beutner 162cee5c40 Remove the ConsoleLogger class and keep the default console log enabled until we daemonize.
Refs #5342
2013-12-16 17:23:23 +01:00
Michael Friedrich 07e4bc03bc Fix perfdata double value type formatting.
Fixes #5277
2013-12-16 16:57:30 +01:00
Michael Friedrich a840dc8694 Apply UOM base to warn/crit/min/max to perfdata values.
Fixes #5280
2013-12-16 16:36:54 +01:00
Michael Friedrich f4c132ca5b Move command argument logging into the unix process class.
Refs #5225
2013-12-16 16:22:22 +01:00
Gunnar Beutner 2f58071b6f Fix race condition in Logger::GetLoggers.
Fixes #5341
2013-12-16 09:53:50 +01:00
Michael Friedrich 9452bc7095 Only print config validation for existing objects.
Refs #5298
2013-12-16 09:39:14 +01:00
Gunnar Beutner 807d0a47e6 Fix spelling mistake in ConfigItem::ActivateItems.
Fixes #5334
2013-12-15 18:47:11 +01:00
Gunnar Beutner ff5a35b7db Fix race condition in TimePeriod::Start.
Refs #5337
2013-12-15 18:46:14 +01:00
Gunnar Beutner f08bca220d Fix race condition in icinga::Log.
Refs #5337
2013-12-15 18:46:09 +01:00
Gunnar Beutner 0af81f2da2 Fix race conditions in the config compiler.
Fixes #5335
2013-12-15 11:54:22 +01:00
Gunnar Beutner 4563bb355f Fix another race condition in DynamicObject::Start.
Fixes #5330
2013-12-14 07:36:49 +01:00
Michael Friedrich 5f54406057 Log commands and their arguments.
Fixes #5225
2013-12-13 17:37:00 +01:00
Michael Friedrich 2ae988f457 Windows build fix. 2013-12-13 17:09:47 +01:00
Michael Friedrich c66878fa45 Add config validation stats.
Fixes #5298
2013-12-13 16:53:40 +01:00
Gunnar Beutner 7fbdf1d633 Fix crash in icinga::Log.
Fixes #5330
2013-12-13 15:13:20 +01:00
Gunnar Beutner 6f92a62953 Implement latency statistics for the "icinga" check.
Fixes #5325
2013-12-13 15:09:17 +01:00
Gunnar Beutner e7184225f3 Improve performance for icinga::Deserialize.
Refs #5327
2013-12-13 14:08:11 +01:00
Gunnar Beutner f8d7f7799e Improve WorkQueue performance
Refs #5327
2013-12-13 14:08:06 +01:00
Gunnar Beutner b4f2f06b88 Implement ParallelWorkQueue class.
Refs #5327
2013-12-13 14:08:02 +01:00
Gunnar Beutner b5792a0b81 Avoid using ConfigItem::GetObject when possible.
Refs #5327
2013-12-13 14:07:57 +01:00
Gunnar Beutner 37179cdf32 Improve config compiler performance.
Refs #5327
2013-12-13 14:07:37 +01:00
Michael Friedrich 66765311c3 Refactor CompatUtility::* for DB IDO, Livestatus, StatusData.
Fixes #5241
2013-12-13 09:38:22 +01:00
Gunnar Beutner 98733fc105 Add timestamp to crash dumps.
Fixes #5315
2013-12-12 14:38:34 +01:00
Johannes Meyer 9229aa4948 Merge branch 'feature/Array-insert-functionality' into next
resolves #5320
2013-12-12 13:53:27 +01:00
Michael Friedrich e6c6a7dc52 Use exclamation mark for auto-generated config item names.
Fixes #5318
2013-12-12 11:50:08 +01:00
Gunnar Beutner 7a107b7dbd Improve compatibility with C++11.
Fixes #5307
2013-12-11 16:40:55 +01:00
Johannes Meyer e50dd8c1cc Fix indentation in lib/icinga/externalcommandprocessor.cpp 2013-12-11 16:00:09 +01:00
Johannes Meyer 66845d05f8 Fix crash when a command is executed that affects check services
fixes #5297
2013-12-11 12:43:18 +01:00
Gunnar Beutner af6df9f268 Improve compatibility with Windows.
Fixes #5287
2013-12-09 13:46:53 +01:00
Michael Friedrich 085fca90ad Fix missing comment_data column in downtime tables.
Fixes #5282
2013-12-09 13:30:13 +01:00
Gunnar Beutner 3d7c103035 Fix deadlock in ServiceDbConnect::Add{Comments,Downtimes}.
Fixes #5286
2013-12-09 13:22:50 +01:00
Gunnar Beutner ab2e1e99e2 ScriptVariableRegistry::GetInstance should not be defined inline.
Fixes #5284
2013-12-09 12:26:25 +01:00
Gunnar Beutner 5e9ce84c17 Fix duplicate IDs in queries for comments/downtimes.
Fixes #5283
2013-12-09 12:22:54 +01:00
Gunnar Beutner 203cf73bf7 Improve error messages for the check result reader.
Fixes #5275
2013-12-09 09:52:09 +01:00