]> granicus.if.org Git - icinga2/log
icinga2
11 years agoautogen.sh: s/html2man/help2man/
Michael Friedrich [Thu, 7 Feb 2013 19:48:19 +0000 (20:48 +0100)]
autogen.sh: s/html2man/help2man/

11 years agodocs/Makefile.am: keep txt in make dist
Michael Friedrich [Thu, 7 Feb 2013 19:47:57 +0000 (20:47 +0100)]
docs/Makefile.am: keep txt in make dist

11 years agoRedesign dependencies.
Gunnar Beutner [Thu, 7 Feb 2013 19:29:35 +0000 (20:29 +0100)]
Redesign dependencies.

Fixes #3646

11 years agoautomake: fix asciidoc DATA includes for make
Michael Friedrich [Thu, 7 Feb 2013 18:57:23 +0000 (19:57 +0100)]
automake: fix asciidoc DATA includes for make

fixes #3635

11 years agoCompat: implemented log_path config getter (no functionality yet)
Michael Friedrich [Thu, 7 Feb 2013 17:34:50 +0000 (18:34 +0100)]
Compat: implemented log_path config getter (no functionality yet)

fixes #2796

11 years agoasciidoc: only enable automake magic if feature enabled
Michael Friedrich [Thu, 7 Feb 2013 17:31:05 +0000 (18:31 +0100)]
asciidoc: only enable automake magic if feature enabled

refs #3230

11 years agoasciidoc: remove unused config file path from m4 detection
Michael Friedrich [Thu, 7 Feb 2013 16:40:45 +0000 (17:40 +0100)]
asciidoc: remove unused config file path from m4 detection

refs #3230

11 years agoDocumentation: add configure/m4 checks for asciidoc bin, add --disable-asciidoc-docs
Michael Friedrich [Thu, 7 Feb 2013 16:18:17 +0000 (17:18 +0100)]
Documentation: add configure/m4 checks for asciidoc bin, add --disable-asciidoc-docs

fixes #3230

11 years agoUse BOOST_CHECK() instead of BOOST_REQUIRE().
Gunnar Beutner [Thu, 7 Feb 2013 10:13:00 +0000 (11:13 +0100)]
Use BOOST_CHECK() instead of BOOST_REQUIRE().

11 years agoRemoved unused variable.
Gunnar Beutner [Thu, 7 Feb 2013 08:37:57 +0000 (09:37 +0100)]
Removed unused variable.

11 years agoMake sure that unnamed items in a dictionary are always in the order they were insert...
Gunnar Beutner [Thu, 7 Feb 2013 08:36:17 +0000 (09:36 +0100)]
Make sure that unnamed items in a dictionary are always in the order they were inserted in.

11 years agoBugfix: Removing obsolete items after reloading config is broken.
Gunnar Beutner [Thu, 7 Feb 2013 08:19:13 +0000 (09:19 +0100)]
Bugfix: Removing obsolete items after reloading config is broken.

Fixes #3644

11 years agoobjects.cache: Implement service dependencies
Gunnar Beutner [Wed, 6 Feb 2013 21:41:40 +0000 (22:41 +0100)]
objects.cache: Implement service dependencies

Fixes #3639

11 years agoDocumentation: add man pages
Gunnar Beutner [Wed, 6 Feb 2013 16:49:11 +0000 (17:49 +0100)]
Documentation: add man pages

Fixes #2844

11 years agoobjects.cache: Service definitions should include the display_name property.
Gunnar Beutner [Wed, 6 Feb 2013 14:54:13 +0000 (15:54 +0100)]
objects.cache: Service definitions should include the display_name property.

11 years agoFixed error message for the method validator.
Gunnar Beutner [Wed, 6 Feb 2013 12:25:04 +0000 (13:25 +0100)]
Fixed error message for the method validator.

11 years agoBugfix: %require didn't work if parent type had a validator for the same attribute.
Gunnar Beutner [Wed, 6 Feb 2013 12:21:55 +0000 (13:21 +0100)]
Bugfix: %require didn't work if parent type had a validator for the same attribute.

11 years agoWrite a validator for method names
Gunnar Beutner [Wed, 6 Feb 2013 12:10:14 +0000 (13:10 +0100)]
Write a validator for method names

Fixes #3637

11 years agoRemoved obsolete timeperiod code.
Gunnar Beutner [Wed, 6 Feb 2013 11:55:20 +0000 (12:55 +0100)]
Removed obsolete timeperiod code.

11 years agoUse BOOST_THROW_EXCEPTION instead of boost::throw_exception()
Gunnar Beutner [Wed, 6 Feb 2013 11:51:12 +0000 (12:51 +0100)]
Use BOOST_THROW_EXCEPTION instead of boost::throw_exception()

Fixes #3636

11 years agoFinish implementing %validator.
Gunnar Beutner [Wed, 6 Feb 2013 11:09:50 +0000 (12:09 +0100)]
Finish implementing %validator.

Fixes #3634

11 years agoBugfix: Add missing parenthesis in function call.
Gunnar Beutner [Wed, 6 Feb 2013 10:39:32 +0000 (11:39 +0100)]
Bugfix: Add missing parenthesis in function call.

11 years agoFixed incorrect variable name.
Gunnar Beutner [Wed, 6 Feb 2013 10:09:52 +0000 (11:09 +0100)]
Fixed incorrect variable name.

11 years agoImplement AsyncTask::Wait() and make completion callbacks optional.
Gunnar Beutner [Wed, 6 Feb 2013 09:53:28 +0000 (10:53 +0100)]
Implement AsyncTask::Wait() and make completion callbacks optional.

11 years agoMade command-line arguments more Unix-compliant.
Gunnar Beutner [Wed, 6 Feb 2013 08:45:44 +0000 (09:45 +0100)]
Made command-line arguments more Unix-compliant.

11 years agoConfig: Implement detection of missing required attributes
Gunnar Beutner [Tue, 5 Feb 2013 23:32:05 +0000 (00:32 +0100)]
Config: Implement detection of missing required attributes

Fixes #3627

11 years agoFixed grammar mistake.
Gunnar Beutner [Tue, 5 Feb 2013 19:23:47 +0000 (20:23 +0100)]
Fixed grammar mistake.

11 years agoFixed FreeBSD build.
Gunnar Beutner [Tue, 5 Feb 2013 19:01:52 +0000 (20:01 +0100)]
Fixed FreeBSD build.

11 years agoAdded 'clean' rule for docs/.
Gunnar Beutner [Tue, 5 Feb 2013 15:35:22 +0000 (16:35 +0100)]
Added 'clean' rule for docs/.

11 years agoDocumentation: implement make target for asciidoc generation
Gunnar Beutner [Tue, 5 Feb 2013 15:30:34 +0000 (16:30 +0100)]
Documentation: implement make target for asciidoc generation

Fixes #3230

11 years agoImplement validateOnly flag for LoadConfigFiles().
Gunnar Beutner [Tue, 5 Feb 2013 15:16:34 +0000 (16:16 +0100)]
Implement validateOnly flag for LoadConfigFiles().

11 years agoFix warnings on initial startup (i.e. without a state file).
Gunnar Beutner [Tue, 5 Feb 2013 14:43:38 +0000 (15:43 +0100)]
Fix warnings on initial startup (i.e. without a state file).

Fixes #3606

11 years agoFixed default path for the icinga2.state file.
Gunnar Beutner [Tue, 5 Feb 2013 14:39:20 +0000 (15:39 +0100)]
Fixed default path for the icinga2.state file.

11 years agoUpdate documentation: Types, #include <>
Gunnar Beutner [Tue, 5 Feb 2013 14:31:29 +0000 (15:31 +0100)]
Update documentation: Types, #include <>

Fixes #3624

11 years agoWindows build fix.
Gunnar Beutner [Tue, 5 Feb 2013 12:19:01 +0000 (13:19 +0100)]
Windows build fix.

11 years agoValidate config objects before trying to activate them.
Gunnar Beutner [Tue, 5 Feb 2013 12:06:42 +0000 (13:06 +0100)]
Validate config objects before trying to activate them.

Fixes #3619

11 years agoupdate .gitignore
Michael Friedrich [Mon, 4 Feb 2013 17:36:21 +0000 (18:36 +0100)]
update .gitignore

11 years agoDocumentation: implement make target for asciidoc generation
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

11 years agoFixed default host template.
Gunnar Beutner [Mon, 4 Feb 2013 11:58:16 +0000 (12:58 +0100)]
Fixed default host template.

11 years agoAdded init script.
Gunnar Beutner [Mon, 4 Feb 2013 11:43:16 +0000 (12:43 +0100)]
Added init script.

Fixes #3114

11 years agoWindows build fix.
Gunnar Beutner [Mon, 4 Feb 2013 08:58:45 +0000 (09:58 +0100)]
Windows build fix.

11 years agoFixed default paths for icinga2.state and icinga2.pid files.
Gunnar Beutner [Mon, 4 Feb 2013 08:48:37 +0000 (09:48 +0100)]
Fixed default paths for icinga2.state and icinga2.pid files.

11 years agoRemoved stray space in service definition.
Gunnar Beutner [Sun, 3 Feb 2013 16:36:19 +0000 (17:36 +0100)]
Removed stray space in service definition.

11 years agoService::CheckCompletedHandler: Convert exceptions to fake check results.
Gunnar Beutner [Sun, 3 Feb 2013 15:32:31 +0000 (16:32 +0100)]
Service::CheckCompletedHandler: Convert exceptions to fake check results.

11 years agoBugfix: Deadlock in SigHupHandler due to Event::Post not being signal-safe
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

11 years agoBugfix: Crash while reloading config
Gunnar Beutner [Sun, 3 Feb 2013 14:47:11 +0000 (15:47 +0100)]
Bugfix: Crash while reloading config

Fixes #3621

11 years agoDelete removed config objects after SIGHUP
Gunnar Beutner [Sun, 3 Feb 2013 11:26:22 +0000 (12:26 +0100)]
Delete removed config objects after SIGHUP

Fixes #3620

11 years agoImplemented reloading the config using SIGHUP.
Gunnar Beutner [Sun, 3 Feb 2013 10:46:17 +0000 (11:46 +0100)]
Implemented reloading the config using SIGHUP.

11 years agoTypes: Added service attributes to the host type.
Gunnar Beutner [Sun, 3 Feb 2013 10:45:56 +0000 (11:45 +0100)]
Types: Added service attributes to the host type.

11 years agoPrint DebugInfo for failed #includes
Gunnar Beutner [Sun, 3 Feb 2013 00:41:00 +0000 (01:41 +0100)]
Print DebugInfo for failed #includes

Fixes #3613

11 years agoBugfix: Make sure Utility::Glob return false if no matching files were found.
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.

11 years agoImplemented --version and made --help output prettier.
Gunnar Beutner [Sun, 3 Feb 2013 00:21:11 +0000 (01:21 +0100)]
Implemented --version and made --help output prettier.

11 years agoBugfix: Used incorrect variable for CompileFile() call.
Gunnar Beutner [Sat, 2 Feb 2013 23:02:08 +0000 (00:02 +0100)]
Bugfix: Used incorrect variable for CompileFile() call.

11 years agoGracefully deal with unknown command-line options.
Gunnar Beutner [Sat, 2 Feb 2013 22:29:02 +0000 (23:29 +0100)]
Gracefully deal with unknown command-line options.

11 years agoUse boost::program_options to parse arguments.
Gunnar Beutner [Sat, 2 Feb 2013 22:22:27 +0000 (23:22 +0100)]
Use boost::program_options to parse arguments.

Fixes #3536
Fixes #3184

11 years agoFixed compiler warnings (-Wextra).
Gunnar Beutner [Sat, 2 Feb 2013 21:13:11 +0000 (22:13 +0100)]
Fixed compiler warnings (-Wextra).

11 years agoThrow exception in Utility::ToDouble/Utility::ToLong
Gunnar Beutner [Sat, 2 Feb 2013 19:19:00 +0000 (20:19 +0100)]
Throw exception in Utility::ToDouble/Utility::ToLong

Fixes #3617

11 years agoFixed types for DynamicObject::__name and DynamicObject::_type.
Gunnar Beutner [Sat, 2 Feb 2013 19:17:33 +0000 (20:17 +0100)]
Fixed types for DynamicObject::__name and DynamicObject::_type.

11 years agoRemoved some debug output.
Gunnar Beutner [Sat, 2 Feb 2013 19:06:56 +0000 (20:06 +0100)]
Removed some debug output.

11 years agoBugfix: Don't copy the enable_checks attribute to child services.
Gunnar Beutner [Sat, 2 Feb 2013 19:05:18 +0000 (20:05 +0100)]
Bugfix: Don't copy the enable_checks attribute to child services.

11 years agoRemoved the old-style validation code.
Gunnar Beutner [Sat, 2 Feb 2013 19:00:02 +0000 (20:00 +0100)]
Removed the old-style validation code.

11 years agoBugfixes for the type validation feature.
Gunnar Beutner [Sat, 2 Feb 2013 18:56:23 +0000 (19:56 +0100)]
Bugfixes for the type validation feature.

11 years agoImplement type keyword in the config compiler
Gunnar Beutner [Sat, 2 Feb 2013 13:28:11 +0000 (14:28 +0100)]
Implement type keyword in the config compiler

Fixes #3616

11 years agoAdded missing const qualifiers.
Gunnar Beutner [Sat, 2 Feb 2013 08:19:49 +0000 (09:19 +0100)]
Added missing const qualifiers.

11 years agoConfig: implement support for wildcard includes
Gunnar Beutner [Fri, 1 Feb 2013 23:28:00 +0000 (00:28 +0100)]
Config: implement support for wildcard includes

Fixes #2771

11 years agoWindows build fix.
Gunnar Beutner [Fri, 1 Feb 2013 22:10:48 +0000 (23:10 +0100)]
Windows build fix.

11 years agoFixed log facility for messages from icinga-app.
Gunnar Beutner [Fri, 1 Feb 2013 21:52:26 +0000 (22:52 +0100)]
Fixed log facility for messages from icinga-app.

11 years agoImplement search dirs for #include.
Gunnar Beutner [Fri, 1 Feb 2013 21:44:58 +0000 (22:44 +0100)]
Implement search dirs for #include.

Fixes #3599

11 years agoBuild fix for Windows.
Gunnar Beutner [Fri, 1 Feb 2013 18:36:47 +0000 (19:36 +0100)]
Build fix for Windows.

11 years agoBugfix: Unhandled exception in Service::CheckTimerHandler.
Gunnar Beutner [Fri, 1 Feb 2013 18:27:36 +0000 (19:27 +0100)]
Bugfix: Unhandled exception in Service::CheckTimerHandler.

Fixes #3607

11 years agoDisplay "debug message" for exceptions (in addition to SIGABRT).
Gunnar Beutner [Fri, 1 Feb 2013 18:11:15 +0000 (19:11 +0100)]
Display "debug message" for exceptions (in addition to SIGABRT).

11 years agoFixed some more compiler warnings (when using -Wall).
Gunnar Beutner [Fri, 1 Feb 2013 18:02:07 +0000 (19:02 +0100)]
Fixed some more compiler warnings (when using -Wall).

11 years agoBug: clearing attributes should only reset their value and tx rather than deleting...
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

11 years agoFixed some compiler warnings.
Gunnar Beutner [Fri, 1 Feb 2013 14:44:03 +0000 (15:44 +0100)]
Fixed some compiler warnings.

11 years agoUpdated messages in the SIGABRT handler.
Gunnar Beutner [Fri, 1 Feb 2013 13:46:06 +0000 (14:46 +0100)]
Updated messages in the SIGABRT handler.

11 years agoRemoved assert()s in ConfigItemBuilder::Compile.
Gunnar Beutner [Fri, 1 Feb 2013 13:45:55 +0000 (14:45 +0100)]
Removed assert()s in ConfigItemBuilder::Compile.

11 years agoMade warning and critical messages bold.
Gunnar Beutner [Fri, 1 Feb 2013 13:21:11 +0000 (14:21 +0100)]
Made warning and critical messages bold.

11 years agoImplemented colored log messages.
Gunnar Beutner [Fri, 1 Feb 2013 13:12:24 +0000 (14:12 +0100)]
Implemented colored log messages.

11 years agoConfig: Warn about unknown attributes.
Gunnar Beutner [Fri, 1 Feb 2013 13:11:22 +0000 (14:11 +0100)]
Config: Warn about unknown attributes.

11 years agoBugfix: Missing parent object causes assert in ReplicationComponent::Stop
Gunnar Beutner [Fri, 1 Feb 2013 10:46:52 +0000 (11:46 +0100)]
Bugfix: Missing parent object causes assert in ReplicationComponent::Stop

Fixes #3601

11 years agoInitial commit of the Icinga Template Library.
Gunnar Beutner [Fri, 1 Feb 2013 10:39:06 +0000 (11:39 +0100)]
Initial commit of the Icinga Template Library.

Fixes #2977

11 years agoBugfix: Use service names instead of aliases.
Gunnar Beutner [Fri, 1 Feb 2013 09:51:45 +0000 (10:51 +0100)]
Bugfix: Use service names instead of aliases.

11 years agoImplement Service::OnCheckResultReceived, rename ServiceStateChangeMessage to CheckRe...
Gunnar Beutner [Thu, 31 Jan 2013 15:49:40 +0000 (16:49 +0100)]
Implement Service::OnCheckResultReceived, rename ServiceStateChangeMessage to CheckResultMessage

Fixes #3597

11 years agoDon't use exceptions in CommentProcessor::Get*.
Gunnar Beutner [Thu, 31 Jan 2013 15:23:02 +0000 (16:23 +0100)]
Don't use exceptions in CommentProcessor::Get*.

Fixes 3595

11 years agoConfig: Changing a template ConfigItem must cause child ConfigObjects to be updated.
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

11 years agoImplement triggered downtime for services.
Gunnar Beutner [Thu, 31 Jan 2013 12:57:14 +0000 (13:57 +0100)]
Implement triggered downtime for services.

Fixes #3583

11 years agoUse boost::lexical_cast instead of stringstreams.
Gunnar Beutner [Thu, 31 Jan 2013 09:10:51 +0000 (10:10 +0100)]
Use boost::lexical_cast instead of stringstreams.

11 years agoBugfix: Use service name in status.dat (rather than alias).
Gunnar Beutner [Thu, 31 Jan 2013 08:51:37 +0000 (09:51 +0100)]
Bugfix: Use service name in status.dat (rather than alias).

11 years agoFixed building with --disable-shared.
Gunnar Beutner [Wed, 30 Jan 2013 22:52:11 +0000 (23:52 +0100)]
Fixed building with --disable-shared.

11 years agoFixed indentation bug in Expression::DumpValue().
Gunnar Beutner [Wed, 30 Jan 2013 22:15:37 +0000 (23:15 +0100)]
Fixed indentation bug in Expression::DumpValue().

11 years agoConfig: Implement dumping the config in text form
Gunnar Beutner [Wed, 30 Jan 2013 22:02:46 +0000 (23:02 +0100)]
Config: Implement dumping the config in text form

Fixes #2754

11 years agoFixed incorrect parameters for memset().
Gunnar Beutner [Wed, 30 Jan 2013 19:49:25 +0000 (20:49 +0100)]
Fixed incorrect parameters for memset().

11 years agoBugfix: some legacy_id changes didn't cause the cache to get updated.
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.

11 years agoRemove expired comments and downtimes.
Gunnar Beutner [Wed, 30 Jan 2013 13:28:13 +0000 (14:28 +0100)]
Remove expired comments and downtimes.

11 years agoImplement external commands SCHEDULE_HOSTGROUP_SVC_DOWNTIME and SCHEDULE_SERVICEGROUP...
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

11 years agoMake sure comment/downtime legacy IDs are always unique (even in a cluster context).
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).

11 years agoMove exception_handler into libbase. Add handler for SIGABRT.
Gunnar Beutner [Wed, 30 Jan 2013 10:51:15 +0000 (11:51 +0100)]
Move exception_handler into libbase. Add handler for SIGABRT.

Fixes #3590

11 years agoBugfix: look up legacy_id for triggered_by downtimes.
Gunnar Beutner [Wed, 30 Jan 2013 10:10:47 +0000 (11:10 +0100)]
Bugfix: look up legacy_id for triggered_by downtimes.

11 years agoBugfix: Loading state files was broken.
Gunnar Beutner [Wed, 30 Jan 2013 09:52:52 +0000 (10:52 +0100)]
Bugfix: Loading state files was broken.

Fixes #3562

11 years agoUse UUIDs to uniquely identify comments and downtimes.
Gunnar Beutner [Wed, 30 Jan 2013 08:59:22 +0000 (09:59 +0100)]
Use UUIDs to uniquely identify comments and downtimes.