Gunnar Beutner
644716fb1f
cluster: Don't replay log messages twice.
2013-09-16 09:49:28 +02:00
Gunnar Beutner
e1b8e1180c
cluster: Make log replays non-blocking.
2013-09-16 09:30:31 +02:00
Gunnar Beutner
21c35aabf4
Fix logging performance problem.
2013-09-16 08:59:28 +02:00
Gunnar Beutner
aba260e695
Set group before user.
2013-09-15 10:32:55 +02:00
Gunnar Beutner
12ebf48b0e
Implement setgid/setuid support.
...
Fixes #3841
2013-09-15 10:28:54 +02:00
Gunnar Beutner
d38c8ab0bb
config: Fix arguments for hostchecks.
2013-09-13 13:48:41 +02:00
Gunnar Beutner
de2a0aaea1
config: Fix attribute lookup functions.
2013-09-13 13:32:42 +02:00
Gunnar Beutner
e0d5e2bf93
config: Temporarily set hostname for services.
2013-09-13 13:05:55 +02:00
Gunnar Beutner
4fdab9e2ac
config: Fix looking up host custom attributes.
2013-09-13 12:36:49 +02:00
Gunnar Beutner
2b97884201
config: Fix resolving macros in command arguments.
2013-09-13 12:32:38 +02:00
Gunnar Beutner
8c7d50eef3
cluster: Make the feature checks more robust.
2013-09-13 09:58:39 +02:00
Michael Friedrich
2d991703d6
Config Conversion: Fix global macros requiring escape_str() call.
...
fixes #4703
2013-09-13 09:56:25 +02:00
Gunnar Beutner
7827d14ece
config: Fix += { }.
2013-09-13 09:51:13 +02:00
Gunnar Beutner
eb43cc3101
Fix custom macros.
2013-09-13 09:45:24 +02:00
Gunnar Beutner
6a40fe7a40
Convert custom attributes to macros.
2013-09-13 09:28:32 +02:00
Gunnar Beutner
68ec21f13f
cluster: Another fix for authority checks.
2013-09-13 07:50:23 +02:00
Michael Friedrich
cc1dbbca0b
Config Conversion: Object macros start with name.
...
refs #4700
2013-09-12 20:24:13 +02:00
Michael Friedrich
a5fe44b81f
Config Conversion: Treat command arg macros directly as object macros
...
- if detected, they will be replaced with their real name on the command
line (instead of $ARGn$)
- if macro is resolvable, its value will be added to the macro
dictionary
- if macro is not resolvable, it will be skipped and left for the core
to resolve the macro on runtime.
caveat: getting host/service attributes requires lookups from the object
into the template tree, as well as host macros on services a search on
the host object itsself.
note: macro resolver is rudimentary implemented. there's space for more
detailed if-macro-name-is-then-return-attribute-abc. main problem are
the missing underscores in macro names, but not in attributes (what the
...?).
fixes #4700
2013-09-12 20:13:28 +02:00
Michael Friedrich
f1e1a716d3
Config Conversion: Update sample icinga2 config.
...
refs #4701
2013-09-12 18:42:01 +02:00
Michael Friedrich
f91c64098b
Config Conversion: Fix import removing inline comments after ';' and '#'.
...
fixes #4499
2013-09-12 18:41:18 +02:00
Michael Friedrich
c9497367d2
Config Conversion: Make ADMIN/USER macros global again (in resource.conf)
...
refs #4701
2013-09-12 18:41:18 +02:00
Michael Friedrich
2e4a37b297
Config Conversion: s/user_macros/global_macros/g
2013-09-12 18:41:18 +02:00
Michael Friedrich
c8b9fce0bc
Config Conversion: introduce resource.conf with global macros
...
refs #4701
2013-09-12 18:41:18 +02:00
Gunnar Beutner
2b9568fbd5
cluster: Fix cleaning up old log files.
2013-09-12 18:08:06 +02:00
Gunnar Beutner
b887b558bc
Ignore check results if we have a local result that's newer.
2013-09-12 17:39:29 +02:00
Gunnar Beutner
cbc53db5c1
checker: Fix incorrect wait time when first service is non-authoritative.
2013-09-12 16:36:18 +02:00
Gunnar Beutner
eb7d9e96f8
Make sure the next check timestamp can't be in the past.
2013-09-12 15:47:45 +02:00
Gunnar Beutner
6698d09a72
cluster: More delegation bugfixes.
2013-09-12 15:38:01 +02:00
Gunnar Beutner
7bc99d3860
checker: Fix waiting for non-authoritative checks.
2013-09-12 15:31:07 +02:00
Gunnar Beutner
5cdf08c371
Fix crash in ClusterComponent::CheckAuthorityHandler.
2013-09-12 15:22:21 +02:00
Gunnar Beutner
91aad7c997
checker: Make sure non-authoritative cluster instances don't reschedule checks.
2013-09-12 15:20:01 +02:00
Gunnar Beutner
b510545d4d
Fix delegation bug.
2013-09-12 15:12:19 +02:00
Gunnar Beutner
4e54a96880
Add missing lock.
2013-09-12 15:07:37 +02:00
Gunnar Beutner
0c64ea7f88
Remove obsolete code.
2013-09-12 14:12:36 +02:00
Gunnar Beutner
102127fd5e
config: Copy authority information into dependant services.
2013-09-12 13:08:37 +02:00
Gunnar Beutner
e26e018df8
ido: Set m_Connected to false in Stop().
2013-09-12 11:37:58 +02:00
Gunnar Beutner
f418db79d7
Make sure the check latency can't be negative.
2013-09-12 11:36:31 +02:00
Gunnar Beutner
eb20b7e33e
Update test check output.
2013-09-12 10:36:50 +02:00
Gunnar Beutner
50d506dfd7
Add check output for NullCheck.
2013-09-12 10:31:41 +02:00
Michael Friedrich
66d00d25bc
ido: Fix timeperioddbobject lock.
2013-09-12 10:30:28 +02:00
Gunnar Beutner
5ce38cbee6
cluster: Update endpoints' features for heartbeat messages.
2013-09-12 10:22:03 +02:00
Gunnar Beutner
3b1b9d1274
Refactor authority checks a bit.
2013-09-12 10:17:14 +02:00
Gunnar Beutner
95909d82fe
cluster: Implement authority checks.
2013-09-12 10:04:04 +02:00
Gunnar Beutner
8a1293f750
Improve error messages for socket error.
2013-09-12 07:50:09 +02:00
Gunnar Beutner
2b23c66ac8
Fix bug which causes timeperiods not to be updated.
2013-09-12 07:13:36 +02:00
Gunnar Beutner
4c23245898
Re-enable TLS compression (again).
2013-09-11 17:12:28 +02:00
Gunnar Beutner
a831a15f52
cluster: Prevent idle timeout during log replay.
2013-09-11 17:07:07 +02:00
Gunnar Beutner
7961dc4e78
Remove DynamicObject::Start call.
2013-09-11 15:38:04 +02:00
Gunnar Beutner
e3dba08d6a
Update example config.
2013-09-11 15:00:06 +02:00
Gunnar Beutner
4b6d8943fa
Fix crash in MacroProcessor::ResolveMacros.
2013-09-11 14:59:49 +02:00