]>
granicus.if.org Git - icinga2/log
Michael Friedrich [Wed, 18 Dec 2013 15:06:39 +0000 (16:06 +0100)]
Livestatus: Use HistoryTable for log/statehist tables.
Refs #5351
Michael Friedrich [Wed, 18 Dec 2013 14:29:57 +0000 (15:29 +0100)]
Drop 'use feature ...' for el5 perl dependencies.
Refs #5033
Michael Friedrich [Wed, 18 Dec 2013 11:54:49 +0000 (12:54 +0100)]
Fix el5 build.
Fixes #5033
Johannes Meyer [Wed, 18 Dec 2013 13:41:19 +0000 (14:41 +0100)]
Fix indices used to access arguments of external commands
fixes #5368
Markus Frosch [Wed, 18 Dec 2013 13:21:30 +0000 (14:21 +0100)]
Debian: Added package for debug symbols.
Fixes #5362
Michael Friedrich [Wed, 18 Dec 2013 10:01:59 +0000 (11:01 +0100)]
Migration: Revert dumping custom vars as macros.
Refs #5364
Gunnar Beutner [Wed, 18 Dec 2013 09:53:26 +0000 (10:53 +0100)]
Implement support for using custom variables as macros.
Fixes #5364
Gunnar Beutner [Wed, 18 Dec 2013 09:18:57 +0000 (10:18 +0100)]
Implement "safe mode" for icinga::Deserialize.
Fixes #5035
Michael Friedrich [Tue, 17 Dec 2013 17:42:44 +0000 (18:42 +0100)]
Merge branch 'fix/refactor-hist-tables-5351' into next
Fixes #5348
Fixes #5351
Fixes #5355
Michael Friedrich [Tue, 17 Dec 2013 17:33:17 +0000 (18:33 +0100)]
Fix some more compiler warnings.
Refs #5348
Michael Friedrich [Tue, 17 Dec 2013 17:18:13 +0000 (18:18 +0100)]
Use std::string::find() in String::Contains().
Refs #5355
Michael Friedrich [Tue, 17 Dec 2013 11:58:04 +0000 (12:58 +0100)]
Livestatus: Refactor historical tables.
Refs #5351
Refs #5348
Michael Friedrich [Tue, 17 Dec 2013 11:19:29 +0000 (12:19 +0100)]
Add String::Contains().
Refs #5355
Johannes Meyer [Tue, 17 Dec 2013 15:01:33 +0000 (16:01 +0100)]
Fix crash that might occur in a situation where icinga should not crash...
refs #5356
Johannes Meyer [Tue, 17 Dec 2013 14:15:39 +0000 (15:15 +0100)]
Fix that triggered_by field is not of type int in a livestatus response
fixes #5356
Gunnar Beutner [Tue, 17 Dec 2013 13:47:19 +0000 (14:47 +0100)]
Fix: Missing warn/crit/min/max values are incorrectly set to 0.
Fixes #5358
Gunnar Beutner [Tue, 17 Dec 2013 13:26:48 +0000 (14:26 +0100)]
Update log level for some messages.
Fixes #5357
Gunnar Beutner [Tue, 17 Dec 2013 13:24:29 +0000 (14:24 +0100)]
Embed constants into lib{base,icinga,db_ido}.
Fixes #5247
Gunnar Beutner [Tue, 17 Dec 2013 10:56:29 +0000 (11:56 +0100)]
Fix invalid lock in Service::UpdateSlaveNotifications.
Fixes #5354
Gunnar Beutner [Tue, 17 Dec 2013 09:25:42 +0000 (10:25 +0100)]
Write documentation on how to do an initial state sync for a cluster setup.
Fixes #5343
Gunnar Beutner [Tue, 17 Dec 2013 09:20:28 +0000 (10:20 +0100)]
Use CompatUtility::GetCommandLine in StatusDataWriter::DumpCommand.
Fixes #5353
Johannes Meyer [Tue, 17 Dec 2013 08:50:19 +0000 (09:50 +0100)]
Fix address and address6 being empty in objects.cache
fixes #5352
Gunnar Beutner [Tue, 17 Dec 2013 06:57:32 +0000 (07:57 +0100)]
Merge branch 'feature/compiler-warnings-5349' into next
Fixes #5349
Gunnar Beutner [Tue, 17 Dec 2013 06:55:46 +0000 (07:55 +0100)]
Fix compiler warnings in Service::ProcessCheckResult.
Refs #5349
Gunnar Beutner [Tue, 17 Dec 2013 06:54:41 +0000 (07:54 +0100)]
Fix compiler warnings in the CompatLogger class.
Refs #5349
Gunnar Beutner [Tue, 17 Dec 2013 06:39:39 +0000 (07:39 +0100)]
Fix compiler warning in CompatUtility::GetServiceNotificationNotificationOptions.
Refs #5349
Gunnar Beutner [Tue, 17 Dec 2013 06:38:49 +0000 (07:38 +0100)]
Fix compiler warnings in ScheduledDowntime::FindNextSegment.
Refs #5349
Gunnar Beutner [Tue, 17 Dec 2013 06:38:15 +0000 (07:38 +0100)]
Fix compiler warnings in ThreadPool::ThreadPool.
Refs #5349
Gunnar Beutner [Tue, 17 Dec 2013 06:33:39 +0000 (07:33 +0100)]
Fix compiler warnings in auto-generated mkclass code.
Refs #5349
Gunnar Beutner [Mon, 16 Dec 2013 16:23:57 +0000 (17:23 +0100)]
Merge branch 'feature/console-logger-5342' into next
Fixes #5342
Gunnar Beutner [Mon, 16 Dec 2013 16:06:05 +0000 (17:06 +0100)]
Fix a log message.
Refs #5342
Gunnar Beutner [Mon, 16 Dec 2013 16:05:23 +0000 (17:05 +0100)]
Remove the ConsoleLogger class and keep the default console log enabled until we daemonize.
Refs #5342
Michael Friedrich [Mon, 16 Dec 2013 15:57:30 +0000 (16:57 +0100)]
Fix perfdata double value type formatting.
Fixes #5277
Michael Friedrich [Mon, 16 Dec 2013 15:36:54 +0000 (16:36 +0100)]
Apply UOM base to warn/crit/min/max to perfdata values.
Fixes #5280
Michael Friedrich [Mon, 16 Dec 2013 15:22:22 +0000 (16:22 +0100)]
Move command argument logging into the unix process class.
Refs #5225
Johannes Meyer [Mon, 16 Dec 2013 14:40:03 +0000 (15:40 +0100)]
Merge branch 'feature/unit-tests-5223' into next
Johannes Meyer [Mon, 16 Dec 2013 14:39:31 +0000 (15:39 +0100)]
Drop dummy test and fix livestatus utility class
refs #5223
Johannes Meyer [Thu, 12 Dec 2013 08:04:40 +0000 (09:04 +0100)]
Add external commands test [WIP]
refs #5223
Johannes Meyer [Tue, 10 Dec 2013 13:55:33 +0000 (14:55 +0100)]
Refactor IDO query code
refs #5223
Johannes Meyer [Tue, 10 Dec 2013 11:37:51 +0000 (12:37 +0100)]
Add check to the statusdata test for regular file updates
refs #5223
Johannes Meyer [Tue, 10 Dec 2013 11:25:14 +0000 (12:25 +0100)]
Update readme file
refs #5223
Johannes Meyer [Tue, 10 Dec 2013 09:06:51 +0000 (10:06 +0100)]
Fix vm bootstrapping
refs #5223
Johannes Meyer [Tue, 10 Dec 2013 08:27:04 +0000 (09:27 +0100)]
Refactor vm bootstrapping
refs #5223
Johannes Meyer [Mon, 9 Dec 2013 15:04:08 +0000 (16:04 +0100)]
Add --output switch to the test runner
refs #5223
Johannes Meyer [Mon, 9 Dec 2013 15:03:31 +0000 (16:03 +0100)]
Add checkresult tests
refs #5223
Johannes Meyer [Fri, 6 Dec 2013 14:13:45 +0000 (15:13 +0100)]
Let the IDO tests take reschedule actions into account
refs #5223
Johannes Meyer [Fri, 6 Dec 2013 13:09:04 +0000 (14:09 +0100)]
Fix command execution over SSH
refs #5223
Johannes Meyer [Fri, 6 Dec 2013 12:02:26 +0000 (13:02 +0100)]
Make setup output quiet
refs #5223
Johannes Meyer [Fri, 6 Dec 2013 09:07:55 +0000 (10:07 +0100)]
Add IDO tests
refs #5223
Johannes Meyer [Thu, 5 Dec 2013 08:46:51 +0000 (09:46 +0100)]
Add file existence tests
refs #5223
Johannes Meyer [Wed, 4 Dec 2013 15:33:05 +0000 (16:33 +0100)]
Add state tests
refs #5223
Johannes Meyer [Wed, 4 Dec 2013 15:23:44 +0000 (16:23 +0100)]
Fix settings section in configuration file
refs #5223
Johannes Meyer [Wed, 4 Dec 2013 15:04:28 +0000 (16:04 +0100)]
Add configuration aware test runner
refs #5223
Johannes Meyer [Mon, 16 Dec 2013 14:36:38 +0000 (15:36 +0100)]
Fix aggregation of the type and is_service livestatus comment columns
refs #5332
Johannes Meyer [Mon, 16 Dec 2013 13:14:01 +0000 (14:14 +0100)]
Fix deadlock when querying comments or downtimes through livestatus
fixes #5332
Michael Friedrich [Mon, 16 Dec 2013 10:16:53 +0000 (11:16 +0100)]
Update .gitignore.
Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
Gunnar Beutner [Mon, 16 Dec 2013 08:53:50 +0000 (09:53 +0100)]
Fix race condition in Logger::GetLoggers.
Fixes #5341
Michael Friedrich [Mon, 16 Dec 2013 08:39:14 +0000 (09:39 +0100)]
Only print config validation for existing objects.
Refs #5298
Gunnar Beutner [Sun, 15 Dec 2013 17:47:11 +0000 (18:47 +0100)]
Fix spelling mistake in ConfigItem::ActivateItems.
Fixes #5334
Gunnar Beutner [Sun, 15 Dec 2013 17:46:29 +0000 (18:46 +0100)]
Merge branch 'feature/race-cond-5337' into next
Fixes #5337
Gunnar Beutner [Sun, 15 Dec 2013 17:36:31 +0000 (18:36 +0100)]
Fix race condition in TimePeriod::Start.
Refs #5337
Gunnar Beutner [Sun, 15 Dec 2013 17:15:05 +0000 (18:15 +0100)]
Fix race condition in icinga::Log.
Refs #5337
Gunnar Beutner [Sat, 14 Dec 2013 22:10:37 +0000 (23:10 +0100)]
Fix race conditions in the config compiler.
Fixes #5335
Gunnar Beutner [Sat, 14 Dec 2013 06:36:49 +0000 (07:36 +0100)]
Fix another race condition in DynamicObject::Start.
Fixes #5330
Michael Friedrich [Fri, 13 Dec 2013 16:37:00 +0000 (17:37 +0100)]
Log commands and their arguments.
Fixes #5225
Michael Friedrich [Fri, 13 Dec 2013 16:36:31 +0000 (17:36 +0100)]
Compat: Fix commands in objects.cache file.
Refs #5328
Michael Friedrich [Fri, 13 Dec 2013 16:09:47 +0000 (17:09 +0100)]
Windows build fix.
Michael Friedrich [Fri, 13 Dec 2013 14:24:24 +0000 (15:24 +0100)]
Add config validation stats.
Fixes #5298
Michael Friedrich [Fri, 13 Dec 2013 13:07:52 +0000 (14:07 +0100)]
Improve StatusDataWriter performance.
Fixes #5328
Gunnar Beutner [Fri, 13 Dec 2013 14:13:20 +0000 (15:13 +0100)]
Fix crash in icinga::Log.
Fixes #5330
Gunnar Beutner [Fri, 13 Dec 2013 14:09:17 +0000 (15:09 +0100)]
Implement latency statistics for the "icinga" check.
Fixes #5325
Gunnar Beutner [Fri, 13 Dec 2013 13:41:48 +0000 (14:41 +0100)]
Add documentation for the "icinga" check command.
Fixes #5326
Gunnar Beutner [Fri, 13 Dec 2013 13:09:20 +0000 (14:09 +0100)]
Merge branch 'feature/tp-contention-5327' into next
Fixes #5327
Gunnar Beutner [Fri, 13 Dec 2013 11:54:14 +0000 (12:54 +0100)]
Improve performance for icinga::Deserialize.
Refs #5327
Gunnar Beutner [Thu, 12 Dec 2013 05:30:11 +0000 (06:30 +0100)]
Improve WorkQueue performance
Refs #5327
Gunnar Beutner [Tue, 10 Dec 2013 20:44:38 +0000 (21:44 +0100)]
Implement ParallelWorkQueue class.
Refs #5327
Gunnar Beutner [Tue, 10 Dec 2013 19:01:38 +0000 (20:01 +0100)]
Avoid using ConfigItem::GetObject when possible.
Refs #5327
Gunnar Beutner [Fri, 6 Dec 2013 20:46:50 +0000 (21:46 +0100)]
Improve config compiler performance.
Refs #5327
Johannes Meyer [Fri, 13 Dec 2013 10:30:58 +0000 (11:30 +0100)]
Enable password authentication for PostgreSQL
resolves #5264
Johannes Meyer [Fri, 13 Dec 2013 09:28:05 +0000 (10:28 +0100)]
Merge branch 'fix/column-headers-in-json-output-5317' into next
fixes #5317
Johannes Meyer [Fri, 13 Dec 2013 09:22:30 +0000 (10:22 +0100)]
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
Michael Friedrich [Thu, 5 Dec 2013 13:54:16 +0000 (14:54 +0100)]
Refactor CompatUtility::* for DB IDO, Livestatus, StatusData.
Fixes #5241
Gunnar Beutner [Thu, 12 Dec 2013 14:46:17 +0000 (15:46 +0100)]
Make icinga2-{enable,disable}-feature list currently enabled features.
Fixes #5319
Gunnar Beutner [Thu, 12 Dec 2013 13:38:34 +0000 (14:38 +0100)]
Add timestamp to crash dumps.
Fixes #5315
Johannes Meyer [Thu, 12 Dec 2013 12:53:27 +0000 (13:53 +0100)]
Merge branch 'feature/Array-insert-functionality' into next
resolves #5320
Michael Friedrich [Thu, 12 Dec 2013 11:07:47 +0000 (12:07 +0100)]
Fix crash while reading livestatus query.
Refs #5316
Michael Friedrich [Thu, 12 Dec 2013 10:48:43 +0000 (11:48 +0100)]
Use exclamation mark for auto-generated config item names.
Fixes #5318
Johannes Meyer [Thu, 12 Dec 2013 09:21:33 +0000 (10:21 +0100)]
Fix livestatus keepalive handling
fixes #5314
Gunnar Beutner [Thu, 12 Dec 2013 08:44:59 +0000 (09:44 +0100)]
Update documentation for notification commands.
Fixes #5259
Markus Frosch [Wed, 11 Dec 2013 17:32:30 +0000 (18:32 +0100)]
Debian: Use user/group config also for /run handling in init script.
Also added DAEMON_CMDGROUP var.
Fixes #5309
Markus Frosch [Wed, 11 Dec 2013 17:26:57 +0000 (18:26 +0100)]
Debian: Added spool directory and set correct permissions.
Fixes #5293
Gunnar Beutner [Wed, 11 Dec 2013 17:28:46 +0000 (18:28 +0100)]
Update the livestatus socket path in the documentation.
Fixes #5308
Michael Friedrich [Wed, 11 Dec 2013 16:18:01 +0000 (17:18 +0100)]
Compat: Don't dump empty CV keys.
Fixes #5306
Gunnar Beutner [Wed, 11 Dec 2013 15:40:55 +0000 (16:40 +0100)]
Improve compatibility with C++11.
Fixes #5307
Markus Frosch [Wed, 11 Dec 2013 15:08:59 +0000 (16:08 +0100)]
Merge branch 'feature/debian-init-helpers-5305' into next
Fixes #5305
Markus Frosch [Wed, 11 Dec 2013 15:07:46 +0000 (16:07 +0100)]
Debian: Added foreground init helper to debug Icinga 2.
Refs #5305
Johannes Meyer [Wed, 11 Dec 2013 15:00:09 +0000 (16:00 +0100)]
Fix indentation in lib/icinga/externalcommandprocessor.cpp
Markus Frosch [Wed, 11 Dec 2013 14:34:29 +0000 (15:34 +0100)]
Debian: Cleaned up indention in init script.
Refs #5305
Conflicts:
debian/icinga2-common.icinga2.init
Markus Frosch [Wed, 11 Dec 2013 14:19:50 +0000 (15:19 +0100)]
Debian: Added checkconfig helper to initscript.
And simplified check handling over all functions.
Refs #5305
Markus Frosch [Wed, 11 Dec 2013 13:43:27 +0000 (14:43 +0100)]
Debian: Added DAEMON_(USER|GROUP) to init/default for config checking.
Config should be checked with the actual uid/gid Icinga 2 will run under.
Also moved "-d" to the actual start-stop-daemon call.
Fixes #5299