]> granicus.if.org Git - icinga2/log
icinga2
11 years agocluster: Fix cleaning up old log files.
Gunnar Beutner [Thu, 12 Sep 2013 16:08:06 +0000 (18:08 +0200)]
cluster: Fix cleaning up old log files.

11 years agoIgnore check results if we have a local result that's newer.
Gunnar Beutner [Thu, 12 Sep 2013 15:39:29 +0000 (17:39 +0200)]
Ignore check results if we have a local result that's newer.

11 years agochecker: Fix incorrect wait time when first service is non-authoritative.
Gunnar Beutner [Thu, 12 Sep 2013 14:36:18 +0000 (16:36 +0200)]
checker: Fix incorrect wait time when first service is non-authoritative.

11 years agoMake sure the next check timestamp can't be in the past.
Gunnar Beutner [Thu, 12 Sep 2013 13:47:45 +0000 (15:47 +0200)]
Make sure the next check timestamp can't be in the past.

11 years agocluster: More delegation bugfixes.
Gunnar Beutner [Thu, 12 Sep 2013 13:38:01 +0000 (15:38 +0200)]
cluster: More delegation bugfixes.

11 years agochecker: Fix waiting for non-authoritative checks.
Gunnar Beutner [Thu, 12 Sep 2013 13:31:07 +0000 (15:31 +0200)]
checker: Fix waiting for non-authoritative checks.

11 years agoFix crash in ClusterComponent::CheckAuthorityHandler.
Gunnar Beutner [Thu, 12 Sep 2013 13:22:21 +0000 (15:22 +0200)]
Fix crash in ClusterComponent::CheckAuthorityHandler.

11 years agochecker: Make sure non-authoritative cluster instances don't reschedule checks.
Gunnar Beutner [Thu, 12 Sep 2013 13:20:01 +0000 (15:20 +0200)]
checker: Make sure non-authoritative cluster instances don't reschedule checks.

11 years agoFix delegation bug.
Gunnar Beutner [Thu, 12 Sep 2013 13:12:19 +0000 (15:12 +0200)]
Fix delegation bug.

11 years agoAdd missing lock.
Gunnar Beutner [Thu, 12 Sep 2013 13:07:37 +0000 (15:07 +0200)]
Add missing lock.

11 years agoRemove obsolete code.
Gunnar Beutner [Thu, 12 Sep 2013 12:12:36 +0000 (14:12 +0200)]
Remove obsolete code.

11 years agoconfig: Copy authority information into dependant services.
Gunnar Beutner [Thu, 12 Sep 2013 11:08:37 +0000 (13:08 +0200)]
config: Copy authority information into dependant services.

11 years agoido: Set m_Connected to false in Stop().
Gunnar Beutner [Thu, 12 Sep 2013 09:37:58 +0000 (11:37 +0200)]
ido: Set m_Connected to false in Stop().

11 years agoMake sure the check latency can't be negative.
Gunnar Beutner [Thu, 12 Sep 2013 09:36:31 +0000 (11:36 +0200)]
Make sure the check latency can't be negative.

11 years agoUpdate test check output.
Gunnar Beutner [Thu, 12 Sep 2013 08:36:50 +0000 (10:36 +0200)]
Update test check output.

11 years agoAdd check output for NullCheck.
Gunnar Beutner [Thu, 12 Sep 2013 08:31:41 +0000 (10:31 +0200)]
Add check output for NullCheck.

11 years agoido: Fix timeperioddbobject lock.
Michael Friedrich [Thu, 12 Sep 2013 08:30:28 +0000 (10:30 +0200)]
ido: Fix timeperioddbobject lock.

11 years agocluster: Update endpoints' features for heartbeat messages.
Gunnar Beutner [Thu, 12 Sep 2013 08:22:03 +0000 (10:22 +0200)]
cluster: Update endpoints' features for heartbeat messages.

11 years agoRefactor authority checks a bit.
Gunnar Beutner [Thu, 12 Sep 2013 08:17:14 +0000 (10:17 +0200)]
Refactor authority checks a bit.

11 years agocluster: Implement authority checks.
Gunnar Beutner [Thu, 12 Sep 2013 08:03:48 +0000 (10:03 +0200)]
cluster: Implement authority checks.

11 years agoImprove error messages for socket error.
Gunnar Beutner [Thu, 12 Sep 2013 05:50:09 +0000 (07:50 +0200)]
Improve error messages for socket error.

11 years agoFix bug which causes timeperiods not to be updated.
Gunnar Beutner [Thu, 12 Sep 2013 05:13:36 +0000 (07:13 +0200)]
Fix bug which causes timeperiods not to be updated.

11 years agoRe-enable TLS compression (again).
Gunnar Beutner [Wed, 11 Sep 2013 15:12:28 +0000 (17:12 +0200)]
Re-enable TLS compression (again).

11 years agocluster: Prevent idle timeout during log replay.
Gunnar Beutner [Wed, 11 Sep 2013 15:07:07 +0000 (17:07 +0200)]
cluster: Prevent idle timeout during log replay.

11 years agoRemove DynamicObject::Start call.
Gunnar Beutner [Wed, 11 Sep 2013 13:38:04 +0000 (15:38 +0200)]
Remove DynamicObject::Start call.

11 years agoUpdate example config.
Gunnar Beutner [Wed, 11 Sep 2013 13:00:06 +0000 (15:00 +0200)]
Update example config.

11 years agoFix crash in MacroProcessor::ResolveMacros.
Gunnar Beutner [Wed, 11 Sep 2013 12:59:49 +0000 (14:59 +0200)]
Fix crash in MacroProcessor::ResolveMacros.

11 years agoido: Object map should not be static.
Gunnar Beutner [Wed, 11 Sep 2013 10:47:49 +0000 (12:47 +0200)]
ido: Object map should not be static.

11 years agoThreadPool: Add missing lock.
Gunnar Beutner [Wed, 11 Sep 2013 08:42:36 +0000 (10:42 +0200)]
ThreadPool: Add missing lock.

11 years agoido: Fix initialization order bug.
Gunnar Beutner [Wed, 11 Sep 2013 08:28:47 +0000 (10:28 +0200)]
ido: Fix initialization order bug.

11 years agocluster: Fix another reconnect bug.
Gunnar Beutner [Wed, 11 Sep 2013 08:21:43 +0000 (10:21 +0200)]
cluster: Fix another reconnect bug.

11 years agocluster: Fix reconnect bug.
Gunnar Beutner [Wed, 11 Sep 2013 08:15:59 +0000 (10:15 +0200)]
cluster: Fix reconnect bug.

11 years agoFix crash in Endpoint::MessageThreadProc.
Gunnar Beutner [Wed, 11 Sep 2013 07:44:23 +0000 (09:44 +0200)]
Fix crash in Endpoint::MessageThreadProc.

11 years agoBuild fix.
Gunnar Beutner [Wed, 11 Sep 2013 07:42:06 +0000 (09:42 +0200)]
Build fix.

11 years agocluster: Heartbeat messages should include the endpoint's features.
Gunnar Beutner [Wed, 11 Sep 2013 07:40:29 +0000 (09:40 +0200)]
cluster: Heartbeat messages should include the endpoint's features.

11 years agocluster: Fix idle timeout.
Gunnar Beutner [Wed, 11 Sep 2013 07:18:15 +0000 (09:18 +0200)]
cluster: Fix idle timeout.

11 years agocluster: Fix heartbeat messages.
Gunnar Beutner [Wed, 11 Sep 2013 07:09:04 +0000 (09:09 +0200)]
cluster: Fix heartbeat messages.

11 years agocluster: Don't try to reconnect while we're replaying the log.
Gunnar Beutner [Wed, 11 Sep 2013 07:01:00 +0000 (09:01 +0200)]
cluster: Don't try to reconnect while we're replaying the log.

11 years agoRevert "Revert "Enable TLS compression.""
Gunnar Beutner [Wed, 11 Sep 2013 06:52:47 +0000 (08:52 +0200)]
Revert "Revert "Enable TLS compression.""

This reverts commit 1a9c4b6a37feaf4ed9569589b3f51d43766a6784.

11 years agoRevert "Enable TLS compression."
Gunnar Beutner [Wed, 11 Sep 2013 05:53:41 +0000 (07:53 +0200)]
Revert "Enable TLS compression."

This reverts commit b95d0d326464609efc2cf2f502afad5e3250a2f8.

11 years agoRevert "Revert "cluster: Disconnect timed out endpoints.""
Gunnar Beutner [Wed, 11 Sep 2013 05:49:43 +0000 (07:49 +0200)]
Revert "Revert "cluster: Disconnect timed out endpoints.""

This reverts commit 0cab8827311db265a8458236ef97b3f9640e9ca8.

11 years agoEnable TLS compression.
Gunnar Beutner [Wed, 11 Sep 2013 05:48:47 +0000 (07:48 +0200)]
Enable TLS compression.

11 years agoAnother init fix.
Gunnar Beutner [Tue, 10 Sep 2013 14:59:00 +0000 (16:59 +0200)]
Another init fix.

11 years agoFix object initialization order.
Gunnar Beutner [Tue, 10 Sep 2013 14:53:11 +0000 (16:53 +0200)]
Fix object initialization order.

11 years agoRefactor how Application objects work.
Gunnar Beutner [Tue, 10 Sep 2013 14:03:36 +0000 (16:03 +0200)]
Refactor how Application objects work.

11 years agoConfig Conversion: Skip ARGn macros on Command object export.
Michael Friedrich [Tue, 10 Sep 2013 12:04:18 +0000 (14:04 +0200)]
Config Conversion: Skip ARGn macros on Command object export.

11 years agoConfig Conversion: Fix output header.
Michael Friedrich [Tue, 10 Sep 2013 11:54:14 +0000 (13:54 +0200)]
Config Conversion: Fix output header.

11 years agoConfig Conversion: Check that icinga.cfg is passed via -c option.
Michael Friedrich [Tue, 10 Sep 2013 09:25:10 +0000 (11:25 +0200)]
Config Conversion: Check that icinga.cfg is passed via -c option.

11 years agoDon't copy macros / custom attributes to services.
Gunnar Beutner [Tue, 10 Sep 2013 08:54:23 +0000 (10:54 +0200)]
Don't copy macros / custom attributes to services.

11 years agoRevert "convert: Use += for macros and custom attributes."
Gunnar Beutner [Tue, 10 Sep 2013 08:54:17 +0000 (10:54 +0200)]
Revert "convert: Use += for macros and custom attributes."

This reverts commit ff6453cfa18cc42be0a3306df6ae913a564db005.

11 years agoconvert: Use += for macros and custom attributes.
Gunnar Beutner [Tue, 10 Sep 2013 08:47:38 +0000 (10:47 +0200)]
convert: Use += for macros and custom attributes.

11 years agolivestatus: Fix macro priority.
Gunnar Beutner [Tue, 10 Sep 2013 08:37:30 +0000 (10:37 +0200)]
livestatus: Fix macro priority.

11 years agoFix macro priority.
Gunnar Beutner [Tue, 10 Sep 2013 08:33:15 +0000 (10:33 +0200)]
Fix macro priority.

11 years agoConfig Conversion: Treat notification option 'r' as StateFilterOK.
Michael Friedrich [Tue, 10 Sep 2013 08:28:37 +0000 (10:28 +0200)]
Config Conversion: Treat notification option 'r' as StateFilterOK.

11 years agocluster: Avoid unnecessary SetForceNextCheck messages.
Gunnar Beutner [Tue, 10 Sep 2013 07:26:46 +0000 (09:26 +0200)]
cluster: Avoid unnecessary SetForceNextCheck messages.

11 years agoido: Clean up obsolete handlers.
Gunnar Beutner [Mon, 9 Sep 2013 13:54:32 +0000 (15:54 +0200)]
ido: Clean up obsolete handlers.

11 years agoido: Fix timeperiods with more than one segment.
Gunnar Beutner [Mon, 9 Sep 2013 13:54:19 +0000 (15:54 +0200)]
ido: Fix timeperiods with more than one segment.

11 years agoFix null ptr for Application::GetInstance().
Gunnar Beutner [Mon, 9 Sep 2013 12:09:33 +0000 (14:09 +0200)]
Fix null ptr for Application::GetInstance().

11 years agoFix: Add missing locks.
Michael Friedrich [Mon, 9 Sep 2013 11:52:37 +0000 (13:52 +0200)]
Fix: Add missing locks.

11 years agoFix: Don't shell-escape macros by default.
Gunnar Beutner [Mon, 9 Sep 2013 11:44:18 +0000 (13:44 +0200)]
Fix: Don't shell-escape macros by default.

11 years agocluster: Fix some bugs.
Gunnar Beutner [Mon, 9 Sep 2013 08:06:49 +0000 (10:06 +0200)]
cluster: Fix some bugs.

11 years agoBuild fix: Check if pthread_setname_np() is available.
Gunnar Beutner [Sun, 8 Sep 2013 11:13:37 +0000 (13:13 +0200)]
Build fix: Check if pthread_setname_np() is available.

11 years agoOnly do flapping updates when services are in a hard state.
Gunnar Beutner [Fri, 6 Sep 2013 13:29:00 +0000 (15:29 +0200)]
Only do flapping updates when services are in a hard state.

11 years agocluster: Rotate the log more frequently.
Gunnar Beutner [Fri, 6 Sep 2013 12:53:21 +0000 (14:53 +0200)]
cluster: Rotate the log more frequently.

11 years agocluster: Ignore old messages.
Gunnar Beutner [Fri, 6 Sep 2013 12:05:50 +0000 (14:05 +0200)]
cluster: Ignore old messages.

11 years agocluster: Fix handling messages that don't have a timestamp.
Gunnar Beutner [Fri, 6 Sep 2013 11:34:11 +0000 (13:34 +0200)]
cluster: Fix handling messages that don't have a timestamp.

11 years agocluster: Speed up log replays.
Gunnar Beutner [Fri, 6 Sep 2013 07:59:16 +0000 (09:59 +0200)]
cluster: Speed up log replays.

11 years agocluster: Fix acknowledgement bug.
Gunnar Beutner [Fri, 6 Sep 2013 07:01:34 +0000 (09:01 +0200)]
cluster: Fix acknowledgement bug.

11 years agocluster: Allow relaying config messages.
Gunnar Beutner [Fri, 6 Sep 2013 06:48:15 +0000 (08:48 +0200)]
cluster: Allow relaying config messages.

11 years agocluster: Implement processing config messages.
Gunnar Beutner [Thu, 5 Sep 2013 10:09:09 +0000 (12:09 +0200)]
cluster: Implement processing config messages.

11 years agoRemove unused field.
Gunnar Beutner [Thu, 5 Sep 2013 07:59:57 +0000 (09:59 +0200)]
Remove unused field.

11 years agocluster: Send config updates.
Gunnar Beutner [Wed, 4 Sep 2013 13:47:15 +0000 (15:47 +0200)]
cluster: Send config updates.

11 years agoFix: Host notifications should be added to the host check service instead of the...
Gunnar Beutner [Wed, 4 Sep 2013 08:43:14 +0000 (10:43 +0200)]
Fix: Host notifications should be added to the host check service instead of the host

Fixes #4674

11 years agoRevert "cluster: Disconnect timed out endpoints."
Gunnar Beutner [Tue, 3 Sep 2013 15:04:13 +0000 (17:04 +0200)]
Revert "cluster: Disconnect timed out endpoints."

This reverts commit 1f74139ab4667b1dd71dd35d40097caa447069fa.

11 years agocluster: Disconnect timed out endpoints.
Gunnar Beutner [Tue, 3 Sep 2013 14:51:49 +0000 (16:51 +0200)]
cluster: Disconnect timed out endpoints.

11 years agocluster: Rotate the log file when Icinga is started.
Gunnar Beutner [Tue, 3 Sep 2013 13:56:48 +0000 (15:56 +0200)]
cluster: Rotate the log file when Icinga is started.

11 years agobase: Don't set thread name for the first thread.
Gunnar Beutner [Tue, 3 Sep 2013 13:44:31 +0000 (15:44 +0200)]
base: Don't set thread name for the first thread.

11 years agocluster: Periodically clean up old log files.
Gunnar Beutner [Tue, 3 Sep 2013 13:23:47 +0000 (15:23 +0200)]
cluster: Periodically clean up old log files.

11 years agoRemove debug code.
Gunnar Beutner [Tue, 3 Sep 2013 12:10:57 +0000 (14:10 +0200)]
Remove debug code.

11 years agocluster: Compress log files.
Gunnar Beutner [Tue, 3 Sep 2013 12:05:03 +0000 (14:05 +0200)]
cluster: Compress log files.

11 years agocluster: Send SetLogPosition messages for all message types.
Gunnar Beutner [Tue, 3 Sep 2013 09:14:51 +0000 (11:14 +0200)]
cluster: Send SetLogPosition messages for all message types.

11 years agocluster: Fix crash bug.
Gunnar Beutner [Tue, 3 Sep 2013 09:00:57 +0000 (11:00 +0200)]
cluster: Fix crash bug.

11 years agocluster: Prevent message loops when replaying logs.
Gunnar Beutner [Tue, 3 Sep 2013 08:48:34 +0000 (10:48 +0200)]
cluster: Prevent message loops when replaying logs.

11 years agocluster: Make sure messages are processed in-order.
Gunnar Beutner [Tue, 3 Sep 2013 08:42:19 +0000 (10:42 +0200)]
cluster: Make sure messages are processed in-order.

11 years agocluster: Handle non-numeric log file names.
Gunnar Beutner [Tue, 3 Sep 2013 08:32:42 +0000 (10:32 +0200)]
cluster: Handle non-numeric log file names.

11 years agocluster: Don't replay logs unless they're relevant.
Gunnar Beutner [Tue, 3 Sep 2013 08:30:28 +0000 (10:30 +0200)]
cluster: Don't replay logs unless they're relevant.

11 years agocluster: Bugfix for the log timestamps.
Gunnar Beutner [Tue, 3 Sep 2013 08:12:07 +0000 (10:12 +0200)]
cluster: Bugfix for the log timestamps.

11 years agocluster: Fix how replaying old messages works.
Gunnar Beutner [Tue, 3 Sep 2013 08:08:02 +0000 (10:08 +0200)]
cluster: Fix how replaying old messages works.

11 years agojsonrpc: Disable debug output.
Gunnar Beutner [Mon, 2 Sep 2013 13:51:56 +0000 (15:51 +0200)]
jsonrpc: Disable debug output.

11 years agocluster: Implement persistent messages.
Gunnar Beutner [Mon, 2 Sep 2013 13:12:20 +0000 (15:12 +0200)]
cluster: Implement persistent messages.

11 years agoFix bug in the mutex gdb printer.
Gunnar Beutner [Mon, 2 Sep 2013 13:12:04 +0000 (15:12 +0200)]
Fix bug in the mutex gdb printer.

11 years agoAdd more unit tests for the Value class.
Gunnar Beutner [Mon, 2 Sep 2013 13:11:39 +0000 (15:11 +0200)]
Add more unit tests for the Value class.

11 years agoAdd more unit tests.
Gunnar Beutner [Mon, 2 Sep 2013 11:08:29 +0000 (13:08 +0200)]
Add more unit tests.

11 years agoFix incorrect indentation.
Gunnar Beutner [Mon, 2 Sep 2013 10:02:43 +0000 (12:02 +0200)]
Fix incorrect indentation.

11 years agoAdd more unit tests.
Gunnar Beutner [Mon, 2 Sep 2013 09:10:04 +0000 (11:10 +0200)]
Add more unit tests.

11 years agobase: Don't throw exception for valid netstrings.
Gunnar Beutner [Mon, 2 Sep 2013 09:09:29 +0000 (11:09 +0200)]
base: Don't throw exception for valid netstrings.

11 years agoFix grammar mistake.
Gunnar Beutner [Mon, 2 Sep 2013 08:53:01 +0000 (10:53 +0200)]
Fix grammar mistake.

11 years agoImplement more unit tests.
Gunnar Beutner [Mon, 2 Sep 2013 08:52:39 +0000 (10:52 +0200)]
Implement more unit tests.

11 years agoFix build warning.
Gunnar Beutner [Sun, 1 Sep 2013 04:04:23 +0000 (06:04 +0200)]
Fix build warning.

11 years agoWindows build fix.
Gunnar Beutner [Sun, 1 Sep 2013 04:01:27 +0000 (06:01 +0200)]
Windows build fix.