Commit Graph

2771 Commits

Author SHA1 Message Date
Gunnar Beutner bb652ff335 Rename one of the example timeperiods.
Refs #5268
2013-12-05 12:30:39 +01:00
Gunnar Beutner e2941dbca8 Make sure that TimePeriod segments are being merged properly.
Refs #5268
2013-12-05 12:30:02 +01:00
Michael Friedrich fa14b39719 DB IDO: Fix reconnect config/status inserts.
Fixes #5266
2013-12-05 12:12:57 +01:00
Gunnar Beutner 6714796ecd Set rlimits in the Application class (rather than in the init script).
Fixes #5260
2013-12-05 11:11:03 +01:00
Gunnar Beutner 02e0933e7c Make status.dat/objects.cache interval configurable.
Fixes #5262
2013-12-05 10:04:49 +01:00
Gunnar Beutner aa4c2b9542 Add unit test for Stream::ReadLine.
Fixes #5077
2013-12-05 09:57:12 +01:00
Gunnar Beutner f67343967c Make ICINGA2_{USER,GROUP,COMMAND_USER,COMMAND_GROUP} variables overwritable.
Fixes #5257
2013-12-05 09:42:42 +01:00
Markus Frosch 751f3ad19b 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
2013-12-04 20:40:10 +01:00
Markus Frosch 2b7e8ed7ab 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
2013-12-04 19:50:10 +01:00
Markus Frosch 1399ac6047 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
2013-12-04 19:06:43 +01:00
Gunnar Beutner 2553287818 Merge branch 'feature/constants-4946' into next
Fixes #4946
2013-12-04 12:14:16 +01:00
Gunnar Beutner 7482548966 Fix: display_name property doesn't work for hosts.
Fixes #5258
2013-12-04 12:07:57 +01:00
Gunnar Beutner e540685e13 Implement support for constants in the config parser.
Refs #4946
2013-12-04 11:32:45 +01:00
Gunnar Beutner 25cece444d Remove Windows example config.
Refs #4946
2013-12-04 11:04:17 +01:00
Gunnar Beutner 30c989074b Implement support for making script variables constant.
Refs #4946
2013-12-04 10:41:26 +01:00
Gunnar Beutner c92625770c Fix leak in the config parser.
Refs #4946
2013-12-04 10:39:46 +01:00
Gunnar Beutner 6625346922 Speed up config compiler.
Fixes #5255
2013-12-03 09:59:21 +01:00
Michael Friedrich 08dc3398a9 Merge branch 'feature/release-0-0-5-5254' into next
Fixes #5254
2013-12-03 09:55:20 +01:00
Michael Friedrich 65481617d2 Clean up configs.
Refs #5254
2013-12-03 09:54:14 +01:00
Michael Friedrich 8a5fd83cd3 Update version to 0.0.5.
Refs #5254
2013-12-03 09:50:18 +01:00
Michael Friedrich d18a00e1e8 Update ChangeLog.
Refs #5254
2013-12-03 09:47:07 +01:00
Gunnar Beutner 77595f9b5a Add context information to PerfdataWriter::CheckResultHandler.
Fixes #4743
2013-12-02 13:34:23 +01:00
Gunnar Beutner 52d2066995 Avoid temporary String objects in PerfdataValue::Format.
Fixes #5248
2013-12-02 12:55:35 +01:00
Gunnar Beutner 2a761fb285 Merge branch 'feature/ido-performance-5246' into next
Fixes #5246
2013-12-02 11:44:21 +01:00
Gunnar Beutner 4648b82b33 Fix compiler warning for Utility::GlobRecursive.
Refs #5246
2013-12-02 11:18:16 +01:00
Gunnar Beutner 29f9117e58 Avoid using dynamic_pointer_cast when possible.
Refs #5246
2013-12-02 11:18:16 +01:00
Gunnar Beutner 954d2d53a2 Further decrease WQ lock contention.
Refs #5246
2013-12-02 11:18:16 +01:00
Gunnar Beutner 553bd3246b Improve compatibility with -fvisibility=hidden.
Refs #5246
2013-12-02 11:07:41 +01:00
Gunnar Beutner f05858d3ad Avoid unnecessary copies when iterating over dictionaries.
Refs #5246
2013-12-02 11:07:38 +01:00
Gunnar Beutner b6220c6ecf Change default build type to 'Release'.
Refs #5246
2013-12-02 08:40:00 +01:00
Gunnar Beutner 1c0f9fe9ac Fix WorkQueue lock contention.
Fixes #5245
2013-12-02 08:38:53 +01:00
Gunnar Beutner 9f7e5b1845 Fix compiler warning.
Refs #5245
2013-11-29 17:06:48 +01:00
Gunnar Beutner dd200d0937 Increase default work queue size.
Fixes #5244
2013-11-29 15:27:11 +01:00
Gunnar Beutner 6e84800538 Fix indentation in CompatUtility::GetServiceNotification*
Fixes #5242
2013-11-29 12:28:17 +01:00
Gunnar Beutner f8d2172c27 Implement include_recursive config directive.
Fixes #5238
2013-11-29 12:26:31 +01:00
Michael Friedrich 1b6637b981 Documentation: Fix service dependency example.
Fixes #5243
2013-11-29 09:42:55 +01:00
Gunnar Beutner cac4167e79 Fix initial check schedule.
Fixes #5240
2013-11-28 20:56:48 +01:00
Gunnar Beutner 48569b6205 Fix deadlock when rescheduling checks.
Fixes #5092
2013-11-28 20:56:48 +01:00
Michael Friedrich 1dbd689f9c Add generic-user template.
Fixes #5236

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2013-11-28 15:20:32 +01:00
Gunnar Beutner 4ffc22516a Renice child processes.
Fixes #5237
2013-11-28 15:15:28 +01:00
Gunnar Beutner 31c70fe5ae Merge branch 'feature/fix-ido-queries-5235' into next
Fixes #5235
2013-11-28 12:33:25 +01:00
Gunnar Beutner f9c53ad295 Implement workqueue statistics.
Refs #5235
2013-11-28 12:12:24 +01:00
Gunnar Beutner 85fec966b8 Improve IDO query performance.
Refs #5235
2013-11-28 12:12:10 +01:00
Gunnar Beutner 5daedd2dea Remove unnecessary host config update.
Refs #5235
2013-11-28 10:37:22 +01:00
Gunnar Beutner 6d53bd1c8f Make sure IDO reconnect attempts don't recurse.
Refs #5235
2013-11-28 10:36:43 +01:00
Michael Friedrich b67cf1f0cb Fix command name with special chars not being migrated.
Fixes #5234
2013-11-27 15:03:55 +01:00
Markus Frosch 29115f4fd3 Debian: doing cmake before clean to include icinga-version.h.
Fixes #5233
2013-11-27 14:55:14 +01:00
Gunnar Beutner 7d8733c033 Fix some more RPM warnings.
Fixes #5231
2013-11-27 14:43:11 +01:00
Michael Friedrich c25a7d580b Migration: Fix timeperiod object name stripping.
Fixes #5230
2013-11-27 13:25:00 +01:00
Gunnar Beutner 640136fbdb Make object, type and variable names case-sensitive.
Fixes #5228
2013-11-27 12:29:42 +01:00