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

11 years agoAnother Windows build fix.
Gunnar Beutner [Thu, 7 Feb 2013 20:54:19 +0000 (21:54 +0100)]
Another Windows build fix.

11 years agoWindows build fix.
Gunnar Beutner [Thu, 7 Feb 2013 20:40:14 +0000 (21:40 +0100)]
Windows build fix.

11 years agoUpdated VS project file.
Gunnar Beutner [Thu, 7 Feb 2013 20:28:39 +0000 (21:28 +0100)]
Updated VS project file.

11 years agoAdded dummy project files for the notification component.
Gunnar Beutner [Thu, 7 Feb 2013 20:08:16 +0000 (21:08 +0100)]
Added dummy project files for the notification component.

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