2834 Commits

Author SHA1 Message Date
Gunnar Beutner
3a10127bf4 Implement support for using custom variables as macros.
Fixes #5364
2013-12-18 10:53:26 +01:00
Gunnar Beutner
21fb0d9872 Implement "safe mode" for icinga::Deserialize.
Fixes #5035
2013-12-18 10:27:58 +01:00
Michael Friedrich
19bc4e0baa Merge branch 'fix/refactor-hist-tables-5351' into next
Fixes #5348
Fixes #5351
Fixes #5355
2013-12-17 18:42:44 +01:00
Michael Friedrich
9f82274fce Fix some more compiler warnings.
Refs #5348
2013-12-17 18:34:05 +01:00
Michael Friedrich
79f5618eba Use std::string::find() in String::Contains().
Refs #5355
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
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
1e60383f23 Write documentation on how to do an initial state sync for a cluster setup.
Fixes #5343
2013-12-17 10:25:42 +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
cbd4c6d6ae Merge branch 'feature/compiler-warnings-5349' into next
Fixes #5349
2013-12-17 07:57:32 +01:00
Gunnar Beutner
ddf83f33d2 Fix compiler warnings in Service::ProcessCheckResult.
Refs #5349
2013-12-17 07:55:46 +01:00
Gunnar Beutner
53c1434700 Fix compiler warnings in the CompatLogger class.
Refs #5349
2013-12-17 07:54:41 +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
d790162ce3 Fix compiler warnings in auto-generated mkclass code.
Refs #5349
2013-12-17 07:52:19 +01:00
Gunnar Beutner
bb9481c305 Merge branch 'feature/console-logger-5342' into next
Fixes #5342
2013-12-16 17:23:57 +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
Johannes Meyer
eb4afb1eda Merge branch 'feature/unit-tests-5223' into next 2013-12-16 15:40:03 +01:00
Johannes Meyer
ba4286b549 Drop dummy test and fix livestatus utility class
refs #5223
2013-12-16 15:39:31 +01:00
Johannes Meyer
6832625bcc Add external commands test [WIP]
refs #5223
2013-12-16 15:37:38 +01:00
Johannes Meyer
02d24200bb Refactor IDO query code
refs #5223
2013-12-16 15:37:38 +01:00
Johannes Meyer
d5dc65a752 Add check to the statusdata test for regular file updates
refs #5223
2013-12-16 15:37:38 +01:00
Johannes Meyer
f8887c2f89 Update readme file
refs #5223
2013-12-16 15:37:38 +01:00
Johannes Meyer
6eb169b215 Fix vm bootstrapping
refs #5223
2013-12-16 15:37:38 +01:00
Johannes Meyer
a443e4a4fc Refactor vm bootstrapping
refs #5223
2013-12-16 15:37:38 +01:00
Johannes Meyer
42687a3616 Add --output switch to the test runner
refs #5223
2013-12-16 15:37:37 +01:00
Johannes Meyer
8a9c6c7342 Add checkresult tests
refs #5223
2013-12-16 15:37:37 +01:00
Johannes Meyer
45e5d34ec4 Let the IDO tests take reschedule actions into account
refs #5223
2013-12-16 15:37:37 +01:00
Johannes Meyer
c1d31179ef Fix command execution over SSH
refs #5223
2013-12-16 15:37:37 +01:00
Johannes Meyer
7f64e58c32 Make setup output quiet
refs #5223
2013-12-16 15:37:37 +01:00
Johannes Meyer
17e36fe1cc Add IDO tests
refs #5223
2013-12-16 15:37:37 +01:00
Johannes Meyer
3b04b4dcf5 Add file existence tests
refs #5223
2013-12-16 15:37:37 +01:00
Johannes Meyer
cd05686a70 Add state tests
refs #5223
2013-12-16 15:37:37 +01:00
Johannes Meyer
518d0bfd10 Fix settings section in configuration file
refs #5223
2013-12-16 15:37:37 +01:00
Johannes Meyer
9d87ce571b Add configuration aware test runner
refs #5223
2013-12-16 15:37:37 +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
e8cf349451 Update .gitignore.
Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2013-12-16 11:19:03 +01:00