Commit Graph

2835 Commits

Author SHA1 Message Date
Michael Friedrich e8cf349451 Update .gitignore.
Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2013-12-16 11:19:03 +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 84fbbd5beb Merge branch 'feature/race-cond-5337' into next
Fixes #5337
2013-12-15 18:46:29 +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 f47f7fb8c5 Compat: Fix commands in objects.cache file.
Refs #5328
2013-12-13 17:36:31 +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
Michael Friedrich 47f814cc4d Improve StatusDataWriter performance.
Fixes #5328
2013-12-13 15:23:44 +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 0e4c00805c Add documentation for the "icinga" check command.
Fixes #5326
2013-12-13 14:41:48 +01:00
Gunnar Beutner 13d72c5ef5 Merge branch 'feature/tp-contention-5327' into next
Fixes #5327
2013-12-13 14:09:20 +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
Johannes Meyer 9134c7fab6 Enable password authentication for PostgreSQL
resolves #5264
2013-12-13 11:30:58 +01:00
Johannes Meyer dcd732905f Merge branch 'fix/column-headers-in-json-output-5317' into next
fixes #5317
2013-12-13 10:28:05 +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
Gunnar Beutner 947b6f3207 Make icinga2-{enable,disable}-feature list currently enabled features.
Fixes #5319
2013-12-12 15:46:17 +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 1119c2f17b Fix crash while reading livestatus query.
Refs #5316
2013-12-12 12:07:47 +01:00
Michael Friedrich e6c6a7dc52 Use exclamation mark for auto-generated config item names.
Fixes #5318
2013-12-12 11:50:08 +01:00
Johannes Meyer ed4def7ee8 Fix livestatus keepalive handling
fixes #5314
2013-12-12 10:21:33 +01:00
Gunnar Beutner 76cc69c701 Update documentation for notification commands.
Fixes #5259
2013-12-12 09:45:36 +01:00
Markus Frosch 6b8d079fd2 Debian: Use user/group config also for /run handling in init script.
Also added DAEMON_CMDGROUP var.

Fixes #5309
2013-12-11 18:33:44 +01:00
Markus Frosch 0975d24a94 Debian: Added spool directory and set correct permissions.
Fixes #5293
2013-12-11 18:33:44 +01:00
Gunnar Beutner 90dc637b2c Update the livestatus socket path in the documentation.
Fixes #5308
2013-12-11 18:28:46 +01:00
Michael Friedrich 7e4da258fc Compat: Don't dump empty CV keys.
Fixes #5306
2013-12-11 17:18:01 +01:00
Gunnar Beutner 7a107b7dbd Improve compatibility with C++11.
Fixes #5307
2013-12-11 16:40:55 +01:00
Markus Frosch 98671ebec2 Merge branch 'feature/debian-init-helpers-5305' into next
Fixes #5305
2013-12-11 16:08:59 +01:00
Markus Frosch f2909b80fd Debian: Added foreground init helper to debug Icinga 2.
Refs #5305
2013-12-11 16:07:46 +01:00
Johannes Meyer e50dd8c1cc Fix indentation in lib/icinga/externalcommandprocessor.cpp 2013-12-11 16:00:09 +01:00
Markus Frosch 6200c8164c Debian: Cleaned up indention in init script.
Refs #5305

Conflicts:
	debian/icinga2-common.icinga2.init
2013-12-11 15:34:29 +01:00
Markus Frosch 16e1da530f Debian: Added checkconfig helper to initscript.
And simplified check handling over all functions.

Refs #5305
2013-12-11 15:33:47 +01:00
Markus Frosch 4c8f1f3d9d 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
2013-12-11 15:31:54 +01:00
Gunnar Beutner c410ca0b54 Fix incorrect permissions for key files.
Fixes #5300
2013-12-11 15:14:24 +01:00
Gunnar Beutner 3c1fc98f5c Fix incorrect attribute names in the documentation.
Fixes #5303
2013-12-11 15:12:20 +01:00
Markus Frosch 2ca8be6ecd Debian: only update icinga-version.h.fallback when in a GIT repo.
This avoids the version coming out as GIT-UNKNOWN after chroot builds.

Fixes #5294
2013-12-11 13:23:29 +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
Michael Friedrich 83e20ba02e Livestatus: Fix check_command_expanded column.
Fixes #5296
2013-12-11 10:18:23 +01:00