]> granicus.if.org Git - icinga2/log
icinga2
11 years agoWindows build fix.
Gunnar Beutner [Sat, 2 Mar 2013 13:21:13 +0000 (14:21 +0100)]
Windows build fix.

11 years agoFixed deadlock in ConfigItem::Commit().
Gunnar Beutner [Sat, 2 Mar 2013 13:11:12 +0000 (14:11 +0100)]
Fixed deadlock in ConfigItem::Commit().

11 years agoMore lock refactoring. Yay.
Gunnar Beutner [Sat, 2 Mar 2013 08:07:47 +0000 (09:07 +0100)]
More lock refactoring. Yay.

11 years agoRefactored object locking code.
Gunnar Beutner [Fri, 1 Mar 2013 11:07:52 +0000 (12:07 +0100)]
Refactored object locking code.

11 years agoRemove compatido documentation.
Gunnar Beutner [Thu, 28 Feb 2013 13:24:19 +0000 (14:24 +0100)]
Remove compatido documentation.

11 years agoImplement support for deserializing JSON arrays.
Gunnar Beutner [Thu, 28 Feb 2013 13:06:30 +0000 (14:06 +0100)]
Implement support for deserializing JSON arrays.

11 years agoImplement the PerfdataWriter class.
Gunnar Beutner [Thu, 28 Feb 2013 10:45:47 +0000 (11:45 +0100)]
Implement the PerfdataWriter class.

11 years agoRemove the compatido component.
Gunnar Beutner [Thu, 28 Feb 2013 10:01:59 +0000 (11:01 +0100)]
Remove the compatido component.

11 years agoImplemented compat support for users and user groups.
Gunnar Beutner [Thu, 28 Feb 2013 09:50:20 +0000 (10:50 +0100)]
Implemented compat support for users and user groups.

11 years agoImplemented the LONGDATETIME, SHORTDATETIME, DATE and TIME macros.
Gunnar Beutner [Thu, 28 Feb 2013 09:27:33 +0000 (10:27 +0100)]
Implemented the LONGDATETIME, SHORTDATETIME, DATE and TIME macros.

11 years agoAdded missing object locks in the MacroProcessor class.
Gunnar Beutner [Thu, 28 Feb 2013 09:27:20 +0000 (10:27 +0100)]
Added missing object locks in the MacroProcessor class.

11 years agoFixed incorrect lock in Notification::BeginExecuteNotificationHelper().
Gunnar Beutner [Thu, 28 Feb 2013 09:26:53 +0000 (10:26 +0100)]
Fixed incorrect lock in Notification::BeginExecuteNotificationHelper().

11 years agoFix crash in Service::IsReachable().
Gunnar Beutner [Thu, 28 Feb 2013 09:26:33 +0000 (10:26 +0100)]
Fix crash in Service::IsReachable().

11 years agoBugfix: Output dummy check data for hosts that don't have a hostcheck.
Gunnar Beutner [Thu, 28 Feb 2013 09:26:01 +0000 (10:26 +0100)]
Bugfix: Output dummy check data for hosts that don't have a hostcheck.

11 years agoImplemented user groups.
Gunnar Beutner [Wed, 27 Feb 2013 20:49:03 +0000 (21:49 +0100)]
Implemented user groups.

11 years agoImplemented notification_interval attribute for hosts.
Gunnar Beutner [Wed, 27 Feb 2013 17:15:01 +0000 (18:15 +0100)]
Implemented notification_interval attribute for hosts.

11 years agoFixed reachability calculation for host checks.
Gunnar Beutner [Wed, 27 Feb 2013 16:20:22 +0000 (17:20 +0100)]
Fixed reachability calculation for host checks.

11 years agoFixed recovery notifications (again).
Gunnar Beutner [Wed, 27 Feb 2013 15:57:06 +0000 (16:57 +0100)]
Fixed recovery notifications (again).

11 years agoBug fixes for the new cache code.
Gunnar Beutner [Wed, 27 Feb 2013 15:04:49 +0000 (16:04 +0100)]
Bug fixes for the new cache code.

11 years agoRefactor the cache code... again.
Gunnar Beutner [Wed, 27 Feb 2013 14:23:25 +0000 (15:23 +0100)]
Refactor the cache code... again.

11 years agoMake the services/notifications caches thread safe.
Gunnar Beutner [Wed, 27 Feb 2013 11:44:51 +0000 (12:44 +0100)]
Make the services/notifications caches thread safe.
Send notifications based on the notification_interval setting.

11 years agoFixed notifications for hard recoveries.
Gunnar Beutner [Wed, 27 Feb 2013 05:50:39 +0000 (06:50 +0100)]
Fixed notifications for hard recoveries.

11 years agoImplemented support for disabling notifications.
Gunnar Beutner [Tue, 26 Feb 2013 11:37:25 +0000 (12:37 +0100)]
Implemented support for disabling notifications.

11 years agoExternal commands: Implemented some commands for host checks.
Gunnar Beutner [Tue, 26 Feb 2013 10:18:03 +0000 (11:18 +0100)]
External commands: Implemented some commands for host checks.

11 years agoFix deadlock in Service::BeginExecuteCheck().
Gunnar Beutner [Tue, 26 Feb 2013 09:58:59 +0000 (10:58 +0100)]
Fix deadlock in Service::BeginExecuteCheck().

11 years agoChecker: Use Ptrs rather than WeakPtrs.
Gunnar Beutner [Tue, 26 Feb 2013 09:58:32 +0000 (10:58 +0100)]
Checker: Use Ptrs rather than WeakPtrs.

Fixes #3732

11 years agoWindows build fix.
Gunnar Beutner [Tue, 26 Feb 2013 09:57:44 +0000 (10:57 +0100)]
Windows build fix.

11 years agoImplement GDB pretty printers for some Icinga types.
Gunnar Beutner [Tue, 26 Feb 2013 09:14:10 +0000 (10:14 +0100)]
Implement GDB pretty printers for some Icinga types.

11 years agoMake attribute lookups O(1).
Gunnar Beutner [Tue, 26 Feb 2013 09:13:54 +0000 (10:13 +0100)]
Make attribute lookups O(1).

11 years agoDon't use -fvisibility=hidden for debug builds.
Gunnar Beutner [Mon, 25 Feb 2013 07:58:44 +0000 (08:58 +0100)]
Don't use -fvisibility=hidden for debug builds.

11 years agoMake sure we don't block on write() while holding locks.
Gunnar Beutner [Sun, 24 Feb 2013 11:47:24 +0000 (12:47 +0100)]
Make sure we don't block on write() while holding locks.

11 years agoWindows build fixes.
Gunnar Beutner [Sun, 24 Feb 2013 07:52:09 +0000 (08:52 +0100)]
Windows build fixes.

11 years agoAdded some missing files.
Gunnar Beutner [Sun, 24 Feb 2013 07:27:00 +0000 (08:27 +0100)]
Added some missing files.

11 years agoImplemented the User class.
Gunnar Beutner [Sun, 24 Feb 2013 07:26:10 +0000 (08:26 +0100)]
Implemented the User class.

11 years agoFine-grained locks (WIP, Part 9).
Gunnar Beutner [Sun, 24 Feb 2013 00:10:34 +0000 (01:10 +0100)]
Fine-grained locks (WIP, Part 9).

11 years agoRemoved PCH support (as it's clearly not working properly).
Gunnar Beutner [Fri, 22 Feb 2013 07:12:43 +0000 (08:12 +0100)]
Removed PCH support (as it's clearly not working properly).

11 years agoFine-grained locks (WIP, Part 8).
Gunnar Beutner [Thu, 21 Feb 2013 15:12:50 +0000 (16:12 +0100)]
Fine-grained locks (WIP, Part 8).

11 years agoFine-grained locks (WIP, Part 7).
Gunnar Beutner [Wed, 20 Feb 2013 18:52:25 +0000 (19:52 +0100)]
Fine-grained locks (WIP, Part 7).

11 years agoFine-grained locks (WIP, Part 6).
Gunnar Beutner [Tue, 19 Feb 2013 22:02:08 +0000 (23:02 +0100)]
Fine-grained locks (WIP, Part 6).

11 years agoAdd -pthread to the LDFLAGS.
Gunnar Beutner [Tue, 19 Feb 2013 11:33:08 +0000 (12:33 +0100)]
Add -pthread to the LDFLAGS.

11 years agoFine-grained locks (WIP, Part 5).
Gunnar Beutner [Tue, 19 Feb 2013 11:17:31 +0000 (12:17 +0100)]
Fine-grained locks (WIP, Part 5).

11 years agoFine-grained locks (WIP, Part 4).
Gunnar Beutner [Tue, 19 Feb 2013 06:26:52 +0000 (07:26 +0100)]
Fine-grained locks (WIP, Part 4).

11 years agoFine-grained locks (WIP, Part 3).
Gunnar Beutner [Mon, 18 Feb 2013 22:44:24 +0000 (23:44 +0100)]
Fine-grained locks (WIP, Part 3).

11 years agoFine-grained locks (WIP, Part 2).
Gunnar Beutner [Mon, 18 Feb 2013 13:40:24 +0000 (14:40 +0100)]
Fine-grained locks (WIP, Part 2).

11 years agoFine-grained locks (WIP, Part 1).
Gunnar Beutner [Sun, 17 Feb 2013 18:14:34 +0000 (19:14 +0100)]
Fine-grained locks (WIP, Part 1).

11 years agoConfig: Implement here-document strings.
Gunnar Beutner [Sat, 16 Feb 2013 21:49:13 +0000 (22:49 +0100)]
Config: Implement here-document strings.

11 years agoImplemented escape characters in the config lexer.
Gunnar Beutner [Sat, 16 Feb 2013 18:12:56 +0000 (19:12 +0100)]
Implemented escape characters in the config lexer.

11 years agoBuild fix: --disable-python didn't work.
Gunnar Beutner [Sat, 16 Feb 2013 13:26:45 +0000 (14:26 +0100)]
Build fix: --disable-python didn't work.

11 years agoFix PythonLanguage::ExceptionInfoToString().
Gunnar Beutner [Sat, 16 Feb 2013 11:47:52 +0000 (12:47 +0100)]
Fix PythonLanguage::ExceptionInfoToString().

11 years agoPython: Add missing NULL sentinel in PyObject_CallFunctionObjArgs() call.
Gunnar Beutner [Sat, 16 Feb 2013 11:36:37 +0000 (12:36 +0100)]
Python: Add missing NULL sentinel in PyObject_CallFunctionObjArgs() call.

11 years agoPython: Fix --disable-shared.
Gunnar Beutner [Sat, 16 Feb 2013 11:36:25 +0000 (12:36 +0100)]
Python: Fix --disable-shared.

11 years agoPrint backtrace for Python exceptions.
Gunnar Beutner [Sat, 16 Feb 2013 10:28:34 +0000 (11:28 +0100)]
Print backtrace for Python exceptions.

11 years agoRemove method validator.
Gunnar Beutner [Sat, 16 Feb 2013 10:28:16 +0000 (11:28 +0100)]
Remove method validator.

11 years agoRedesign how templates are specified for slave services/notifications
Gunnar Beutner [Sat, 16 Feb 2013 08:28:05 +0000 (09:28 +0100)]
Redesign how templates are specified for slave services/notifications

Fixes #3706

11 years agoClean up the win32 config example.
Gunnar Beutner [Sat, 16 Feb 2013 08:20:45 +0000 (09:20 +0100)]
Clean up the win32 config example.

Fixes #3705

11 years agoImplement an alias for "abstract object".
Gunnar Beutner [Sat, 16 Feb 2013 08:18:34 +0000 (09:18 +0100)]
Implement an alias for "abstract object".

Fixes #3707

11 years agoPython: Implement support for dictionaries.
Gunnar Beutner [Sat, 16 Feb 2013 07:58:23 +0000 (08:58 +0100)]
Python: Implement support for dictionaries.

11 years agoException handling for Python function calls.
Gunnar Beutner [Sat, 16 Feb 2013 07:08:51 +0000 (08:08 +0100)]
Exception handling for Python function calls.

11 years agoImplement calling Python functions.
Gunnar Beutner [Sat, 16 Feb 2013 06:49:36 +0000 (07:49 +0100)]
Implement calling Python functions.

11 years agoBugfix: Unlock thread mutex while waiting for events.
Gunnar Beutner [Sat, 16 Feb 2013 06:27:45 +0000 (07:27 +0100)]
Bugfix: Unlock thread mutex while waiting for events.

11 years agoRemove support for type hints.
Gunnar Beutner [Fri, 15 Feb 2013 17:27:21 +0000 (18:27 +0100)]
Remove support for type hints.

11 years agoImplemented calling ScriptFunctions from Python.
Gunnar Beutner [Fri, 15 Feb 2013 15:34:33 +0000 (16:34 +0100)]
Implemented calling ScriptFunctions from Python.

11 years agoImplemented Value::GetType().
Gunnar Beutner [Fri, 15 Feb 2013 13:39:26 +0000 (14:39 +0100)]
Implemented Value::GetType().

11 years agoRemoved some more native:: prefixes (oops).
Gunnar Beutner [Fri, 15 Feb 2013 11:49:14 +0000 (12:49 +0100)]
Removed some more native:: prefixes (oops).

11 years agoRemoved the native:: prefix for built-in functions.
Gunnar Beutner [Fri, 15 Feb 2013 11:41:32 +0000 (12:41 +0100)]
Removed the native:: prefix for built-in functions.

11 years agoImplement event for registering/unregistering script functions.
Gunnar Beutner [Fri, 15 Feb 2013 09:09:07 +0000 (10:09 +0100)]
Implement event for registering/unregistering script functions.

Fixes #3704

11 years agoMake ScriptFunction::GetFunctions() public.
Gunnar Beutner [Fri, 15 Feb 2013 08:59:04 +0000 (09:59 +0100)]
Make ScriptFunction::GetFunctions() public.

11 years agoBugfix: Set main EventQueue's owner as early as possible.
Gunnar Beutner [Fri, 15 Feb 2013 08:58:38 +0000 (09:58 +0100)]
Bugfix: Set main EventQueue's owner as early as possible.

11 years agoImplement per-thread event queues.
Gunnar Beutner [Fri, 15 Feb 2013 05:47:26 +0000 (06:47 +0100)]
Implement per-thread event queues.

11 years agoBug fixes for script function calls.
Gunnar Beutner [Fri, 15 Feb 2013 04:04:38 +0000 (05:04 +0100)]
Bug fixes for script function calls.

11 years agoProperly shut down the interpreter when the Script object is being destroyed.
Gunnar Beutner [Thu, 14 Feb 2013 17:59:47 +0000 (18:59 +0100)]
Properly shut down the interpreter when the Script object is being destroyed.

11 years agoAdded missing lock() call.
Gunnar Beutner [Thu, 14 Feb 2013 17:48:31 +0000 (18:48 +0100)]
Added missing lock() call.

11 years agoImplemented rudimentary function call forwarding for ScriptInterpreter objects.
Gunnar Beutner [Thu, 14 Feb 2013 15:43:58 +0000 (16:43 +0100)]
Implemented rudimentary function call forwarding for ScriptInterpreter objects.

11 years agoPass argc and argv to the Python interpreter.
Gunnar Beutner [Thu, 14 Feb 2013 15:18:58 +0000 (16:18 +0100)]
Pass argc and argv to the Python interpreter.

11 years agoClear current thread state before destroying the thread state object.
Gunnar Beutner [Thu, 14 Feb 2013 15:02:43 +0000 (16:02 +0100)]
Clear current thread state before destroying the thread state object.

11 years agoBugfixes: Finalizing the interpreter might crash.
Gunnar Beutner [Thu, 14 Feb 2013 14:51:50 +0000 (15:51 +0100)]
Bugfixes: Finalizing the interpreter might crash.

11 years agoProperly shut down instances of the ScriptInterpreter class.
Gunnar Beutner [Thu, 14 Feb 2013 14:39:53 +0000 (15:39 +0100)]
Properly shut down instances of the ScriptInterpreter class.

11 years agoImplemented the 'Script' type.
Gunnar Beutner [Thu, 14 Feb 2013 13:58:26 +0000 (14:58 +0100)]
Implemented the 'Script' type.

11 years agoBasic support for other scripting languages.
Gunnar Beutner [Thu, 14 Feb 2013 11:02:02 +0000 (12:02 +0100)]
Basic support for other scripting languages.

11 years agoWindows build fix.
Gunnar Beutner [Thu, 14 Feb 2013 09:59:01 +0000 (10:59 +0100)]
Windows build fix.

11 years agoImplement global mutex (for use by scripting languages).
Gunnar Beutner [Thu, 14 Feb 2013 09:55:47 +0000 (10:55 +0100)]
Implement global mutex (for use by scripting languages).

11 years agoUse #if rather than #ifdef to check HAVE_* macros.
Gunnar Beutner [Thu, 14 Feb 2013 09:55:15 +0000 (10:55 +0100)]
Use #if rather than #ifdef to check HAVE_* macros.

11 years agoUse -fvisibility=hidden when it's available.
Gunnar Beutner [Thu, 14 Feb 2013 09:53:34 +0000 (10:53 +0100)]
Use -fvisibility=hidden when it's available.

11 years agoRename CommentCache/DowntimeCache to CommentsCache/DowntimesCache
Gunnar Beutner [Wed, 13 Feb 2013 21:36:24 +0000 (22:36 +0100)]
Rename CommentCache/DowntimeCache to CommentsCache/DowntimesCache

Fixes #3677

11 years agoFixed parameters for pipe2() call.
Gunnar Beutner [Wed, 13 Feb 2013 20:05:58 +0000 (21:05 +0100)]
Fixed parameters for pipe2() call.

11 years agoImplemented dictionary support for commands.
Gunnar Beutner [Wed, 13 Feb 2013 19:08:09 +0000 (20:08 +0100)]
Implemented dictionary support for commands.

11 years agoRenamed 'alias' property to 'display_name'.
Gunnar Beutner [Wed, 13 Feb 2013 18:32:44 +0000 (19:32 +0100)]
Renamed 'alias' property to 'display_name'.

11 years agoRemoved array support, implemented support for anonymous dictionary items.
Gunnar Beutner [Wed, 13 Feb 2013 17:43:56 +0000 (18:43 +0100)]
Removed array support, implemented support for anonymous dictionary items.

11 years agoBugfix: the main task fd must not be non-blocking.
Gunnar Beutner [Wed, 13 Feb 2013 14:41:14 +0000 (15:41 +0100)]
Bugfix: the main task fd must not be non-blocking.

11 years agoRefactor the FD_CLOEXEC/O_NONBLOCK code.
Gunnar Beutner [Wed, 13 Feb 2013 12:03:21 +0000 (13:03 +0100)]
Refactor the FD_CLOEXEC/O_NONBLOCK code.

11 years agoFixed incorrect use of F_SETFL.
Gunnar Beutner [Wed, 13 Feb 2013 11:47:51 +0000 (12:47 +0100)]
Fixed incorrect use of F_SETFL.

11 years agoFixed incorrect use of O_CLOEXEC.
Gunnar Beutner [Wed, 13 Feb 2013 11:39:47 +0000 (12:39 +0100)]
Fixed incorrect use of O_CLOEXEC.

11 years agoFixed another file descriptor leak.
Gunnar Beutner [Wed, 13 Feb 2013 11:34:25 +0000 (12:34 +0100)]
Fixed another file descriptor leak.

11 years agoEndpointManager: Decrease timer intervals.
Gunnar Beutner [Wed, 13 Feb 2013 11:22:18 +0000 (12:22 +0100)]
EndpointManager: Decrease timer intervals.

11 years agoConfig: Implement arrays.
Gunnar Beutner [Wed, 13 Feb 2013 11:19:02 +0000 (12:19 +0100)]
Config: Implement arrays.

11 years agoBugfix: Reschedule the delegation timer after starting it.
Gunnar Beutner [Wed, 13 Feb 2013 11:18:36 +0000 (12:18 +0100)]
Bugfix: Reschedule the delegation timer after starting it.

11 years agoCleaned up the Process class.
Gunnar Beutner [Wed, 13 Feb 2013 10:48:19 +0000 (11:48 +0100)]
Cleaned up the Process class.

11 years agoRefactor the Process class. Remove the Windows implementation for now.
Gunnar Beutner [Wed, 13 Feb 2013 10:39:24 +0000 (11:39 +0100)]
Refactor the Process class. Remove the Windows implementation for now.

11 years agoMake the delegation interval configurable.
Gunnar Beutner [Wed, 13 Feb 2013 08:55:39 +0000 (09:55 +0100)]
Make the delegation interval configurable.

11 years agoBuild fix.
Gunnar Beutner [Wed, 13 Feb 2013 06:48:08 +0000 (07:48 +0100)]
Build fix.