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

11 years agoProcess: repeat read() until we get EAGAIN.
Gunnar Beutner [Wed, 13 Feb 2013 06:39:26 +0000 (07:39 +0100)]
Process: repeat read() until we get EAGAIN.

11 years agoUse pipe2() instead of pipe() when possible.
Gunnar Beutner [Wed, 13 Feb 2013 06:33:14 +0000 (07:33 +0100)]
Use pipe2() instead of pipe() when possible.

11 years agoMake Application::ProcessEvents() static.
Gunnar Beutner [Wed, 13 Feb 2013 06:25:36 +0000 (07:25 +0100)]
Make Application::ProcessEvents() static.

11 years agoPrefer libc's implementation of execvpe over our own.
Gunnar Beutner [Tue, 12 Feb 2013 13:48:15 +0000 (14:48 +0100)]
Prefer libc's implementation of execvpe over our own.

11 years agoDon't load the replication component on standalone instances.
Gunnar Beutner [Mon, 11 Feb 2013 22:37:39 +0000 (23:37 +0100)]
Don't load the replication component on standalone instances.

Fixes #3687

11 years agoAdded the null-service template.
Gunnar Beutner [Mon, 11 Feb 2013 22:19:33 +0000 (23:19 +0100)]
Added the null-service template.

11 years agoWait for child processes before getting new tasks from the list.
Gunnar Beutner [Mon, 11 Feb 2013 22:18:26 +0000 (23:18 +0100)]
Wait for child processes before getting new tasks from the list.

11 years agoDon't send notifications for services that are unreachable, in a downtime or acknowle...
Gunnar Beutner [Mon, 11 Feb 2013 15:38:16 +0000 (16:38 +0100)]
Don't send notifications for services that are unreachable, in a downtime or acknowledged.

11 years agoImplemented some more dynamic macros.
Gunnar Beutner [Mon, 11 Feb 2013 15:29:23 +0000 (16:29 +0100)]
Implemented some more dynamic macros.

11 years agoBugfix for slave notification objects.
Gunnar Beutner [Mon, 11 Feb 2013 15:25:32 +0000 (16:25 +0100)]
Bugfix for slave notification objects.

11 years agoReschedule service when check interval is changed.
Gunnar Beutner [Mon, 11 Feb 2013 15:11:11 +0000 (16:11 +0100)]
Reschedule service when check interval is changed.

Fixes #3681

11 years agoFreeBSD build fix.
Gunnar Beutner [Mon, 11 Feb 2013 15:05:44 +0000 (16:05 +0100)]
FreeBSD build fix.

11 years agoFixed memory leak when using execvpe() with vfork().
Gunnar Beutner [Mon, 11 Feb 2013 13:42:08 +0000 (14:42 +0100)]
Fixed memory leak when using execvpe() with vfork().

11 years agoRemove the icinga2_DEPENDENCIES variable in icinga-app/Makefile.am.
Gunnar Beutner [Mon, 11 Feb 2013 13:07:52 +0000 (14:07 +0100)]
Remove the icinga2_DEPENDENCIES variable in icinga-app/Makefile.am.

Fixes #3653

11 years agoRemove Host::OnInitCompleted and clean up the classes' constructors.
Gunnar Beutner [Mon, 11 Feb 2013 13:01:52 +0000 (14:01 +0100)]
Remove Host::OnInitCompleted and clean up the classes' constructors.

Fixes #3678

11 years agoRemove support for _DEBUG env var.
Gunnar Beutner [Mon, 11 Feb 2013 12:46:02 +0000 (13:46 +0100)]
Remove support for _DEBUG env var.

Fixes #3688

11 years agoChecker: Use weak_ptrs to keep track of services.
Gunnar Beutner [Mon, 11 Feb 2013 12:05:08 +0000 (13:05 +0100)]
Checker: Use weak_ptrs to keep track of services.

11 years agoFixed some more memory leaks.
Gunnar Beutner [Mon, 11 Feb 2013 09:10:17 +0000 (10:10 +0100)]
Fixed some more memory leaks.

11 years agoFixed some memory leaks in the config parser.
Gunnar Beutner [Mon, 11 Feb 2013 08:55:32 +0000 (09:55 +0100)]
Fixed some memory leaks in the config parser.

11 years agoFixed uninitialized variable bug.
Gunnar Beutner [Mon, 11 Feb 2013 05:38:30 +0000 (06:38 +0100)]
Fixed uninitialized variable bug.

11 years agoProcess: use read() on *NIX.
Gunnar Beutner [Sun, 10 Feb 2013 23:05:11 +0000 (00:05 +0100)]
Process: use read() on *NIX.

11 years agoImplemented poll() support for Process tasks.
Gunnar Beutner [Sun, 10 Feb 2013 22:31:11 +0000 (23:31 +0100)]
Implemented poll() support for Process tasks.

Fixes #3035

11 years agoUse multiple worker threads for Process tasks.
Gunnar Beutner [Sun, 10 Feb 2013 21:29:42 +0000 (22:29 +0100)]
Use multiple worker threads for Process tasks.

11 years agoFixed deadlock in Process::WorkerThreadProc.
Gunnar Beutner [Sun, 10 Feb 2013 20:53:08 +0000 (21:53 +0100)]
Fixed deadlock in Process::WorkerThreadProc.

11 years agoWindows build fix.
Gunnar Beutner [Sun, 10 Feb 2013 13:07:17 +0000 (14:07 +0100)]
Windows build fix.

11 years agoWindows build fix.
Gunnar Beutner [Sun, 10 Feb 2013 17:57:23 +0000 (18:57 +0100)]
Windows build fix.

11 years agoBuild fix V2.
Gunnar Beutner [Sun, 10 Feb 2013 16:44:03 +0000 (17:44 +0100)]
Build fix V2.

11 years agoBuild fix for *NIX systems with a non-GNU libc.
Gunnar Beutner [Sun, 10 Feb 2013 16:15:18 +0000 (17:15 +0100)]
Build fix for *NIX systems with a non-GNU libc.

11 years agoFixed soft service recoveries.
Gunnar Beutner [Sun, 10 Feb 2013 14:07:32 +0000 (15:07 +0100)]
Fixed soft service recoveries.

11 years agoBugfixes for the Process class.
Gunnar Beutner [Sun, 10 Feb 2013 11:45:39 +0000 (12:45 +0100)]
Bugfixes for the Process class.

11 years agoFixed exception in command pipe thread after sending Icinga SIGTERM.
Gunnar Beutner [Sun, 10 Feb 2013 11:28:27 +0000 (12:28 +0100)]
Fixed exception in command pipe thread after sending Icinga SIGTERM.

11 years agoBugfix: Ignore missing macro dicts.
Gunnar Beutner [Sun, 10 Feb 2013 00:56:26 +0000 (01:56 +0100)]
Bugfix: Ignore missing macro dicts.

11 years agoFixed 1 second delay for child processes.
Gunnar Beutner [Sun, 10 Feb 2013 00:35:40 +0000 (01:35 +0100)]
Fixed 1 second delay for child processes.

11 years agoImplemented environment-based macros.
Gunnar Beutner [Sat, 9 Feb 2013 22:02:33 +0000 (23:02 +0100)]
Implemented environment-based macros.

11 years agoBugfix: host and source groups don't have display names.
Gunnar Beutner [Sat, 9 Feb 2013 19:37:03 +0000 (20:37 +0100)]
Bugfix: host and source groups don't have display names.

11 years agoBuild fix.
Gunnar Beutner [Sat, 9 Feb 2013 18:12:30 +0000 (19:12 +0100)]
Build fix.

11 years agoUpdate VS project filters.
Gunnar Beutner [Sat, 9 Feb 2013 17:52:21 +0000 (18:52 +0100)]
Update VS project filters.

11 years agoFixed incorrect type name.
Gunnar Beutner [Sat, 9 Feb 2013 17:50:22 +0000 (18:50 +0100)]
Fixed incorrect type name.

11 years agoFixed spelling mistake.
Gunnar Beutner [Sat, 9 Feb 2013 17:43:11 +0000 (18:43 +0100)]
Fixed spelling mistake.

11 years agoImplement some dynamic macros.
Gunnar Beutner [Sat, 9 Feb 2013 17:39:43 +0000 (18:39 +0100)]
Implement some dynamic macros.
Move check-specific code to service-check.cpp

11 years agoRemoved alias property, added display_name.
Gunnar Beutner [Sat, 9 Feb 2013 16:50:47 +0000 (17:50 +0100)]
Removed alias property, added display_name.

11 years agoITL: Added template for plugin-based notifications.
Gunnar Beutner [Sat, 9 Feb 2013 16:28:19 +0000 (17:28 +0100)]
ITL: Added template for plugin-based notifications.

11 years agoImplemented status.dat support for notifications.
Gunnar Beutner [Sat, 9 Feb 2013 16:27:32 +0000 (17:27 +0100)]
Implemented status.dat support for notifications.

11 years agoBugfix for triggered downtimes.
Gunnar Beutner [Sat, 9 Feb 2013 14:22:46 +0000 (15:22 +0100)]
Bugfix for triggered downtimes.

11 years agoImplemented notification request messages, notifications dictionary for hosts/service...
Gunnar Beutner [Sat, 9 Feb 2013 14:20:10 +0000 (15:20 +0100)]
Implemented notification request messages, notifications dictionary for hosts/services and state-based notifications.

11 years agoImplemented rudimentary notifications.
Gunnar Beutner [Sat, 9 Feb 2013 10:42:22 +0000 (11:42 +0100)]
Implemented rudimentary notifications.

11 years agoMade the debug log level slightly less spammy.
Gunnar Beutner [Sat, 9 Feb 2013 09:55:54 +0000 (10:55 +0100)]
Made the debug log level slightly less spammy.

11 years agoUpdated VS filters for libconfig.
Gunnar Beutner [Sat, 9 Feb 2013 09:43:31 +0000 (10:43 +0100)]
Updated VS filters for libconfig.

11 years agoWindows bugfixes for Utility::DirName and Utility::Glob.
Gunnar Beutner [Sat, 9 Feb 2013 09:43:11 +0000 (10:43 +0100)]
Windows bugfixes for Utility::DirName and Utility::Glob.

11 years agoFixed incorrect Service::GetByName call.
Gunnar Beutner [Sat, 9 Feb 2013 01:16:02 +0000 (02:16 +0100)]
Fixed incorrect Service::GetByName call.

11 years agoBugfix: Incorrect array index in ACKNOWLEDGE_HOST_PROBLEM command.
Gunnar Beutner [Sat, 9 Feb 2013 01:01:48 +0000 (02:01 +0100)]
Bugfix: Incorrect array index in ACKNOWLEDGE_HOST_PROBLEM command.

11 years agoBugfix: use short names in servicegroup objects.
Gunnar Beutner [Sat, 9 Feb 2013 00:49:45 +0000 (01:49 +0100)]
Bugfix: use short names in servicegroup objects.

11 years agoUpdated filters for the VS project.
Gunnar Beutner [Sat, 9 Feb 2013 00:19:08 +0000 (01:19 +0100)]
Updated filters for the VS project.

11 years agoRemove separate host ack/downtime/comments functionality.
Gunnar Beutner [Sat, 9 Feb 2013 00:16:43 +0000 (01:16 +0100)]
Remove separate host ack/downtime/comments functionality.

Fixes #3663

11 years agoBugfix: Local events for changed attributes aren't processed at transaction commit...
Gunnar Beutner [Fri, 8 Feb 2013 22:40:28 +0000 (23:40 +0100)]
Bugfix: Local events for changed attributes aren't processed at transaction commit time.

Fixes #3605

11 years agoCopy service and host dependencies into service items.
Gunnar Beutner [Fri, 8 Feb 2013 20:38:34 +0000 (21:38 +0100)]
Copy service and host dependencies into service items.

11 years agoImplement dictionary-based host/service name pairs.
Gunnar Beutner [Fri, 8 Feb 2013 20:30:14 +0000 (21:30 +0100)]
Implement dictionary-based host/service name pairs.

11 years agoUse Host constructor/destructor/OnAttributeChange instead of OnCommitted/OnRemoved...
Gunnar Beutner [Fri, 8 Feb 2013 20:05:08 +0000 (21:05 +0100)]
Use Host constructor/destructor/OnAttributeChange instead of OnCommitted/OnRemoved for Host->services

Fixes #3612

11 years agoExternal commands: Removed duplicate argument validation.
Gunnar Beutner [Fri, 8 Feb 2013 20:03:23 +0000 (21:03 +0100)]
External commands: Removed duplicate argument validation.

11 years agoFixed compiler warning.
Gunnar Beutner [Fri, 8 Feb 2013 18:45:51 +0000 (19:45 +0100)]
Fixed compiler warning.

11 years agoBuild unit tests for Win64/Release.
Gunnar Beutner [Fri, 8 Feb 2013 18:04:47 +0000 (19:04 +0100)]
Build unit tests for Win64/Release.

11 years agoUpdated validation rules for service dependencies.
Gunnar Beutner [Fri, 8 Feb 2013 15:09:42 +0000 (16:09 +0100)]
Updated validation rules for service dependencies.

11 years agoRemoved x64 build target (use Win64 instead).
Gunnar Beutner [Fri, 8 Feb 2013 14:52:21 +0000 (15:52 +0100)]
Removed x64 build target (use Win64 instead).

Fixes #3655

11 years agoImplement service shortnames.
Gunnar Beutner [Fri, 8 Feb 2013 14:38:22 +0000 (15:38 +0100)]
Implement service shortnames.

Refs #3660

11 years agoFixed infinite loop bug in Service::BeginExecuteCheck.
Gunnar Beutner [Fri, 8 Feb 2013 10:22:42 +0000 (11:22 +0100)]
Fixed infinite loop bug in Service::BeginExecuteCheck.

11 years agoBugfix: assert in Timer::ProcessTimers.
Gunnar Beutner [Fri, 8 Feb 2013 09:39:54 +0000 (10:39 +0100)]
Bugfix: assert in Timer::ProcessTimers.

11 years agoReschedule check timer after each finished check.
Gunnar Beutner [Fri, 8 Feb 2013 09:39:31 +0000 (10:39 +0100)]
Reschedule check timer after each finished check.

11 years agoBuild fix.
Gunnar Beutner [Fri, 8 Feb 2013 09:31:11 +0000 (10:31 +0100)]
Build fix.

11 years agoBugfix: Fixed incorrect variable name.
Gunnar Beutner [Fri, 8 Feb 2013 09:30:32 +0000 (10:30 +0100)]
Bugfix: Fixed incorrect variable name.

11 years agoBugfix: Don't use check interval offsets for services with a check_interval smaller...
Gunnar Beutner [Fri, 8 Feb 2013 09:29:17 +0000 (10:29 +0100)]
Bugfix: Don't use check interval offsets for services with a check_interval smaller than 1 second.

11 years agoBugfix: Don't leak lock file's fd into child processes.
Gunnar Beutner [Fri, 8 Feb 2013 09:23:01 +0000 (10:23 +0100)]
Bugfix: Don't leak lock file's fd into child processes.

11 years agoImplement sub-second check intervals.
Gunnar Beutner [Fri, 8 Feb 2013 09:14:24 +0000 (10:14 +0100)]
Implement sub-second check intervals.

Fixes #3656

11 years agoFlush logger stream after writing 'clear color' ANSI code.
Gunnar Beutner [Fri, 8 Feb 2013 08:40:19 +0000 (09:40 +0100)]
Flush logger stream after writing 'clear color' ANSI code.

11 years agoMove EXPORT_COMPONENT() macros to the beginning of the files.
Gunnar Beutner [Fri, 8 Feb 2013 06:11:14 +0000 (07:11 +0100)]
Move EXPORT_COMPONENT() macros to the beginning of the files.

Fixes #3654

11 years agoWindows build fix.
Gunnar Beutner [Fri, 8 Feb 2013 06:11:02 +0000 (07:11 +0100)]
Windows build fix.

11 years agoBuild unit tests on Windows.
Gunnar Beutner [Fri, 8 Feb 2013 05:49:23 +0000 (06:49 +0100)]
Build unit tests on Windows.

Refs #3645

11 years agoWindows: Fixed crash in Object::~Object().
Gunnar Beutner [Thu, 7 Feb 2013 21:13:34 +0000 (22:13 +0100)]
Windows: Fixed crash in Object::~Object().