Michael Friedrich
9a21af719d
CompatLog: Fix downtimes.
...
fixes #4652
2013-09-17 19:40:23 +02:00
Michael Friedrich
bcc370b82c
Add RemoveDowntime() cancelled parameter, check for expired/triggered downtimes.
...
refs #4652
refs #4710
2013-09-17 19:37:10 +02:00
Michael Friedrich
501d18cf2b
Remove obsolete comment.
2013-09-17 16:55:29 +02:00
Michael Friedrich
2379a37011
ido: Fix missing TriggerDowntime() queries.
...
fixes #4651
2013-09-17 16:52:53 +02:00
Gunnar Beutner
64cc137709
cluster: Fix default privileges.
2013-09-17 15:57:11 +02:00
Michael Friedrich
4dbc1f993b
ido: Fix downtimes/comments removal.
...
fixes #4651
2013-09-17 15:31:08 +02:00
Gunnar Beutner
48ec2dfd08
cluster: Log ignored messages.
2013-09-17 14:58:52 +02:00
Gunnar Beutner
74579fba59
Update log level for a debug message.
2013-09-17 14:39:43 +02:00
Gunnar Beutner
2c17affa4a
Remove debug code
2013-09-17 14:38:27 +02:00
Gunnar Beutner
20ac2825e9
cluster: Fix deadlock.
2013-09-17 14:32:37 +02:00
Gunnar Beutner
fa52d0ab58
Enable cluster debugging.
2013-09-17 14:21:45 +02:00
Gunnar Beutner
3ed7219fb2
cluster: Implement domain ACL checks.
2013-09-17 13:24:08 +02:00
Gunnar Beutner
31a55987e5
cluster: Implement domain support.
2013-09-17 13:18:40 +02:00
Michael Friedrich
1538579c66
Config Conversion: Detect hosts w/o services and properly add hostcheck.
...
it's ugly but it works. requires code refactoring.
2013-09-16 14:57:12 +02:00
Michael Friedrich
374b37077f
Config Conversion: Add proper check_command detection in templates.
2013-09-16 14:05:41 +02:00
Gunnar Beutner
2739d5e0cd
cluster: Remove old logs before reconnecting.
2013-09-16 14:01:24 +02:00
Gunnar Beutner
0188c426fe
Change log level for a debug message.
2013-09-16 12:27:25 +02:00
Gunnar Beutner
e391fc0858
Fix: Cluster log files were not properly removed when an instance has no peers.
2013-09-16 11:08:13 +02:00
Gunnar Beutner
5495b0279e
Add debug message.
2013-09-16 11:06:21 +02:00
Gunnar Beutner
e383a3cc3e
cluster: Re-open logfile after log replay.
2013-09-16 10:06:09 +02:00
Gunnar Beutner
235efa107b
cluster: Yet another fix.
2013-09-16 10:00:06 +02:00
Gunnar Beutner
790ccc1079
cluster: Another log replay fix.
2013-09-16 09:57:30 +02:00
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