]> granicus.if.org Git - icinga2/log
icinga2
11 years agoConfigType: Use ConfigItem::IsAbstract() to check if items are abstract.
Gunnar Beutner [Mon, 11 Mar 2013 12:05:32 +0000 (13:05 +0100)]
ConfigType: Use ConfigItem::IsAbstract() to check if items are abstract.

11 years agoDon't instantiate abstract objects.
Gunnar Beutner [Mon, 11 Mar 2013 11:04:10 +0000 (12:04 +0100)]
Don't instantiate abstract objects.

Fixes #3669

11 years ago*NIX build fix.
Gunnar Beutner [Sun, 10 Mar 2013 21:55:57 +0000 (22:55 +0100)]
*NIX build fix.

11 years agoImplement some more tables.
Gunnar Beutner [Sun, 10 Mar 2013 21:20:13 +0000 (22:20 +0100)]
Implement some more tables.

11 years agoPrepare support for table joins.
Gunnar Beutner [Sun, 10 Mar 2013 17:49:14 +0000 (18:49 +0100)]
Prepare support for table joins.

11 years agoAdd missing files in Makefile.am.
Gunnar Beutner [Sun, 10 Mar 2013 16:57:49 +0000 (17:57 +0100)]
Add missing files in Makefile.am.

11 years agoImplement the "Stats" header.
Gunnar Beutner [Sun, 10 Mar 2013 16:54:46 +0000 (17:54 +0100)]
Implement the "Stats" header.

11 years agoImplement "Negate" header.
Gunnar Beutner [Sun, 10 Mar 2013 14:27:55 +0000 (15:27 +0100)]
Implement "Negate" header.

11 years agoCombine all top-level filters into a single filter (with operator "and").
Gunnar Beutner [Sun, 10 Mar 2013 14:23:08 +0000 (15:23 +0100)]
Combine all top-level filters into a single filter (with operator "and").

11 years ago*NIX build fix.
Gunnar Beutner [Sun, 10 Mar 2013 14:14:14 +0000 (15:14 +0100)]
*NIX build fix.

11 years agoImplement attribute filters.
Gunnar Beutner [Sun, 10 Mar 2013 14:11:32 +0000 (15:11 +0100)]
Implement attribute filters.

11 years agoicinga2.conf.dist: change host check to single aliased check
Michael Friedrich [Sun, 10 Mar 2013 13:00:49 +0000 (14:00 +0100)]
icinga2.conf.dist: change host check to single aliased check

fixes #3816

11 years agofix pid file location in initscript too
Michael Friedrich [Sun, 10 Mar 2013 12:55:28 +0000 (13:55 +0100)]
fix pid file location in initscript too

fixes #3670

11 years agoImplement filters for "and" and "or".
Gunnar Beutner [Sun, 10 Mar 2013 11:24:03 +0000 (12:24 +0100)]
Implement filters for "and" and "or".

11 years agoAdded dummy tables: contactgroups and contacts.
Gunnar Beutner [Sun, 10 Mar 2013 08:55:46 +0000 (09:55 +0100)]
Added dummy tables: contactgroups and contacts.

11 years agoImplement basic livestatus GET queries.
Gunnar Beutner [Sun, 10 Mar 2013 08:23:13 +0000 (09:23 +0100)]
Implement basic livestatus GET queries.

11 years agoImplement proper support for JSON arrays.
Gunnar Beutner [Sun, 10 Mar 2013 08:08:59 +0000 (09:08 +0100)]
Implement proper support for JSON arrays.

11 years agoImplement livestatus commands.
Gunnar Beutner [Sun, 10 Mar 2013 04:10:51 +0000 (05:10 +0100)]
Implement livestatus commands.

11 years agoAdd livestatus component.
Gunnar Beutner [Sun, 10 Mar 2013 02:09:01 +0000 (03:09 +0100)]
Add livestatus component.

11 years agoFix deadlocks in the Socket/Stream classes.
Gunnar Beutner [Sat, 9 Mar 2013 14:56:56 +0000 (15:56 +0100)]
Fix deadlocks in the Socket/Stream classes.

11 years agoFix race condition in Process::WorkerThreadProc.
Gunnar Beutner [Sat, 9 Mar 2013 14:41:07 +0000 (15:41 +0100)]
Fix race condition in Process::WorkerThreadProc.

11 years agoCheck for invalid value type.
Gunnar Beutner [Sat, 9 Mar 2013 11:57:26 +0000 (12:57 +0100)]
Check for invalid value type.

11 years agoAdd missing return value.
Gunnar Beutner [Sat, 9 Mar 2013 11:57:07 +0000 (12:57 +0100)]
Add missing return value.

11 years agoAdd missing "*/".
Gunnar Beutner [Sat, 9 Mar 2013 11:56:40 +0000 (12:56 +0100)]
Add missing "*/".

11 years agoFixed incorrect macro name.
Gunnar Beutner [Sat, 9 Mar 2013 11:53:04 +0000 (12:53 +0100)]
Fixed incorrect macro name.

11 years agoRemoved dummy timeperiod definition.
Gunnar Beutner [Fri, 8 Mar 2013 23:01:04 +0000 (00:01 +0100)]
Removed dummy timeperiod definition.

11 years agostatus.dat/objects.cache: check_interval/retry_interval should be in minutes.
Gunnar Beutner [Fri, 8 Mar 2013 23:00:43 +0000 (00:00 +0100)]
status.dat/objects.cache: check_interval/retry_interval should be in minutes.

11 years agoFixed deadlock.
Gunnar Beutner [Fri, 8 Mar 2013 23:00:10 +0000 (00:00 +0100)]
Fixed deadlock.

11 years agoFix another deadlock.
Gunnar Beutner [Fri, 8 Mar 2013 15:36:26 +0000 (16:36 +0100)]
Fix another deadlock.

11 years agoFix deadlock when adding/removing acknowledgements.
Gunnar Beutner [Fri, 8 Mar 2013 15:32:29 +0000 (16:32 +0100)]
Fix deadlock when adding/removing acknowledgements.

11 years agoAdded more templates.
Gunnar Beutner [Fri, 8 Mar 2013 15:02:33 +0000 (16:02 +0100)]
Added more templates.

11 years agoRevert "Remove redundant check for valid task object."
Gunnar Beutner [Fri, 8 Mar 2013 13:56:23 +0000 (14:56 +0100)]
Revert "Remove redundant check for valid task object."

This reverts commit 8337795ff714d04443a7666faa7916641021fca7.

11 years agoUpdate validator for services dictionary.
Gunnar Beutner [Fri, 8 Mar 2013 13:44:03 +0000 (14:44 +0100)]
Update validator for services dictionary.

11 years agoFix: Set last state/state type before executing service checks.
Gunnar Beutner [Fri, 8 Mar 2013 13:43:48 +0000 (14:43 +0100)]
Fix: Set last state/state type before executing service checks.

11 years agoRemove redundant check for valid task object.
Gunnar Beutner [Fri, 8 Mar 2013 13:43:28 +0000 (14:43 +0100)]
Remove redundant check for valid task object.

11 years agoCatch exceptions in EventQueue::QueueThreadProc.
Gunnar Beutner [Fri, 8 Mar 2013 13:43:07 +0000 (14:43 +0100)]
Catch exceptions in EventQueue::QueueThreadProc.

11 years agoUpdated auto-discovery script and added some more service templates.
Gunnar Beutner [Fri, 8 Mar 2013 13:41:19 +0000 (14:41 +0100)]
Updated auto-discovery script and added some more service templates.

11 years agoUse TLS for last exception stack trace.
Gunnar Beutner [Fri, 8 Mar 2013 13:41:01 +0000 (14:41 +0100)]
Use TLS for last exception stack trace.

11 years agoImplement automated stacktraces for exceptions.
Gunnar Beutner [Thu, 7 Mar 2013 18:44:39 +0000 (19:44 +0100)]
Implement automated stacktraces for exceptions.

11 years agoCheck return values of SymGetLineFromAddr64 and SymFromAddr.
Gunnar Beutner [Thu, 7 Mar 2013 15:00:10 +0000 (16:00 +0100)]
Check return values of SymGetLineFromAddr64 and SymFromAddr.

11 years agoFixed retention timer interval
Gunnar Beutner [Thu, 7 Mar 2013 14:19:26 +0000 (15:19 +0100)]
Fixed retention timer interval

11 years ago*NIX build fix.
Gunnar Beutner [Thu, 7 Mar 2013 14:16:01 +0000 (15:16 +0100)]
*NIX build fix.

11 years agoImplemented stacktrace support for Windows.
Gunnar Beutner [Thu, 7 Mar 2013 14:00:26 +0000 (15:00 +0100)]
Implemented stacktrace support for Windows.

11 years agoMove pidfile and command pipe to /var/run/icinga2 rather than /var/run
Gunnar Beutner [Thu, 7 Mar 2013 11:23:43 +0000 (12:23 +0100)]
Move pidfile and command pipe to /var/run/icinga2 rather than /var/run

Fixes #3670

11 years agoImplemented LAST*STATE* macros.
Gunnar Beutner [Thu, 7 Mar 2013 11:04:20 +0000 (12:04 +0100)]
Implemented LAST*STATE* macros.

11 years agoImprove check latency.
Gunnar Beutner [Thu, 7 Mar 2013 08:48:00 +0000 (09:48 +0100)]
Improve check latency.

11 years agoFixed some more compiler warnings.
Gunnar Beutner [Thu, 7 Mar 2013 08:47:51 +0000 (09:47 +0100)]
Fixed some more compiler warnings.

11 years agoFixed compiler warnings.
Gunnar Beutner [Thu, 7 Mar 2013 07:14:55 +0000 (08:14 +0100)]
Fixed compiler warnings.

11 years agoFix cppcheck warnings.
Gunnar Beutner [Wed, 6 Mar 2013 14:41:13 +0000 (15:41 +0100)]
Fix cppcheck warnings.

11 years agoBugfixes for the *:Invalidate*Cache() calls.
Gunnar Beutner [Wed, 6 Mar 2013 12:01:51 +0000 (13:01 +0100)]
Bugfixes for the *:Invalidate*Cache() calls.

11 years agoVarious bugfixes.
Gunnar Beutner [Wed, 6 Mar 2013 10:03:50 +0000 (11:03 +0100)]
Various bugfixes.

11 years agoEven more code refactoring.
Gunnar Beutner [Mon, 4 Mar 2013 14:52:42 +0000 (15:52 +0100)]
Even more code refactoring.

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.