]> granicus.if.org Git - icinga2/log
icinga2
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.

11 years agoConfig Conversion: fix missing Command macros, avoid duplicates
Michael Friedrich [Fri, 30 Aug 2013 15:49:24 +0000 (17:49 +0200)]
Config Conversion: fix missing Command macros, avoid duplicates

11 years agoConfig Conversion: support $USERn$ and $ADMINx$ macros in Notification|EventCommand
Michael Friedrich [Fri, 30 Aug 2013 14:46:30 +0000 (16:46 +0200)]
Config Conversion: support $USERn$ and $ADMINx$ macros in Notification|EventCommand

11 years agoFix HOSTSTATE macro.
Gunnar Beutner [Fri, 30 Aug 2013 15:02:21 +0000 (17:02 +0200)]
Fix HOSTSTATE macro.

11 years agoBuild fix.
Gunnar Beutner [Fri, 30 Aug 2013 14:53:14 +0000 (16:53 +0200)]
Build fix.

11 years agoFix shell escaping in the macro processor.
Gunnar Beutner [Fri, 30 Aug 2013 14:52:13 +0000 (16:52 +0200)]
Fix shell escaping in the macro processor.

11 years agoConfig Conversion: Add ADMINPAGER|EMAIL as macros from icinga.cfg
Michael Friedrich [Fri, 30 Aug 2013 13:58:58 +0000 (15:58 +0200)]
Config Conversion: Add ADMINPAGER|EMAIL as macros from icinga.cfg

and fix multiple user macros too. and add NotificationFilterCustom by
default.

fixes #4662

11 years agoFix 'force' parameter for notifications.
Gunnar Beutner [Fri, 30 Aug 2013 13:56:03 +0000 (15:56 +0200)]
Fix 'force' parameter for notifications.

11 years agoFix incorrect parameter for OnNotificationSentChanged event.
Gunnar Beutner [Fri, 30 Aug 2013 13:36:13 +0000 (15:36 +0200)]
Fix incorrect parameter for OnNotificationSentChanged event.

11 years agoImplement CONTACTEMAIL and CONTACTPAGER macros.
Gunnar Beutner [Fri, 30 Aug 2013 13:16:25 +0000 (15:16 +0200)]
Implement CONTACTEMAIL and CONTACTPAGER macros.

11 years agoRegister service and notification objects.
Gunnar Beutner [Fri, 30 Aug 2013 13:09:42 +0000 (15:09 +0200)]
Register service and notification objects.

11 years agoImplement restarting Icinga.
Gunnar Beutner [Fri, 30 Aug 2013 12:27:24 +0000 (14:27 +0200)]
Implement restarting Icinga.

11 years agoconfig: Don't throw exception when file pattern doesn't match any files.
Gunnar Beutner [Fri, 30 Aug 2013 12:02:47 +0000 (14:02 +0200)]
config: Don't throw exception when file pattern doesn't match any files.

11 years agoImplement script variables IcingaPrefixDir, IcingaLocalStateDir, IcingaPkgLibDir...
Gunnar Beutner [Fri, 30 Aug 2013 10:04:24 +0000 (12:04 +0200)]
Implement script variables IcingaPrefixDir, IcingaLocalStateDir, IcingaPkgLibDir, IcingaPkgDataDir and IcingaStatePath.

11 years agocluster: Fix deadlock when reconnecting.
Gunnar Beutner [Fri, 30 Aug 2013 08:34:32 +0000 (10:34 +0200)]
cluster: Fix deadlock when reconnecting.

11 years agoImplement OS-specific support for thread names.
Gunnar Beutner [Fri, 30 Aug 2013 08:19:32 +0000 (10:19 +0200)]
Implement OS-specific support for thread names.

11 years agocluster: Send heartbeats.
Gunnar Beutner [Fri, 30 Aug 2013 07:34:58 +0000 (09:34 +0200)]
cluster: Send heartbeats.

11 years agocompat: Fix attribute name for hosts.
Gunnar Beutner [Thu, 29 Aug 2013 17:48:54 +0000 (19:48 +0200)]
compat: Fix attribute name for hosts.

11 years agoAnother bugfix for the event order.
Gunnar Beutner [Thu, 29 Aug 2013 17:25:34 +0000 (19:25 +0200)]
Another bugfix for the event order.

11 years agoFix order for startup events.
Gunnar Beutner [Thu, 29 Aug 2013 17:05:06 +0000 (19:05 +0200)]
Fix order for startup events.

11 years agoFix: State file doesn't work for generated service objects.
Gunnar Beutner [Thu, 29 Aug 2013 14:53:57 +0000 (16:53 +0200)]
Fix: State file doesn't work for generated service objects.

11 years agoBuild fix.
Gunnar Beutner [Thu, 29 Aug 2013 14:09:11 +0000 (16:09 +0200)]
Build fix.

11 years agoAdd log message to DynamicObject::RestoreObjects().
Gunnar Beutner [Thu, 29 Aug 2013 14:08:03 +0000 (16:08 +0200)]
Add log message to DynamicObject::RestoreObjects().

11 years agoIncrease minimum number of threads.
Gunnar Beutner [Thu, 29 Aug 2013 13:48:47 +0000 (15:48 +0200)]
Increase minimum number of threads.

11 years agoConfig Conversion: Skip user macros for non-command objects.
Michael Friedrich [Thu, 29 Aug 2013 13:22:52 +0000 (15:22 +0200)]
Config Conversion: Skip user macros for non-command objects.

11 years agoConfig Conversion: Detect user macros properly.
Michael Friedrich [Thu, 29 Aug 2013 12:59:46 +0000 (14:59 +0200)]
Config Conversion: Detect user macros properly.

11 years agoConfiguration: Remove 'local' identifier.
Michael Friedrich [Thu, 29 Aug 2013 12:50:27 +0000 (14:50 +0200)]
Configuration: Remove 'local' identifier.

11 years agoConfig Conversion: always add type NotificationFilterProblem.
Michael Friedrich [Thu, 29 Aug 2013 12:39:58 +0000 (14:39 +0200)]
Config Conversion: always add type NotificationFilterProblem.

11 years agoCheck if flapping is enabled.
Gunnar Beutner [Thu, 29 Aug 2013 12:13:18 +0000 (14:13 +0200)]
Check if flapping is enabled.

11 years agocluster: Fix duplicate acknowledgement comments.
Gunnar Beutner [Thu, 29 Aug 2013 12:01:40 +0000 (14:01 +0200)]
cluster: Fix duplicate acknowledgement comments.

11 years agoMerge remote-tracking branch 'origin/master'
Gunnar Beutner [Thu, 29 Aug 2013 11:49:28 +0000 (13:49 +0200)]
Merge remote-tracking branch 'origin/master'

11 years agoImplement cluster events for acknowledgements.
Gunnar Beutner [Thu, 29 Aug 2013 11:48:18 +0000 (13:48 +0200)]
Implement cluster events for acknowledgements.

11 years agoConfig Conversion: Fixes.
Michael Friedrich [Thu, 29 Aug 2013 11:14:59 +0000 (13:14 +0200)]
Config Conversion: Fixes.

refs #2743

11 years agoBuild fix.
Gunnar Beutner [Thu, 29 Aug 2013 11:09:26 +0000 (13:09 +0200)]
Build fix.

11 years agoImplement cluster events for notifications/flapping.
Gunnar Beutner [Thu, 29 Aug 2013 11:06:36 +0000 (13:06 +0200)]
Implement cluster events for notifications/flapping.

11 years agoImplement cluster event for SetForceNextNotification.
Gunnar Beutner [Thu, 29 Aug 2013 09:37:51 +0000 (11:37 +0200)]
Implement cluster event for SetForceNextNotification.

11 years agoFix state file functionality.
Gunnar Beutner [Thu, 29 Aug 2013 08:40:43 +0000 (10:40 +0200)]
Fix state file functionality.

11 years agoFix: ::Start must be called after restoring the state file.
Gunnar Beutner [Thu, 29 Aug 2013 08:17:12 +0000 (10:17 +0200)]
Fix: ::Start must be called after restoring the state file.

Fixes #4654

11 years agoFix deadlock in Service::RemoveDowntime().
Gunnar Beutner [Thu, 29 Aug 2013 07:36:44 +0000 (09:36 +0200)]
Fix deadlock in Service::RemoveDowntime().

11 years agoFix the ASSERT() macro.
Gunnar Beutner [Thu, 29 Aug 2013 07:04:33 +0000 (09:04 +0200)]
Fix the ASSERT() macro.

11 years agoFix "make dist".
Gunnar Beutner [Thu, 29 Aug 2013 06:37:31 +0000 (08:37 +0200)]
Fix "make dist".

Fixes #4489

11 years agoClean up Makefiles.
Gunnar Beutner [Thu, 29 Aug 2013 06:21:07 +0000 (08:21 +0200)]
Clean up Makefiles.

11 years agoRemove duplicate sentence from the README file.
Gunnar Beutner [Thu, 29 Aug 2013 05:37:34 +0000 (07:37 +0200)]
Remove duplicate sentence from the README file.

11 years agoUpdate icinga2.spec
Pall Sigurdsson [Wed, 28 Aug 2013 16:14:13 +0000 (16:14 +0000)]
Update icinga2.spec

Added several "BuildRequires" that were needed to make the build process work.

Also added a "sh autogen.sh" to the %build section, otherwise there is no ./configure to execute.

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
11 years agoRevert "make: mkembedconfig is required for 'dist'"
Michael Friedrich [Wed, 28 Aug 2013 16:09:20 +0000 (18:09 +0200)]
Revert "make: mkembedconfig is required for 'dist'"

This reverts commit 1e637dbbd40d1e64f32567cd44230980559b3a10.

11 years agoFix a grammar mistake in --help.
Gunnar Beutner [Wed, 28 Aug 2013 15:19:34 +0000 (17:19 +0200)]
Fix a grammar mistake in --help.

11 years agoBuild fix for --enable-debug.
Gunnar Beutner [Wed, 28 Aug 2013 14:49:58 +0000 (16:49 +0200)]
Build fix for --enable-debug.

11 years agomake: mkembedconfig is required for 'dist'
Michael Friedrich [Wed, 28 Aug 2013 13:56:54 +0000 (15:56 +0200)]
make: mkembedconfig is required for 'dist'

fixes #4489

11 years agoImplement cluster events for downtimes.
Gunnar Beutner [Wed, 28 Aug 2013 14:08:22 +0000 (16:08 +0200)]
Implement cluster events for downtimes.

11 years agoImplement cluster events for comments.
Gunnar Beutner [Wed, 28 Aug 2013 12:59:41 +0000 (14:59 +0200)]
Implement cluster events for comments.

11 years agoImplement some cluster events.
Gunnar Beutner [Wed, 28 Aug 2013 09:12:20 +0000 (11:12 +0200)]
Implement some cluster events.

11 years agoAdd error info for ftruncate() call.
Gunnar Beutner [Wed, 28 Aug 2013 08:48:19 +0000 (10:48 +0200)]
Add error info for ftruncate() call.

11 years agoRefactor ASSERT macro.
Gunnar Beutner [Wed, 28 Aug 2013 06:18:58 +0000 (08:18 +0200)]
Refactor ASSERT macro.

11 years agospec: Add TODO for el5 boost pkg.
Michael Friedrich [Tue, 27 Aug 2013 17:36:03 +0000 (19:36 +0200)]
spec: Add TODO for el5 boost pkg.

11 years agoBug fix for ThreadPool::KillWorker().
Gunnar Beutner [Tue, 27 Aug 2013 13:57:00 +0000 (15:57 +0200)]
Bug fix for ThreadPool::KillWorker().

11 years agoRefactor JSON-RPC library and implement check-result messages.
Gunnar Beutner [Tue, 27 Aug 2013 10:21:41 +0000 (12:21 +0200)]
Refactor JSON-RPC library and implement check-result messages.

11 years agoClean up JSON-RPC library.
Gunnar Beutner [Mon, 26 Aug 2013 14:53:17 +0000 (16:53 +0200)]
Clean up JSON-RPC library.

11 years agoRemove the replication feature and clean up the code.
Gunnar Beutner [Tue, 20 Aug 2013 09:06:04 +0000 (11:06 +0200)]
Remove the replication feature and clean up the code.

11 years agoWindows x64 build fix.
Michael Friedrich [Tue, 20 Aug 2013 10:50:24 +0000 (12:50 +0200)]
Windows x64 build fix.