]> granicus.if.org Git - icinga2/log
icinga2
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

10 years agoFix incorrect attribute names in the documentation.
Gunnar Beutner [Wed, 11 Dec 2013 14:12:20 +0000 (15:12 +0100)]
Fix incorrect attribute names in the documentation.

Fixes #5303

10 years agoDebian: only update icinga-version.h.fallback when in a GIT repo.
Markus Frosch [Wed, 11 Dec 2013 12:22:00 +0000 (13:22 +0100)]
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

10 years agoFix crash when a command is executed that affects check services
Johannes Meyer [Wed, 11 Dec 2013 10:46:12 +0000 (11:46 +0100)]
Fix crash when a command is executed that affects check services

fixes #5297

10 years agoLivestatus: Fix check_command_expanded column.
Michael Friedrich [Wed, 11 Dec 2013 09:18:23 +0000 (10:18 +0100)]
Livestatus: Fix check_command_expanded column.

Fixes #5296

10 years agoNSCA-ng Vagrant Support: add nsca user to icingacmd group, move nsca-ng
Paul Richards [Mon, 9 Dec 2013 20:46:36 +0000 (20:46 +0000)]
NSCA-ng Vagrant Support: add nsca user to icingacmd group, move nsca-ng
config files and set appropriate file permissions.

Fixes #5222

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
10 years agoImprove compatibility with Windows.
Gunnar Beutner [Mon, 9 Dec 2013 12:46:53 +0000 (13:46 +0100)]
Improve compatibility with Windows.

Fixes #5287

10 years agoFix missing comment_data column in downtime tables.
Michael Friedrich [Mon, 9 Dec 2013 12:20:46 +0000 (13:20 +0100)]
Fix missing comment_data column in downtime tables.

Fixes #5282

10 years agoFix deadlock in ServiceDbConnect::Add{Comments,Downtimes}.
Gunnar Beutner [Mon, 9 Dec 2013 12:22:50 +0000 (13:22 +0100)]
Fix deadlock in ServiceDbConnect::Add{Comments,Downtimes}.

Fixes #5286

10 years agoFix syntax error in mail-notification.sh.
Gunnar Beutner [Mon, 9 Dec 2013 12:03:08 +0000 (13:03 +0100)]
Fix syntax error in mail-notification.sh.

Fixes #5285

10 years agoScriptVariableRegistry::GetInstance should not be defined inline.
Gunnar Beutner [Mon, 9 Dec 2013 11:26:25 +0000 (12:26 +0100)]
ScriptVariableRegistry::GetInstance should not be defined inline.

Fixes #5284

10 years agoFix duplicate IDs in queries for comments/downtimes.
Gunnar Beutner [Mon, 9 Dec 2013 11:22:54 +0000 (12:22 +0100)]
Fix duplicate IDs in queries for comments/downtimes.

Fixes #5283

10 years agoJust write objects.cache file once.
Gunnar Beutner [Mon, 9 Dec 2013 09:27:45 +0000 (10:27 +0100)]
Just write objects.cache file once.

Fixes #5270

10 years agoImprove error messages for the check result reader.
Gunnar Beutner [Mon, 9 Dec 2013 08:52:09 +0000 (09:52 +0100)]
Improve error messages for the check result reader.

Fixes #5275

10 years agoFix incorrect value for the triggered_by_id column.
Gunnar Beutner [Mon, 9 Dec 2013 08:22:04 +0000 (09:22 +0100)]
Fix incorrect value for the triggered_by_id column.

Fixes #5279

10 years agoDebian: Make sure to enable default features due when updating.
Markus Frosch [Fri, 6 Dec 2013 19:04:07 +0000 (20:04 +0100)]
Debian: Make sure to enable default features due when updating.

The last fix for that missed handling upgrading between versions, so we now
enable features when upgrading from before 0.0.5+icingasnap201312070000.

This enabling will include any release package previously installed.

Fixes #5102

10 years agoImplement scheduled downtimes.
Gunnar Beutner [Wed, 13 Nov 2013 13:56:31 +0000 (14:56 +0100)]
Implement scheduled downtimes.

Fixes #3584

10 years agoRPM: Don't re-enable disabled features on update, proper remove on uninstall.
Michael Friedrich [Thu, 5 Dec 2013 12:15:44 +0000 (13:15 +0100)]
RPM: Don't re-enable disabled features on update, proper remove on uninstall.

Fixes #5267

10 years agoMerge branch 'feature/timeperiod-fixes-5268' into next
Gunnar Beutner [Thu, 5 Dec 2013 11:31:44 +0000 (12:31 +0100)]
Merge branch 'feature/timeperiod-fixes-5268' into next

Fixes #5268

10 years agoRename one of the example timeperiods.
Gunnar Beutner [Thu, 5 Dec 2013 11:30:39 +0000 (12:30 +0100)]
Rename one of the example timeperiods.

Refs #5268

10 years agoMake sure that TimePeriod segments are being merged properly.
Gunnar Beutner [Thu, 5 Dec 2013 11:30:02 +0000 (12:30 +0100)]
Make sure that TimePeriod segments are being merged properly.

Refs #5268

10 years agoDB IDO: Fix reconnect config/status inserts.
Michael Friedrich [Thu, 5 Dec 2013 11:12:57 +0000 (12:12 +0100)]
DB IDO: Fix reconnect config/status inserts.

Fixes #5266

10 years agoSet rlimits in the Application class (rather than in the init script).
Gunnar Beutner [Thu, 5 Dec 2013 10:04:47 +0000 (11:04 +0100)]
Set rlimits in the Application class (rather than in the init script).

Fixes #5260

10 years agoMake status.dat/objects.cache interval configurable.
Gunnar Beutner [Thu, 5 Dec 2013 09:00:20 +0000 (10:00 +0100)]
Make status.dat/objects.cache interval configurable.

Fixes #5262

10 years agoAdd unit test for Stream::ReadLine.
Gunnar Beutner [Thu, 5 Dec 2013 08:57:12 +0000 (09:57 +0100)]
Add unit test for Stream::ReadLine.

Fixes #5077

10 years agoMake ICINGA2_{USER,GROUP,COMMAND_USER,COMMAND_GROUP} variables overwritable.
Gunnar Beutner [Thu, 5 Dec 2013 08:42:42 +0000 (09:42 +0100)]
Make ICINGA2_{USER,GROUP,COMMAND_USER,COMMAND_GROUP} variables overwritable.

Fixes #5257

10 years agoDebian: Made creation of icinga-version.h.fallback safer.
Markus Frosch [Wed, 4 Dec 2013 19:40:10 +0000 (20:40 +0100)]
Debian: Made creation of icinga-version.h.fallback safer.

We now use a custom CMakeLists.txt to just create this file without checking
dependencies or doing other stuff.

Idea is to avoid breaking on systems that only create source packages for
chroot builds.

Refs #5261

10 years agoDebian: Fixed config check and changed DAEMON_ARGS in init script.
Markus Frosch [Wed, 4 Dec 2013 18:50:10 +0000 (19:50 +0100)]
Debian: Fixed config check and changed DAEMON_ARGS in init script.

Check now actually works, command was incorrect and not properly blocking the
actual action on fail.

Also the config file is now in DAEMON_CONFIG variable.

Fixes #5086

10 years agoDebian: Made handling of features-enabled respecting disabled features.
Markus Frosch [Wed, 4 Dec 2013 18:06:43 +0000 (19:06 +0100)]
Debian: Made handling of features-enabled respecting disabled features.

The default features now only get enabled on fresh installs. This has been
changed for icinga2-common and icinga2-classicui.

Fixes #5102

10 years agoMerge branch 'feature/constants-4946' into next
Gunnar Beutner [Wed, 4 Dec 2013 11:14:16 +0000 (12:14 +0100)]
Merge branch 'feature/constants-4946' into next

Fixes #4946

10 years agoFix: display_name property doesn't work for hosts.
Gunnar Beutner [Wed, 4 Dec 2013 11:07:57 +0000 (12:07 +0100)]
Fix: display_name property doesn't work for hosts.

Fixes #5258

10 years agoImplement support for constants in the config parser.
Gunnar Beutner [Wed, 4 Dec 2013 10:04:36 +0000 (11:04 +0100)]
Implement support for constants in the config parser.

Refs #4946

10 years agoRemove Windows example config.
Gunnar Beutner [Wed, 4 Dec 2013 10:04:17 +0000 (11:04 +0100)]
Remove Windows example config.

Refs #4946

10 years agoImplement support for making script variables constant.
Gunnar Beutner [Wed, 4 Dec 2013 09:41:26 +0000 (10:41 +0100)]
Implement support for making script variables constant.

Refs #4946

10 years agoFix leak in the config parser.
Gunnar Beutner [Wed, 4 Dec 2013 09:39:46 +0000 (10:39 +0100)]
Fix leak in the config parser.

Refs #4946

10 years agoSpeed up config compiler.
Gunnar Beutner [Tue, 3 Dec 2013 08:59:21 +0000 (09:59 +0100)]
Speed up config compiler.

Fixes #5255

10 years agoMerge branch 'feature/release-0-0-5-5254' into next v0.0.5
Michael Friedrich [Tue, 3 Dec 2013 08:55:20 +0000 (09:55 +0100)]
Merge branch 'feature/release-0-0-5-5254' into next

Fixes #5254

10 years agoClean up configs.
Michael Friedrich [Tue, 3 Dec 2013 08:54:14 +0000 (09:54 +0100)]
Clean up configs.

Refs #5254

10 years agoUpdate version to 0.0.5.
Michael Friedrich [Tue, 3 Dec 2013 08:50:18 +0000 (09:50 +0100)]
Update version to 0.0.5.

Refs #5254

10 years agoUpdate ChangeLog.
Michael Friedrich [Tue, 3 Dec 2013 08:47:07 +0000 (09:47 +0100)]
Update ChangeLog.

Refs #5254

10 years agoAdd context information to PerfdataWriter::CheckResultHandler.
Gunnar Beutner [Mon, 2 Dec 2013 12:34:23 +0000 (13:34 +0100)]
Add context information to PerfdataWriter::CheckResultHandler.

Fixes #4743

10 years agoAvoid temporary String objects in PerfdataValue::Format.
Gunnar Beutner [Mon, 2 Dec 2013 11:55:35 +0000 (12:55 +0100)]
Avoid temporary String objects in PerfdataValue::Format.

Fixes #5248

10 years agoMerge branch 'feature/ido-performance-5246' into next
Gunnar Beutner [Mon, 2 Dec 2013 10:44:21 +0000 (11:44 +0100)]
Merge branch 'feature/ido-performance-5246' into next

Fixes #5246

10 years agoFix compiler warning for Utility::GlobRecursive.
Gunnar Beutner [Mon, 2 Dec 2013 10:11:40 +0000 (11:11 +0100)]
Fix compiler warning for Utility::GlobRecursive.

Refs #5246