]>
granicus.if.org Git - icinga2/log
Gunnar Beutner [Tue, 5 Feb 2013 12:19:01 +0000 (13:19 +0100)]
Windows build fix.
Gunnar Beutner [Tue, 5 Feb 2013 12:06:42 +0000 (13:06 +0100)]
Validate config objects before trying to activate them.
Fixes #3619
Michael Friedrich [Mon, 4 Feb 2013 17:36:21 +0000 (18:36 +0100)]
update .gitignore
Michael Friedrich [Mon, 4 Feb 2013 17:33:35 +0000 (18:33 +0100)]
Documentation: implement make target for asciidoc generation
similar to 1.x, 'make create-docs'
fixes #3230
Gunnar Beutner [Mon, 4 Feb 2013 11:58:16 +0000 (12:58 +0100)]
Fixed default host template.
Gunnar Beutner [Mon, 4 Feb 2013 11:43:16 +0000 (12:43 +0100)]
Added init script.
Fixes #3114
Gunnar Beutner [Mon, 4 Feb 2013 08:58:45 +0000 (09:58 +0100)]
Windows build fix.
Gunnar Beutner [Mon, 4 Feb 2013 08:48:37 +0000 (09:48 +0100)]
Fixed default paths for icinga2.state and icinga2.pid files.
Gunnar Beutner [Sun, 3 Feb 2013 16:36:19 +0000 (17:36 +0100)]
Removed stray space in service definition.
Gunnar Beutner [Sun, 3 Feb 2013 15:32:31 +0000 (16:32 +0100)]
Service::CheckCompletedHandler: Convert exceptions to fake check results.
Gunnar Beutner [Sun, 3 Feb 2013 15:00:53 +0000 (16:00 +0100)]
Bugfix: Deadlock in SigHupHandler due to Event::Post not being signal-safe
Fixes #3622
Gunnar Beutner [Sun, 3 Feb 2013 14:47:11 +0000 (15:47 +0100)]
Bugfix: Crash while reloading config
Fixes #3621
Gunnar Beutner [Sun, 3 Feb 2013 11:26:22 +0000 (12:26 +0100)]
Delete removed config objects after SIGHUP
Fixes #3620
Gunnar Beutner [Sun, 3 Feb 2013 10:46:17 +0000 (11:46 +0100)]
Implemented reloading the config using SIGHUP.
Gunnar Beutner [Sun, 3 Feb 2013 10:45:56 +0000 (11:45 +0100)]
Types: Added service attributes to the host type.
Gunnar Beutner [Sun, 3 Feb 2013 00:41:00 +0000 (01:41 +0100)]
Print DebugInfo for failed #includes
Fixes #3613
Gunnar Beutner [Sun, 3 Feb 2013 00:30:19 +0000 (01:30 +0100)]
Bugfix: Make sure Utility::Glob return false if no matching files were found.
Gunnar Beutner [Sun, 3 Feb 2013 00:21:11 +0000 (01:21 +0100)]
Implemented --version and made --help output prettier.
Gunnar Beutner [Sat, 2 Feb 2013 23:02:08 +0000 (00:02 +0100)]
Bugfix: Used incorrect variable for CompileFile() call.
Gunnar Beutner [Sat, 2 Feb 2013 22:29:02 +0000 (23:29 +0100)]
Gracefully deal with unknown command-line options.
Gunnar Beutner [Sat, 2 Feb 2013 22:22:27 +0000 (23:22 +0100)]
Use boost::program_options to parse arguments.
Fixes #3536
Fixes #3184
Gunnar Beutner [Sat, 2 Feb 2013 21:13:11 +0000 (22:13 +0100)]
Fixed compiler warnings (-Wextra).
Gunnar Beutner [Sat, 2 Feb 2013 19:19:00 +0000 (20:19 +0100)]
Throw exception in Utility::ToDouble/Utility::ToLong
Fixes #3617
Gunnar Beutner [Sat, 2 Feb 2013 19:17:33 +0000 (20:17 +0100)]
Fixed types for DynamicObject::__name and DynamicObject::_type.
Gunnar Beutner [Sat, 2 Feb 2013 19:06:56 +0000 (20:06 +0100)]
Removed some debug output.
Gunnar Beutner [Sat, 2 Feb 2013 19:05:18 +0000 (20:05 +0100)]
Bugfix: Don't copy the enable_checks attribute to child services.
Gunnar Beutner [Sat, 2 Feb 2013 19:00:02 +0000 (20:00 +0100)]
Removed the old-style validation code.
Gunnar Beutner [Sat, 2 Feb 2013 18:56:23 +0000 (19:56 +0100)]
Bugfixes for the type validation feature.
Gunnar Beutner [Sat, 2 Feb 2013 13:28:11 +0000 (14:28 +0100)]
Implement type keyword in the config compiler
Fixes #3616
Gunnar Beutner [Sat, 2 Feb 2013 08:19:49 +0000 (09:19 +0100)]
Added missing const qualifiers.
Gunnar Beutner [Fri, 1 Feb 2013 23:28:00 +0000 (00:28 +0100)]
Config: implement support for wildcard includes
Fixes #2771
Gunnar Beutner [Fri, 1 Feb 2013 22:10:48 +0000 (23:10 +0100)]
Windows build fix.
Gunnar Beutner [Fri, 1 Feb 2013 21:52:26 +0000 (22:52 +0100)]
Fixed log facility for messages from icinga-app.
Gunnar Beutner [Fri, 1 Feb 2013 21:44:58 +0000 (22:44 +0100)]
Implement search dirs for #include.
Fixes #3599
Gunnar Beutner [Fri, 1 Feb 2013 18:36:47 +0000 (19:36 +0100)]
Build fix for Windows.
Gunnar Beutner [Fri, 1 Feb 2013 18:27:36 +0000 (19:27 +0100)]
Bugfix: Unhandled exception in Service::CheckTimerHandler.
Fixes #3607
Gunnar Beutner [Fri, 1 Feb 2013 18:11:15 +0000 (19:11 +0100)]
Display "debug message" for exceptions (in addition to SIGABRT).
Gunnar Beutner [Fri, 1 Feb 2013 18:02:07 +0000 (19:02 +0100)]
Fixed some more compiler warnings (when using -Wall).
Gunnar Beutner [Fri, 1 Feb 2013 18:01:51 +0000 (19:01 +0100)]
Bug: clearing attributes should only reset their value and tx rather than deleting them entirely
Fixes #3604
Gunnar Beutner [Fri, 1 Feb 2013 14:44:03 +0000 (15:44 +0100)]
Fixed some compiler warnings.
Gunnar Beutner [Fri, 1 Feb 2013 13:46:06 +0000 (14:46 +0100)]
Updated messages in the SIGABRT handler.
Gunnar Beutner [Fri, 1 Feb 2013 13:45:55 +0000 (14:45 +0100)]
Removed assert()s in ConfigItemBuilder::Compile.
Gunnar Beutner [Fri, 1 Feb 2013 13:21:11 +0000 (14:21 +0100)]
Made warning and critical messages bold.
Gunnar Beutner [Fri, 1 Feb 2013 13:12:24 +0000 (14:12 +0100)]
Implemented colored log messages.
Gunnar Beutner [Fri, 1 Feb 2013 13:11:22 +0000 (14:11 +0100)]
Config: Warn about unknown attributes.
Gunnar Beutner [Fri, 1 Feb 2013 10:46:52 +0000 (11:46 +0100)]
Bugfix: Missing parent object causes assert in ReplicationComponent::Stop
Fixes #3601
Gunnar Beutner [Fri, 1 Feb 2013 10:39:06 +0000 (11:39 +0100)]
Initial commit of the Icinga Template Library.
Fixes #2977
Gunnar Beutner [Fri, 1 Feb 2013 09:51:45 +0000 (10:51 +0100)]
Bugfix: Use service names instead of aliases.
Gunnar Beutner [Thu, 31 Jan 2013 15:49:40 +0000 (16:49 +0100)]
Implement Service::OnCheckResultReceived, rename ServiceStateChangeMessage to CheckResultMessage
Fixes #3597
Gunnar Beutner [Thu, 31 Jan 2013 15:23:02 +0000 (16:23 +0100)]
Don't use exceptions in CommentProcessor::Get*.
Fixes 3595
Gunnar Beutner [Thu, 31 Jan 2013 14:26:54 +0000 (15:26 +0100)]
Config: Changing a template ConfigItem must cause child ConfigObjects to be updated.
Fixes #2791
Gunnar Beutner [Thu, 31 Jan 2013 12:57:14 +0000 (13:57 +0100)]
Implement triggered downtime for services.
Fixes #3583
Gunnar Beutner [Thu, 31 Jan 2013 09:10:51 +0000 (10:10 +0100)]
Use boost::lexical_cast instead of stringstreams.
Gunnar Beutner [Thu, 31 Jan 2013 08:51:37 +0000 (09:51 +0100)]
Bugfix: Use service name in status.dat (rather than alias).
Gunnar Beutner [Wed, 30 Jan 2013 22:52:11 +0000 (23:52 +0100)]
Fixed building with --disable-shared.
Gunnar Beutner [Wed, 30 Jan 2013 22:15:37 +0000 (23:15 +0100)]
Fixed indentation bug in Expression::DumpValue().
Gunnar Beutner [Wed, 30 Jan 2013 22:02:46 +0000 (23:02 +0100)]
Config: Implement dumping the config in text form
Fixes #2754
Gunnar Beutner [Wed, 30 Jan 2013 19:49:25 +0000 (20:49 +0100)]
Fixed incorrect parameters for memset().
Gunnar Beutner [Wed, 30 Jan 2013 14:10:51 +0000 (15:10 +0100)]
Bugfix: some legacy_id changes didn't cause the cache to get updated.
Gunnar Beutner [Wed, 30 Jan 2013 13:28:13 +0000 (14:28 +0100)]
Remove expired comments and downtimes.
Gunnar Beutner [Wed, 30 Jan 2013 12:23:00 +0000 (13:23 +0100)]
Implement external commands SCHEDULE_HOSTGROUP_SVC_DOWNTIME and SCHEDULE_SERVICEGROUP_HOST_DOWNTIME
Fixes #3582
Gunnar Beutner [Wed, 30 Jan 2013 12:02:20 +0000 (13:02 +0100)]
Make sure comment/downtime legacy IDs are always unique (even in a cluster context).
Gunnar Beutner [Wed, 30 Jan 2013 10:51:15 +0000 (11:51 +0100)]
Move exception_handler into libbase. Add handler for SIGABRT.
Fixes #3590
Gunnar Beutner [Wed, 30 Jan 2013 10:10:47 +0000 (11:10 +0100)]
Bugfix: look up legacy_id for triggered_by downtimes.
Gunnar Beutner [Wed, 30 Jan 2013 09:52:52 +0000 (10:52 +0100)]
Bugfix: Loading state files was broken.
Fixes #3562
Gunnar Beutner [Wed, 30 Jan 2013 08:59:22 +0000 (09:59 +0100)]
Use UUIDs to uniquely identify comments and downtimes.
Gunnar Beutner [Wed, 30 Jan 2013 08:19:58 +0000 (09:19 +0100)]
Removed obsolete ltdldir variable.
Gunnar Beutner [Wed, 30 Jan 2013 08:08:48 +0000 (09:08 +0100)]
Implement Utility::NewUUID().
Fixes #3589
Gunnar Beutner [Wed, 30 Jan 2013 07:42:13 +0000 (08:42 +0100)]
Get rid of the 'rm -r' stuff in autogen.sh
Michael Friedrich [Tue, 29 Jan 2013 16:24:26 +0000 (17:24 +0100)]
fix ltdl detection once again refs #3021
Gunnar Beutner [Tue, 29 Jan 2013 15:37:44 +0000 (16:37 +0100)]
Updated VS project files.
Gunnar Beutner [Tue, 29 Jan 2013 15:29:09 +0000 (16:29 +0100)]
Implemented comments.
Fixes #3558
Gunnar Beutner [Tue, 29 Jan 2013 14:02:53 +0000 (15:02 +0100)]
Updated VS project files.
Gunnar Beutner [Tue, 29 Jan 2013 14:00:39 +0000 (15:00 +0100)]
Renamed ExternalCommand to ExternalCommandProcessor.
Fixes #3579
Gunnar Beutner [Tue, 29 Jan 2013 14:00:06 +0000 (15:00 +0100)]
Bugfix: DowntimeProcessor::AddDowntime() should return new downtime ID.
Gunnar Beutner [Tue, 29 Jan 2013 13:52:30 +0000 (14:52 +0100)]
Add some more missing files.
Gunnar Beutner [Tue, 29 Jan 2013 13:50:51 +0000 (14:50 +0100)]
Added missing files.
Michael Friedrich [Tue, 29 Jan 2013 14:34:08 +0000 (15:34 +0100)]
proper return value checking of libtoolize dry-run refs #3021
ran into that with debian squeeze and sh.
Michael Friedrich [Tue, 29 Jan 2013 13:40:46 +0000 (14:40 +0100)]
fix ltdl detection failure on CentOS6 fixes #3021
libtoolize on the subshell cannot produce exit errors,
so we check as queit dry-run first and put an error to
the user.
tested on centos 6.3 x64, as well as debian wheezy with
temporarly removed /usr/share/libtool/libltdl/COPYING.LIB
Gunnar Beutner [Tue, 29 Jan 2013 13:19:54 +0000 (14:19 +0100)]
Implement downtimes.
Fixes #2833
Gunnar Beutner [Tue, 29 Jan 2013 11:11:05 +0000 (12:11 +0100)]
Allow T_STRING for dictionary keys.
Fixes #3581
Gunnar Beutner [Tue, 29 Jan 2013 11:05:46 +0000 (12:05 +0100)]
Implement Convert class, move existing type conversion functionality there
Fixes #3580
Gunnar Beutner [Mon, 28 Jan 2013 12:38:18 +0000 (13:38 +0100)]
Schedule pending services using the retry interval.
Gunnar Beutner [Mon, 28 Jan 2013 12:24:51 +0000 (13:24 +0100)]
Unset force_next_check after each check.
Gunnar Beutner [Mon, 28 Jan 2013 09:07:48 +0000 (10:07 +0100)]
Fixed incorrect variable name in ReplicationComponent::ServiceStateChangeRequestHandler.
Gunnar Beutner [Mon, 28 Jan 2013 08:48:20 +0000 (09:48 +0100)]
Decreased minimum check interval to 5 seconds.
Gunnar Beutner [Mon, 28 Jan 2013 08:43:54 +0000 (09:43 +0100)]
Fix string_iless performance issue.
Gunnar Beutner [Mon, 28 Jan 2013 08:01:47 +0000 (09:01 +0100)]
Implement statistics for passive service checks.
Gunnar Beutner [Mon, 28 Jan 2013 07:31:29 +0000 (08:31 +0100)]
Use check interval (rather than retry interval) when rescheduling passive checks.
Gunnar Beutner [Sun, 27 Jan 2013 11:13:45 +0000 (12:13 +0100)]
Reschedule services after receiving passive check results.
Gunnar Beutner [Sun, 27 Jan 2013 11:02:22 +0000 (12:02 +0100)]
Fixes host acknowledgement commands.
Gunnar Beutner [Sun, 27 Jan 2013 10:54:50 +0000 (11:54 +0100)]
Implemented status.dat support for host acknowledgements.
Gunnar Beutner [Sun, 27 Jan 2013 10:49:23 +0000 (11:49 +0100)]
Bugfix: null derefence in Service::ApplyCheckResult.
Gunnar Beutner [Sun, 27 Jan 2013 10:45:51 +0000 (11:45 +0100)]
Added missing host attributes.
Gunnar Beutner [Sun, 27 Jan 2013 10:35:47 +0000 (11:35 +0100)]
Implemented host acknowledgements.
Gunnar Beutner [Fri, 25 Jan 2013 15:21:21 +0000 (16:21 +0100)]
Reschedule service dependencies on soft state changes.
Fixes #3574
Gunnar Beutner [Fri, 25 Jan 2013 12:09:23 +0000 (13:09 +0100)]
Re-schedule checks when re-assigning them to a different checker.
Gunnar Beutner [Fri, 25 Jan 2013 11:46:49 +0000 (12:46 +0100)]
Performance improvements for *Group::GetMembers().
Gunnar Beutner [Fri, 25 Jan 2013 09:12:55 +0000 (10:12 +0100)]
Disallow DynamicObject::Set() for config variables.
Fixes #3573
Gunnar Beutner [Thu, 24 Jan 2013 22:43:34 +0000 (23:43 +0100)]
Build fix for *NIX.