]> granicus.if.org Git - icinga2/log
icinga2
10 years agoDrop 'use feature ...' for el5 perl dependencies.
Michael Friedrich [Wed, 18 Dec 2013 14:29:57 +0000 (15:29 +0100)]
Drop 'use feature ...' for el5 perl dependencies.

Refs #5033

10 years agoFix el5 build.
Michael Friedrich [Wed, 18 Dec 2013 11:54:49 +0000 (12:54 +0100)]
Fix el5 build.

Fixes #5033

10 years agoFix indices used to access arguments of external commands
Johannes Meyer [Wed, 18 Dec 2013 13:41:19 +0000 (14:41 +0100)]
Fix indices used to access arguments of external commands

fixes #5368

10 years agoDebian: Added package for debug symbols.
Markus Frosch [Wed, 18 Dec 2013 13:21:30 +0000 (14:21 +0100)]
Debian: Added package for debug symbols.

Fixes #5362

10 years agoMigration: Revert dumping custom vars as macros.
Michael Friedrich [Wed, 18 Dec 2013 10:01:59 +0000 (11:01 +0100)]
Migration: Revert dumping custom vars as macros.

Refs #5364

10 years agoImplement support for using custom variables as macros.
Gunnar Beutner [Wed, 18 Dec 2013 09:53:26 +0000 (10:53 +0100)]
Implement support for using custom variables as macros.

Fixes #5364

10 years agoImplement "safe mode" for icinga::Deserialize.
Gunnar Beutner [Wed, 18 Dec 2013 09:18:57 +0000 (10:18 +0100)]
Implement "safe mode" for icinga::Deserialize.

Fixes #5035

10 years agoMerge branch 'fix/refactor-hist-tables-5351' into next
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

10 years agoFix some more compiler warnings.
Michael Friedrich [Tue, 17 Dec 2013 17:33:17 +0000 (18:33 +0100)]
Fix some more compiler warnings.

Refs #5348

10 years agoUse std::string::find() in String::Contains().
Michael Friedrich [Tue, 17 Dec 2013 17:18:13 +0000 (18:18 +0100)]
Use std::string::find() in String::Contains().

Refs #5355

10 years agoLivestatus: Refactor historical tables.
Michael Friedrich [Tue, 17 Dec 2013 11:58:04 +0000 (12:58 +0100)]
Livestatus: Refactor historical tables.

Refs #5351
Refs #5348

10 years agoAdd String::Contains().
Michael Friedrich [Tue, 17 Dec 2013 11:19:29 +0000 (12:19 +0100)]
Add String::Contains().

Refs #5355

10 years agoFix crash that might occur in a situation where icinga should not crash...
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

10 years agoFix that triggered_by field is not of type int in a livestatus response
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

10 years agoFix: Missing warn/crit/min/max values are incorrectly set to 0.
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

10 years agoUpdate log level for some messages.
Gunnar Beutner [Tue, 17 Dec 2013 13:26:48 +0000 (14:26 +0100)]
Update log level for some messages.

Fixes #5357

10 years agoEmbed constants into lib{base,icinga,db_ido}.
Gunnar Beutner [Tue, 17 Dec 2013 13:24:29 +0000 (14:24 +0100)]
Embed constants into lib{base,icinga,db_ido}.

Fixes #5247

10 years agoFix invalid lock in Service::UpdateSlaveNotifications.
Gunnar Beutner [Tue, 17 Dec 2013 10:56:29 +0000 (11:56 +0100)]
Fix invalid lock in Service::UpdateSlaveNotifications.

Fixes #5354

10 years agoWrite documentation on how to do an initial state sync for a cluster setup.
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

10 years agoUse CompatUtility::GetCommandLine in StatusDataWriter::DumpCommand.
Gunnar Beutner [Tue, 17 Dec 2013 09:20:28 +0000 (10:20 +0100)]
Use CompatUtility::GetCommandLine in StatusDataWriter::DumpCommand.

Fixes #5353

10 years agoFix address and address6 being empty in objects.cache
Johannes Meyer [Tue, 17 Dec 2013 08:50:19 +0000 (09:50 +0100)]
Fix address and address6 being empty in objects.cache

fixes #5352

10 years agoMerge branch 'feature/compiler-warnings-5349' into next
Gunnar Beutner [Tue, 17 Dec 2013 06:57:32 +0000 (07:57 +0100)]
Merge branch 'feature/compiler-warnings-5349' into next

Fixes #5349

10 years agoFix compiler warnings in Service::ProcessCheckResult.
Gunnar Beutner [Tue, 17 Dec 2013 06:55:46 +0000 (07:55 +0100)]
Fix compiler warnings in Service::ProcessCheckResult.

Refs #5349

10 years agoFix compiler warnings in the CompatLogger class.
Gunnar Beutner [Tue, 17 Dec 2013 06:54:41 +0000 (07:54 +0100)]
Fix compiler warnings in the CompatLogger class.

Refs #5349

10 years agoFix compiler warning in CompatUtility::GetServiceNotificationNotificationOptions.
Gunnar Beutner [Tue, 17 Dec 2013 06:39:39 +0000 (07:39 +0100)]
Fix compiler warning in CompatUtility::GetServiceNotificationNotificationOptions.

Refs #5349

10 years agoFix compiler warnings in ScheduledDowntime::FindNextSegment.
Gunnar Beutner [Tue, 17 Dec 2013 06:38:49 +0000 (07:38 +0100)]
Fix compiler warnings in ScheduledDowntime::FindNextSegment.

Refs #5349

10 years agoFix compiler warnings in ThreadPool::ThreadPool.
Gunnar Beutner [Tue, 17 Dec 2013 06:38:15 +0000 (07:38 +0100)]
Fix compiler warnings in ThreadPool::ThreadPool.

Refs #5349

10 years agoFix compiler warnings in auto-generated mkclass code.
Gunnar Beutner [Tue, 17 Dec 2013 06:33:39 +0000 (07:33 +0100)]
Fix compiler warnings in auto-generated mkclass code.

Refs #5349

10 years agoMerge branch 'feature/console-logger-5342' into next
Gunnar Beutner [Mon, 16 Dec 2013 16:23:57 +0000 (17:23 +0100)]
Merge branch 'feature/console-logger-5342' into next

Fixes #5342

10 years agoFix a log message.
Gunnar Beutner [Mon, 16 Dec 2013 16:06:05 +0000 (17:06 +0100)]
Fix a log message.

Refs #5342

10 years agoRemove the ConsoleLogger class and keep the default console log enabled until we...
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

10 years agoFix perfdata double value type formatting.
Michael Friedrich [Mon, 16 Dec 2013 15:57:30 +0000 (16:57 +0100)]
Fix perfdata double value type formatting.

Fixes #5277

10 years agoApply UOM base to warn/crit/min/max to perfdata values.
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

10 years agoMove command argument logging into the unix process class.
Michael Friedrich [Mon, 16 Dec 2013 15:22:22 +0000 (16:22 +0100)]
Move command argument logging into the unix process class.

Refs #5225

10 years agoMerge branch 'feature/unit-tests-5223' into next
Johannes Meyer [Mon, 16 Dec 2013 14:40:03 +0000 (15:40 +0100)]
Merge branch 'feature/unit-tests-5223' into next

10 years agoDrop dummy test and fix livestatus utility class
Johannes Meyer [Mon, 16 Dec 2013 14:39:31 +0000 (15:39 +0100)]
Drop dummy test and fix livestatus utility class

refs #5223

10 years agoAdd external commands test [WIP]
Johannes Meyer [Thu, 12 Dec 2013 08:04:40 +0000 (09:04 +0100)]
Add external commands test [WIP]

refs #5223

10 years agoRefactor IDO query code
Johannes Meyer [Tue, 10 Dec 2013 13:55:33 +0000 (14:55 +0100)]
Refactor IDO query code

refs #5223

10 years agoAdd check to the statusdata test for regular file updates
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

10 years agoUpdate readme file
Johannes Meyer [Tue, 10 Dec 2013 11:25:14 +0000 (12:25 +0100)]
Update readme file

refs #5223

10 years agoFix vm bootstrapping
Johannes Meyer [Tue, 10 Dec 2013 09:06:51 +0000 (10:06 +0100)]
Fix vm bootstrapping

refs #5223

10 years agoRefactor vm bootstrapping
Johannes Meyer [Tue, 10 Dec 2013 08:27:04 +0000 (09:27 +0100)]
Refactor vm bootstrapping

refs #5223

10 years agoAdd --output switch to the test runner
Johannes Meyer [Mon, 9 Dec 2013 15:04:08 +0000 (16:04 +0100)]
Add --output switch to the test runner

refs #5223

10 years agoAdd checkresult tests
Johannes Meyer [Mon, 9 Dec 2013 15:03:31 +0000 (16:03 +0100)]
Add checkresult tests

refs #5223

10 years agoLet the IDO tests take reschedule actions into account
Johannes Meyer [Fri, 6 Dec 2013 14:13:45 +0000 (15:13 +0100)]
Let the IDO tests take reschedule actions into account

refs #5223

10 years agoFix command execution over SSH
Johannes Meyer [Fri, 6 Dec 2013 13:09:04 +0000 (14:09 +0100)]
Fix command execution over SSH

refs #5223

10 years agoMake setup output quiet
Johannes Meyer [Fri, 6 Dec 2013 12:02:26 +0000 (13:02 +0100)]
Make setup output quiet

refs #5223

10 years agoAdd IDO tests
Johannes Meyer [Fri, 6 Dec 2013 09:07:55 +0000 (10:07 +0100)]
Add IDO tests

refs #5223

10 years agoAdd file existence tests
Johannes Meyer [Thu, 5 Dec 2013 08:46:51 +0000 (09:46 +0100)]
Add file existence tests

refs #5223

10 years agoAdd state tests
Johannes Meyer [Wed, 4 Dec 2013 15:33:05 +0000 (16:33 +0100)]
Add state tests

refs #5223

10 years agoFix settings section in configuration file
Johannes Meyer [Wed, 4 Dec 2013 15:23:44 +0000 (16:23 +0100)]
Fix settings section in configuration file

refs #5223

10 years agoAdd configuration aware test runner
Johannes Meyer [Wed, 4 Dec 2013 15:04:28 +0000 (16:04 +0100)]
Add configuration aware test runner

refs #5223

10 years agoFix aggregation of the type and is_service livestatus comment columns
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

10 years agoFix deadlock when querying comments or downtimes through livestatus
Johannes Meyer [Mon, 16 Dec 2013 13:14:01 +0000 (14:14 +0100)]
Fix deadlock when querying comments or downtimes through livestatus

fixes #5332

10 years agoUpdate .gitignore.
Michael Friedrich [Mon, 16 Dec 2013 10:16:53 +0000 (11:16 +0100)]
Update .gitignore.

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
10 years agoFix race condition in Logger::GetLoggers.
Gunnar Beutner [Mon, 16 Dec 2013 08:53:50 +0000 (09:53 +0100)]
Fix race condition in Logger::GetLoggers.

Fixes #5341

10 years agoOnly print config validation for existing objects.
Michael Friedrich [Mon, 16 Dec 2013 08:39:14 +0000 (09:39 +0100)]
Only print config validation for existing objects.

Refs #5298

10 years agoFix spelling mistake in ConfigItem::ActivateItems.
Gunnar Beutner [Sun, 15 Dec 2013 17:47:11 +0000 (18:47 +0100)]
Fix spelling mistake in ConfigItem::ActivateItems.

Fixes #5334

10 years agoMerge branch 'feature/race-cond-5337' into next
Gunnar Beutner [Sun, 15 Dec 2013 17:46:29 +0000 (18:46 +0100)]
Merge branch 'feature/race-cond-5337' into next

Fixes #5337

10 years agoFix race condition in TimePeriod::Start.
Gunnar Beutner [Sun, 15 Dec 2013 17:36:31 +0000 (18:36 +0100)]
Fix race condition in TimePeriod::Start.

Refs #5337

10 years agoFix race condition in icinga::Log.
Gunnar Beutner [Sun, 15 Dec 2013 17:15:05 +0000 (18:15 +0100)]
Fix race condition in icinga::Log.

Refs #5337

10 years agoFix race conditions in the config compiler.
Gunnar Beutner [Sat, 14 Dec 2013 22:10:37 +0000 (23:10 +0100)]
Fix race conditions in the config compiler.

Fixes #5335

10 years agoFix another race condition in DynamicObject::Start.
Gunnar Beutner [Sat, 14 Dec 2013 06:36:49 +0000 (07:36 +0100)]
Fix another race condition in DynamicObject::Start.

Fixes #5330

10 years agoLog commands and their arguments.
Michael Friedrich [Fri, 13 Dec 2013 16:37:00 +0000 (17:37 +0100)]
Log commands and their arguments.

Fixes #5225

10 years agoCompat: Fix commands in objects.cache file.
Michael Friedrich [Fri, 13 Dec 2013 16:36:31 +0000 (17:36 +0100)]
Compat: Fix commands in objects.cache file.

Refs #5328

10 years agoWindows build fix.
Michael Friedrich [Fri, 13 Dec 2013 16:09:47 +0000 (17:09 +0100)]
Windows build fix.

10 years agoAdd config validation stats.
Michael Friedrich [Fri, 13 Dec 2013 14:24:24 +0000 (15:24 +0100)]
Add config validation stats.

Fixes #5298

10 years agoImprove StatusDataWriter performance.
Michael Friedrich [Fri, 13 Dec 2013 13:07:52 +0000 (14:07 +0100)]
Improve StatusDataWriter performance.

Fixes #5328

10 years agoFix crash in icinga::Log.
Gunnar Beutner [Fri, 13 Dec 2013 14:13:20 +0000 (15:13 +0100)]
Fix crash in icinga::Log.

Fixes #5330

10 years agoImplement latency statistics for the "icinga" check.
Gunnar Beutner [Fri, 13 Dec 2013 14:09:17 +0000 (15:09 +0100)]
Implement latency statistics for the "icinga" check.

Fixes #5325

10 years agoAdd documentation for the "icinga" check command.
Gunnar Beutner [Fri, 13 Dec 2013 13:41:48 +0000 (14:41 +0100)]
Add documentation for the "icinga" check command.

Fixes #5326

10 years agoMerge branch 'feature/tp-contention-5327' into next
Gunnar Beutner [Fri, 13 Dec 2013 13:09:20 +0000 (14:09 +0100)]
Merge branch 'feature/tp-contention-5327' into next

Fixes #5327

10 years agoImprove performance for icinga::Deserialize.
Gunnar Beutner [Fri, 13 Dec 2013 11:54:14 +0000 (12:54 +0100)]
Improve performance for icinga::Deserialize.

Refs #5327

10 years agoImprove WorkQueue performance
Gunnar Beutner [Thu, 12 Dec 2013 05:30:11 +0000 (06:30 +0100)]
Improve WorkQueue performance

Refs #5327

10 years agoImplement ParallelWorkQueue class.
Gunnar Beutner [Tue, 10 Dec 2013 20:44:38 +0000 (21:44 +0100)]
Implement ParallelWorkQueue class.

Refs #5327

10 years agoAvoid using ConfigItem::GetObject when possible.
Gunnar Beutner [Tue, 10 Dec 2013 19:01:38 +0000 (20:01 +0100)]
Avoid using ConfigItem::GetObject when possible.

Refs #5327

10 years agoImprove config compiler performance.
Gunnar Beutner [Fri, 6 Dec 2013 20:46:50 +0000 (21:46 +0100)]
Improve config compiler performance.

Refs #5327

10 years agoEnable password authentication for PostgreSQL
Johannes Meyer [Fri, 13 Dec 2013 10:30:58 +0000 (11:30 +0100)]
Enable password authentication for PostgreSQL

resolves #5264

10 years agoMerge branch 'fix/column-headers-in-json-output-5317' into next
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

10 years agoFix that the "ColumnHeaders" option has no effect for json output
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

10 years agoRefactor CompatUtility::* for DB IDO, Livestatus, StatusData.
Michael Friedrich [Thu, 5 Dec 2013 13:54:16 +0000 (14:54 +0100)]
Refactor CompatUtility::* for DB IDO, Livestatus, StatusData.

Fixes #5241

10 years agoMake icinga2-{enable,disable}-feature list currently enabled features.
Gunnar Beutner [Thu, 12 Dec 2013 14:46:17 +0000 (15:46 +0100)]
Make icinga2-{enable,disable}-feature list currently enabled features.

Fixes #5319

10 years agoAdd timestamp to crash dumps.
Gunnar Beutner [Thu, 12 Dec 2013 13:38:34 +0000 (14:38 +0100)]
Add timestamp to crash dumps.

Fixes #5315

10 years agoMerge branch 'feature/Array-insert-functionality' into next
Johannes Meyer [Thu, 12 Dec 2013 12:53:27 +0000 (13:53 +0100)]
Merge branch 'feature/Array-insert-functionality' into next

resolves #5320

10 years agoFix crash while reading livestatus query.
Michael Friedrich [Thu, 12 Dec 2013 11:07:47 +0000 (12:07 +0100)]
Fix crash while reading livestatus query.

Refs #5316

10 years agoUse exclamation mark for auto-generated config item names.
Michael Friedrich [Thu, 12 Dec 2013 10:48:43 +0000 (11:48 +0100)]
Use exclamation mark for auto-generated config item names.

Fixes #5318

10 years agoFix livestatus keepalive handling
Johannes Meyer [Thu, 12 Dec 2013 09:21:33 +0000 (10:21 +0100)]
Fix livestatus keepalive handling

fixes #5314

10 years agoUpdate documentation for notification commands.
Gunnar Beutner [Thu, 12 Dec 2013 08:44:59 +0000 (09:44 +0100)]
Update documentation for notification commands.

Fixes #5259

10 years agoDebian: Use user/group config also for /run handling in init script.
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

10 years agoDebian: Added spool directory and set correct permissions.
Markus Frosch [Wed, 11 Dec 2013 17:26:57 +0000 (18:26 +0100)]
Debian: Added spool directory and set correct permissions.

Fixes #5293

10 years agoUpdate the livestatus socket path in the documentation.
Gunnar Beutner [Wed, 11 Dec 2013 17:28:46 +0000 (18:28 +0100)]
Update the livestatus socket path in the documentation.

Fixes #5308

10 years agoCompat: Don't dump empty CV keys.
Michael Friedrich [Wed, 11 Dec 2013 16:18:01 +0000 (17:18 +0100)]
Compat: Don't dump empty CV keys.

Fixes #5306

10 years agoImprove compatibility with C++11.
Gunnar Beutner [Wed, 11 Dec 2013 15:40:55 +0000 (16:40 +0100)]
Improve compatibility with C++11.

Fixes #5307

10 years agoMerge branch 'feature/debian-init-helpers-5305' into next
Markus Frosch [Wed, 11 Dec 2013 15:08:59 +0000 (16:08 +0100)]
Merge branch 'feature/debian-init-helpers-5305' into next

Fixes #5305

10 years agoDebian: Added foreground init helper to debug Icinga 2.
Markus Frosch [Wed, 11 Dec 2013 15:07:46 +0000 (16:07 +0100)]
Debian: Added foreground init helper to debug Icinga 2.

Refs #5305

10 years agoFix indentation in lib/icinga/externalcommandprocessor.cpp
Johannes Meyer [Wed, 11 Dec 2013 15:00:09 +0000 (16:00 +0100)]
Fix indentation in lib/icinga/externalcommandprocessor.cpp

10 years agoDebian: Cleaned up indention in init script.
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

10 years agoDebian: Added checkconfig helper to initscript.
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

10 years agoDebian: Added DAEMON_(USER|GROUP) to init/default for config checking.
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

10 years agoFix incorrect permissions for key files.
Gunnar Beutner [Wed, 11 Dec 2013 14:14:24 +0000 (15:14 +0100)]
Fix incorrect permissions for key files.

Fixes #5300