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

10 years agoAvoid using dynamic_pointer_cast when possible.
Gunnar Beutner [Mon, 2 Dec 2013 08:16:46 +0000 (09:16 +0100)]
Avoid using dynamic_pointer_cast when possible.

Refs #5246

10 years agoFurther decrease WQ lock contention.
Gunnar Beutner [Mon, 2 Dec 2013 08:14:38 +0000 (09:14 +0100)]
Further decrease WQ lock contention.

Refs #5246

10 years agoImprove compatibility with -fvisibility=hidden.
Gunnar Beutner [Sat, 30 Nov 2013 16:47:53 +0000 (17:47 +0100)]
Improve compatibility with -fvisibility=hidden.

Refs #5246

10 years agoAvoid unnecessary copies when iterating over dictionaries.
Gunnar Beutner [Sat, 30 Nov 2013 16:42:50 +0000 (17:42 +0100)]
Avoid unnecessary copies when iterating over dictionaries.

Refs #5246

10 years agoChange default build type to 'Release'.
Gunnar Beutner [Sat, 30 Nov 2013 12:47:51 +0000 (13:47 +0100)]
Change default build type to 'Release'.

Refs #5246

10 years agoFix WorkQueue lock contention.
Gunnar Beutner [Fri, 29 Nov 2013 16:07:04 +0000 (17:07 +0100)]
Fix WorkQueue lock contention.

Fixes #5245

10 years agoFix compiler warning.
Gunnar Beutner [Fri, 29 Nov 2013 16:06:48 +0000 (17:06 +0100)]
Fix compiler warning.

Refs #5245

10 years agoIncrease default work queue size.
Gunnar Beutner [Fri, 29 Nov 2013 14:27:11 +0000 (15:27 +0100)]
Increase default work queue size.

Fixes #5244

10 years agoFix indentation in CompatUtility::GetServiceNotification*
Gunnar Beutner [Fri, 29 Nov 2013 11:28:17 +0000 (12:28 +0100)]
Fix indentation in CompatUtility::GetServiceNotification*

Fixes #5242

10 years agoImplement include_recursive config directive.
Gunnar Beutner [Fri, 29 Nov 2013 09:39:48 +0000 (10:39 +0100)]
Implement include_recursive config directive.

Fixes #5238

10 years agoDocumentation: Fix service dependency example.
Michael Friedrich [Fri, 29 Nov 2013 08:42:55 +0000 (09:42 +0100)]
Documentation: Fix service dependency example.

Fixes #5243

10 years agoFix initial check schedule.
Gunnar Beutner [Thu, 28 Nov 2013 19:56:21 +0000 (20:56 +0100)]
Fix initial check schedule.

Fixes #5240

10 years agoFix deadlock when rescheduling checks.
Gunnar Beutner [Thu, 28 Nov 2013 19:55:10 +0000 (20:55 +0100)]
Fix deadlock when rescheduling checks.

Fixes #5092

10 years agoAdd generic-user template.
Michael Friedrich [Thu, 28 Nov 2013 14:17:39 +0000 (15:17 +0100)]
Add generic-user template.

Fixes #5236

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
10 years agoRenice child processes.
Gunnar Beutner [Thu, 28 Nov 2013 14:15:28 +0000 (15:15 +0100)]
Renice child processes.

Fixes #5237

10 years agoMerge branch 'feature/fix-ido-queries-5235' into next
Gunnar Beutner [Thu, 28 Nov 2013 11:33:25 +0000 (12:33 +0100)]
Merge branch 'feature/fix-ido-queries-5235' into next

Fixes #5235

10 years agoImplement workqueue statistics.
Gunnar Beutner [Thu, 28 Nov 2013 11:12:24 +0000 (12:12 +0100)]
Implement workqueue statistics.

Refs #5235

10 years agoImprove IDO query performance.
Gunnar Beutner [Thu, 28 Nov 2013 11:12:10 +0000 (12:12 +0100)]
Improve IDO query performance.

Refs #5235

10 years agoRemove unnecessary host config update.
Gunnar Beutner [Thu, 28 Nov 2013 09:37:22 +0000 (10:37 +0100)]
Remove unnecessary host config update.

Refs #5235

10 years agoMake sure IDO reconnect attempts don't recurse.
Gunnar Beutner [Thu, 28 Nov 2013 09:36:43 +0000 (10:36 +0100)]
Make sure IDO reconnect attempts don't recurse.

Refs #5235

10 years agoFix command name with special chars not being migrated.
Michael Friedrich [Wed, 27 Nov 2013 14:03:55 +0000 (15:03 +0100)]
Fix command name with special chars not being migrated.

Fixes #5234

10 years agoDebian: doing cmake before clean to include icinga-version.h.
Markus Frosch [Wed, 27 Nov 2013 13:55:14 +0000 (14:55 +0100)]
Debian: doing cmake before clean to include icinga-version.h.

Fixes #5233

10 years agoFix some more RPM warnings.
Gunnar Beutner [Wed, 27 Nov 2013 13:10:46 +0000 (14:10 +0100)]
Fix some more RPM warnings.

Fixes #5231

10 years agoMigration: Fix timeperiod object name stripping.
Michael Friedrich [Wed, 27 Nov 2013 12:25:00 +0000 (13:25 +0100)]
Migration: Fix timeperiod object name stripping.

Fixes #5230

10 years agoMake object, type and variable names case-sensitive.
Gunnar Beutner [Wed, 27 Nov 2013 11:23:27 +0000 (12:23 +0100)]
Make object, type and variable names case-sensitive.

Fixes #5228

10 years agoAdd sysconf dir to the version info message.
Gunnar Beutner [Wed, 27 Nov 2013 10:47:14 +0000 (11:47 +0100)]
Add sysconf dir to the version info message.

Refs #5224

10 years agoFix icinga-version.h in dist tarballs.
Gunnar Beutner [Wed, 27 Nov 2013 09:35:48 +0000 (10:35 +0100)]
Fix icinga-version.h in dist tarballs.

Fixes #5226

10 years agoMerge branch 'feature/mail-notifications-5224' into next
Gunnar Beutner [Wed, 27 Nov 2013 09:26:50 +0000 (10:26 +0100)]
Merge branch 'feature/mail-notifications-5224' into next

Fixes #5224

10 years agoUse a shell script for the mail-service-notification command.
Gunnar Beutner [Wed, 27 Nov 2013 08:45:04 +0000 (09:45 +0100)]
Use a shell script for the mail-service-notification command.

Refs #5224

10 years agoImplement IcingaSysconfDir variable.
Gunnar Beutner [Wed, 27 Nov 2013 08:23:30 +0000 (09:23 +0100)]
Implement IcingaSysconfDir variable.

Refs #5224

10 years agoMerge branch 'feature/vagrant-test-4635' into next
Gunnar Beutner [Tue, 26 Nov 2013 17:52:29 +0000 (18:52 +0100)]
Merge branch 'feature/vagrant-test-4635' into next

Fixes #4635

10 years agoImprove bug messages.
Gunnar Beutner [Fri, 15 Nov 2013 08:04:39 +0000 (09:04 +0100)]
Improve bug messages.

Refs #4635

10 years agoRemove unused file.
Gunnar Beutner [Fri, 15 Nov 2013 08:04:29 +0000 (09:04 +0100)]
Remove unused file.

Refs #4635