Commit Graph

2732 Commits

Author SHA1 Message Date
Gunnar Beutner 3d7c103035 Fix deadlock in ServiceDbConnect::Add{Comments,Downtimes}.
Fixes #5286
2013-12-09 13:22:50 +01:00
Gunnar Beutner 03a0815357 Fix syntax error in mail-notification.sh.
Fixes #5285
2013-12-09 13:03:08 +01:00
Gunnar Beutner ab2e1e99e2 ScriptVariableRegistry::GetInstance should not be defined inline.
Fixes #5284
2013-12-09 12:26:25 +01:00
Gunnar Beutner 5e9ce84c17 Fix duplicate IDs in queries for comments/downtimes.
Fixes #5283
2013-12-09 12:22:54 +01:00
Gunnar Beutner 0b41af7639 Just write objects.cache file once.
Fixes #5270
2013-12-09 10:27:45 +01:00
Gunnar Beutner 203cf73bf7 Improve error messages for the check result reader.
Fixes #5275
2013-12-09 09:52:09 +01:00
Gunnar Beutner 3b99dc1e84 Fix incorrect value for the triggered_by_id column.
Fixes #5279
2013-12-09 09:22:04 +01:00
Markus Frosch 9bee1aaef6 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
2013-12-06 20:04:07 +01:00
Gunnar Beutner 41ded2858c Implement scheduled downtimes.
Fixes #3584
2013-12-06 13:45:18 +01:00
Michael Friedrich 99f2b0673e RPM: Don't re-enable disabled features on update, proper remove on uninstall.
Fixes #5267
2013-12-05 13:15:44 +01:00
Gunnar Beutner 5e95dd71be Merge branch 'feature/timeperiod-fixes-5268' into next
Fixes #5268
2013-12-05 12:32:06 +01:00
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