]> granicus.if.org Git - icinga2/log
icinga2
11 years agoBuild ExternalCommand class on Windows (even though it's currently unused).
Gunnar Beutner [Thu, 24 Jan 2013 19:53:42 +0000 (20:53 +0100)]
Build ExternalCommand class on Windows (even though it's currently unused).

11 years agoBuild fix for FreeBSD.
Gunnar Beutner [Thu, 24 Jan 2013 19:49:55 +0000 (20:49 +0100)]
Build fix for FreeBSD.

11 years agocompatido: Update to use new *Group::GetMembers() functions
Gunnar Beutner [Thu, 24 Jan 2013 19:46:26 +0000 (20:46 +0100)]
compatido: Update to use new *Group::GetMembers() functions

Fixes #3564

11 years agoFinish implementing ExternalCommand::EnableHostgroupSvcChecks and ExternalCommand...
Gunnar Beutner [Thu, 24 Jan 2013 14:12:32 +0000 (15:12 +0100)]
Finish implementing ExternalCommand::EnableHostgroupSvcChecks and ExternalCommand::DisableHostgroupSvcChecks

Fixes #3566

11 years agoImplement Host::GetServices().
Gunnar Beutner [Thu, 24 Jan 2013 14:10:17 +0000 (15:10 +0100)]
Implement Host::GetServices().

Fixes #3565

11 years agoAdded missing *::InvalidateMembersCache() calls.
Gunnar Beutner [Thu, 24 Jan 2013 14:01:06 +0000 (15:01 +0100)]
Added missing *::InvalidateMembersCache() calls.

11 years agoImplemented the external commands "ENABLE_SERVICEGROUP_SVC_CHECKS", "DISABLE_SERVICEG...
Gunnar Beutner [Thu, 24 Jan 2013 12:39:42 +0000 (13:39 +0100)]
Implemented the external commands "ENABLE_SERVICEGROUP_SVC_CHECKS", "DISABLE_SERVICEGROUP_SVC_CHECKS" and parts of "ENABLE_HOSTGROUP_SVC_CHECKS", "DISABLE_HOSTGROUP_SVC_CHECKS".

11 years agoImplemented ServiceGroup::GetMembers() and HostGroup::GetMembers().
Gunnar Beutner [Thu, 24 Jan 2013 12:21:35 +0000 (13:21 +0100)]
Implemented ServiceGroup::GetMembers() and HostGroup::GetMembers().

11 years agoBug fix: Remove pending services from the idle services set.
Gunnar Beutner [Thu, 24 Jan 2013 10:14:17 +0000 (11:14 +0100)]
Bug fix: Remove pending services from the idle services set.

11 years agoBug fix: Continue executing checks even if the first matching service is disabled.
Gunnar Beutner [Thu, 24 Jan 2013 10:07:37 +0000 (11:07 +0100)]
Bug fix: Continue executing checks even if the first matching service is disabled.

11 years agoUpdate service state when delegation is unsuccessful
Gunnar Beutner [Thu, 24 Jan 2013 09:40:31 +0000 (10:40 +0100)]
Update service state when delegation is unsuccessful

Fixes #3548

11 years agoRemove stale subscriptions from local endpoint
Gunnar Beutner [Thu, 24 Jan 2013 09:21:26 +0000 (10:21 +0100)]
Remove stale subscriptions from local endpoint

Fixes #3563

11 years agoConfig: Implement true/false as aliases for 1/0
Gunnar Beutner [Thu, 24 Jan 2013 09:08:03 +0000 (10:08 +0100)]
Config: Implement true/false as aliases for 1/0

Fixes #3551

11 years agoWindows fix for ConfigCompiler::ReadInput.
Gunnar Beutner [Wed, 23 Jan 2013 20:58:19 +0000 (21:58 +0100)]
Windows fix for ConfigCompiler::ReadInput.

11 years agoDon't allow acknowledgements for services that are OK.
Gunnar Beutner [Wed, 23 Jan 2013 15:18:58 +0000 (16:18 +0100)]
Don't allow acknowledgements for services that are OK.

11 years agoFixed ExternalCommand::ScheduleHostSvcChecks().
Gunnar Beutner [Wed, 23 Jan 2013 15:07:55 +0000 (16:07 +0100)]
Fixed ExternalCommand::ScheduleHostSvcChecks().

11 years agoDisable debugging by default.
Gunnar Beutner [Wed, 23 Jan 2013 14:54:08 +0000 (15:54 +0100)]
Disable debugging by default.

11 years agoChecker: don't report missed checks after restarting Icinga
Gunnar Beutner [Wed, 23 Jan 2013 14:25:00 +0000 (15:25 +0100)]
Checker: don't report missed checks after restarting Icinga

Fixes #3253

11 years agoBugfixes for acknowledgements.
Gunnar Beutner [Wed, 23 Jan 2013 12:46:35 +0000 (13:46 +0100)]
Bugfixes for acknowledgements.

11 years agoImplement acknowledgements.
Gunnar Beutner [Wed, 23 Jan 2013 12:21:07 +0000 (13:21 +0100)]
Implement acknowledgements.

Fixes #3557

11 years agoImplemented the external commands "ENABLE_HOST_SVC_CHECKS" and "DISABLE_HOST_SVC_CHECKS".
Gunnar Beutner [Wed, 23 Jan 2013 09:51:54 +0000 (10:51 +0100)]
Implemented the external commands "ENABLE_HOST_SVC_CHECKS" and "DISABLE_HOST_SVC_CHECKS".

11 years agoImplement the external commands "SCHEDULE_FORCED_HOST_SVC_CHECKS" and "SCHEDULE_HOST_...
Gunnar Beutner [Wed, 23 Jan 2013 09:42:16 +0000 (10:42 +0100)]
Implement the external commands "SCHEDULE_FORCED_HOST_SVC_CHECKS" and "SCHEDULE_HOST_SVC_CHECKS".

11 years agoThrow exception for missing types.
Gunnar Beutner [Wed, 23 Jan 2013 09:41:38 +0000 (10:41 +0100)]
Throw exception for missing types.

11 years agoReuse pipe inode if it already exists.
Gunnar Beutner [Wed, 23 Jan 2013 09:18:23 +0000 (10:18 +0100)]
Reuse pipe inode if it already exists.

Fixes #3552

11 years agoProperly deal with I/O errors when parsing config files.
Gunnar Beutner [Wed, 23 Jan 2013 08:57:06 +0000 (09:57 +0100)]
Properly deal with I/O errors when parsing config files.

Fixes #3152

11 years agoImplement --enable-debug configure option.
Gunnar Beutner [Wed, 23 Jan 2013 08:45:25 +0000 (09:45 +0100)]
Implement --enable-debug configure option.

Fixes #3254

11 years agoImplemented external command "SHUTDOWN_PROGRAM".
Gunnar Beutner [Tue, 22 Jan 2013 15:23:25 +0000 (16:23 +0100)]
Implemented external command "SHUTDOWN_PROGRAM".

11 years agoRemoved enable_checks option from documentation.
Gunnar Beutner [Tue, 22 Jan 2013 15:22:57 +0000 (16:22 +0100)]
Removed enable_checks option from documentation.

11 years agoImplement enable_checks property for services.
Gunnar Beutner [Tue, 22 Jan 2013 15:01:08 +0000 (16:01 +0100)]
Implement enable_checks property for services.

Fixes #3550

11 years agoExternalCommand: use exceptions instead of return values.
Gunnar Beutner [Tue, 22 Jan 2013 14:13:51 +0000 (15:13 +0100)]
ExternalCommand: use exceptions instead of return values.

Fixes #3549

11 years agoImplemented the external commands SCHEDULE_SVC_CHECK and SCHEDULE_FORCED_SVC_CHECK.
Gunnar Beutner [Tue, 22 Jan 2013 11:56:29 +0000 (12:56 +0100)]
Implemented the external commands SCHEDULE_SVC_CHECK and SCHEDULE_FORCED_SVC_CHECK.

11 years agoImplement property change handler for next_check.
Gunnar Beutner [Tue, 22 Jan 2013 11:44:23 +0000 (12:44 +0100)]
Implement property change handler for next_check.

Fixes #3547

11 years agoPass through timestamps to external command handlers.
Gunnar Beutner [Tue, 22 Jan 2013 11:39:33 +0000 (12:39 +0100)]
Pass through timestamps to external command handlers.

11 years agoImplemented the PROCESS_SERVICE_CHECK_RESULT external command.
Gunnar Beutner [Tue, 22 Jan 2013 11:05:36 +0000 (12:05 +0100)]
Implemented the PROCESS_SERVICE_CHECK_RESULT external command.

11 years agoFixed invalid cast in Service::BeginExecuteCheck().
Gunnar Beutner [Tue, 22 Jan 2013 10:11:11 +0000 (11:11 +0100)]
Fixed invalid cast in Service::BeginExecuteCheck().

11 years agoMove service check code into the Service class.
Gunnar Beutner [Tue, 22 Jan 2013 10:07:09 +0000 (11:07 +0100)]
Move service check code into the Service class.

Fixes #3546

11 years agoImplement support for anonymous multicast messages.
Gunnar Beutner [Tue, 22 Jan 2013 09:14:52 +0000 (10:14 +0100)]
Implement support for anonymous multicast messages.

Fixes #3545

11 years agoAdded missing I2_ICINGA_API specifier for the TimePeriod class.
Gunnar Beutner [Tue, 22 Jan 2013 09:14:08 +0000 (10:14 +0100)]
Added missing I2_ICINGA_API specifier for the TimePeriod class.

11 years agoRefactor scheduling stuff from *CheckTask into the checker component
Gunnar Beutner [Tue, 22 Jan 2013 08:33:57 +0000 (09:33 +0100)]
Refactor scheduling stuff from *CheckTask into the checker component

Fixes #3067

11 years agoImplement REGISTER_SCRIPTFUNCTION() and clean up how check types are registered.
Gunnar Beutner [Tue, 22 Jan 2013 08:21:50 +0000 (09:21 +0100)]
Implement REGISTER_SCRIPTFUNCTION() and clean up how check types are registered.

11 years agoRemove InitializeLibrary TODO.
Gunnar Beutner [Tue, 22 Jan 2013 08:04:36 +0000 (09:04 +0100)]
Remove InitializeLibrary TODO.

Closes #3538

11 years agoDisable command pipe functionality on Windows.
Gunnar Beutner [Tue, 22 Jan 2013 07:47:56 +0000 (08:47 +0100)]
Disable command pipe functionality on Windows.

11 years agoImplemented support for external commands.
Gunnar Beutner [Tue, 22 Jan 2013 07:34:29 +0000 (08:34 +0100)]
Implemented support for external commands.

11 years agoRemove /GM flag for Debug|x64
Gunnar Beutner [Tue, 22 Jan 2013 07:26:47 +0000 (08:26 +0100)]
Remove /GM flag for Debug|x64

Fixes #3537

11 years agoImplement support for time periods.
Gunnar Beutner [Mon, 21 Jan 2013 12:47:36 +0000 (13:47 +0100)]
Implement support for time periods.

11 years agoUse String::ToString() in CompatComponent::ProcessCommand().
Gunnar Beutner [Mon, 21 Jan 2013 12:45:27 +0000 (13:45 +0100)]
Use String::ToString() in CompatComponent::ProcessCommand().

11 years agoImplement String::ToDouble().
Gunnar Beutner [Mon, 21 Jan 2013 12:44:17 +0000 (13:44 +0100)]
Implement String::ToDouble().

Fixes #3544.

11 years agoImplemented parsing command pipe data.
Gunnar Beutner [Mon, 21 Jan 2013 12:39:20 +0000 (13:39 +0100)]
Implemented parsing command pipe data.

11 years agoMade String::Split() const.
Gunnar Beutner [Mon, 21 Jan 2013 12:29:00 +0000 (13:29 +0100)]
Made String::Split() const.

11 years agoFixed incorrect argument name.
Gunnar Beutner [Mon, 21 Jan 2013 12:21:10 +0000 (13:21 +0100)]
Fixed incorrect argument name.

11 years agoImplemented command pipe (sort of).
Gunnar Beutner [Mon, 21 Jan 2013 12:08:08 +0000 (13:08 +0100)]
Implemented command pipe (sort of).

11 years agoFix: replicated & local endpoints should not have local: prefix.
Gunnar Beutner [Fri, 18 Jan 2013 09:37:22 +0000 (10:37 +0100)]
Fix: replicated & local endpoints should not have local: prefix.

11 years agoFix: DynamicObject::Unregister() failed to unregister objects.
Gunnar Beutner [Fri, 18 Jan 2013 08:55:05 +0000 (09:55 +0100)]
Fix: DynamicObject::Unregister() failed to unregister objects.

11 years agoFix: Endpoints were not properly marked as local.
Gunnar Beutner [Fri, 18 Jan 2013 08:36:28 +0000 (09:36 +0100)]
Fix: Endpoints were not properly marked as local.

11 years agoImplemented the #library directive and fixed loading icinga.dll on Windows.
Gunnar Beutner [Thu, 17 Jan 2013 14:05:34 +0000 (15:05 +0100)]
Implemented the #library directive and fixed loading icinga.dll on Windows.

11 years agoFixed bug with invalid type in state files.
Gunnar Beutner [Thu, 17 Jan 2013 14:03:44 +0000 (15:03 +0100)]
Fixed bug with invalid type in state files.

11 years agoFixed DynamicObject::DumpObjects().
Gunnar Beutner [Tue, 4 Dec 2012 14:41:07 +0000 (15:41 +0100)]
Fixed DynamicObject::DumpObjects().

11 years agoRemoved obsolete comment.
Gunnar Beutner [Tue, 4 Dec 2012 14:37:41 +0000 (15:37 +0100)]
Removed obsolete comment.

11 years agoImplemented DynamicType support.
Gunnar Beutner [Tue, 4 Dec 2012 07:42:24 +0000 (08:42 +0100)]
Implemented DynamicType support.

Fixes #3477

11 years agoFixed build warning for compatido.
Gunnar Beutner [Mon, 26 Nov 2012 07:33:40 +0000 (08:33 +0100)]
Fixed build warning for compatido.

11 years agoRefactored IcingaApplication::Get*().
Gunnar Beutner [Mon, 26 Nov 2012 07:30:52 +0000 (08:30 +0100)]
Refactored IcingaApplication::Get*().

Fixes #3209, #3277

11 years agoAdded some more code documentation.
Gunnar Beutner [Mon, 26 Nov 2012 07:29:26 +0000 (08:29 +0100)]
Added some more code documentation.

11 years agoBuild fix for *NIX.
Gunnar Beutner [Fri, 23 Nov 2012 11:34:06 +0000 (12:34 +0100)]
Build fix for *NIX.

11 years agoMinor cleanups.
Gunnar Beutner [Fri, 23 Nov 2012 10:04:08 +0000 (11:04 +0100)]
Minor cleanups.

11 years agoImplemented the StdioStream and UnixSocket classes.
Gunnar Beutner [Fri, 23 Nov 2012 10:02:34 +0000 (11:02 +0100)]
Implemented the StdioStream and UnixSocket classes.

11 years agoFixed indentation.
Gunnar Beutner [Thu, 22 Nov 2012 12:16:38 +0000 (13:16 +0100)]
Fixed indentation.

11 years agoBuild fix for *NIX.
Gunnar Beutner [Thu, 22 Nov 2012 11:12:24 +0000 (12:12 +0100)]
Build fix for *NIX.

11 years agoRefactored the socket classes.
Gunnar Beutner [Thu, 22 Nov 2012 11:04:32 +0000 (12:04 +0100)]
Refactored the socket classes.

11 years agoFixed incorrect use of boost::algorithm::is_iless.
Gunnar Beutner [Wed, 31 Oct 2012 11:06:21 +0000 (12:06 +0100)]
Fixed incorrect use of boost::algorithm::is_iless.

11 years agoMade type and attribute names case-insensitive.
Gunnar Beutner [Tue, 23 Oct 2012 13:57:45 +0000 (15:57 +0200)]
Made type and attribute names case-insensitive.

Fixes #3223

11 years agoRemoved duplicate config files. v0.0.1
Gunnar Beutner [Fri, 19 Oct 2012 10:17:06 +0000 (12:17 +0200)]
Removed duplicate config files.

11 years agoContrib: add demo configuration from osmc 2012 presentation
Michael Friedrich [Fri, 19 Oct 2012 10:07:32 +0000 (12:07 +0200)]
Contrib: add demo configuration from osmc 2012 presentation

11 years agoFixed VS filters for pluginchecktask.cpp and pluginchecktask.h.
Gunnar Beutner [Wed, 17 Oct 2012 10:28:22 +0000 (12:28 +0200)]
Fixed VS filters for pluginchecktask.cpp and pluginchecktask.h.

11 years agoFix: Added missing DLL exports for Windows.
Gunnar Beutner [Wed, 17 Oct 2012 10:03:07 +0000 (12:03 +0200)]
Fix: Added missing DLL exports for Windows.

11 years agoFix: Renaming temp files didn't work on Windows.
Gunnar Beutner [Wed, 17 Oct 2012 09:35:06 +0000 (11:35 +0200)]
Fix: Renaming temp files didn't work on Windows.

Fixes #3216

11 years agoAdded missing GPL headers.
Gunnar Beutner [Tue, 16 Oct 2012 08:41:54 +0000 (10:41 +0200)]
Added missing GPL headers.

11 years agoChanged version number (again).
Gunnar Beutner [Tue, 16 Oct 2012 08:27:29 +0000 (10:27 +0200)]
Changed version number (again).

11 years agoAdded disclaimer text to "configure".
Gunnar Beutner [Tue, 16 Oct 2012 07:54:06 +0000 (09:54 +0200)]
Added disclaimer text to "configure".

11 years agoDocumentation: remove log_path from icingaApplication as well (refs #3277)
Michael Friedrich [Mon, 15 Oct 2012 22:06:21 +0000 (00:06 +0200)]
Documentation: remove log_path from icingaApplication as well (refs #3277)

11 years agoChanged log level for debug message.
Gunnar Beutner [Mon, 15 Oct 2012 16:25:56 +0000 (18:25 +0200)]
Changed log level for debug message.

11 years agoFixed example config.
Gunnar Beutner [Mon, 15 Oct 2012 15:55:54 +0000 (17:55 +0200)]
Fixed example config.

11 years agoUpdated version number (2.0.0a1).
Gunnar Beutner [Mon, 15 Oct 2012 12:57:50 +0000 (14:57 +0200)]
Updated version number (2.0.0a1).

11 years agoConfig: remove log_path config option from IcingaApplication (refs #3277)
Michael Friedrich [Mon, 15 Oct 2012 12:39:49 +0000 (14:39 +0200)]
Config: remove log_path config option from IcingaApplication (refs #3277)

11 years agoFixed grammar mistake.
Gunnar Beutner [Mon, 15 Oct 2012 06:54:08 +0000 (08:54 +0200)]
Fixed grammar mistake.

11 years agoOnly log check timer when we actually created any tasks.
Gunnar Beutner [Mon, 15 Oct 2012 06:52:31 +0000 (08:52 +0200)]
Only log check timer when we actually created any tasks.

11 years agoBugfix: services property doesn't work when the first host definition is abstract.
Gunnar Beutner [Mon, 15 Oct 2012 06:45:14 +0000 (08:45 +0200)]
Bugfix: services property doesn't work when the first host definition is abstract.

Fixes #3300

11 years agoIgnore Windows new-lines.
Gunnar Beutner [Mon, 15 Oct 2012 06:27:07 +0000 (08:27 +0200)]
Ignore Windows new-lines.

Fixes #3292

11 years agoBugfix: Delegation didn't work for local-only instances.
Gunnar Beutner [Fri, 12 Oct 2012 13:45:33 +0000 (15:45 +0200)]
Bugfix: Delegation didn't work for local-only instances.

11 years agoExample config: Renamed host "localhost-i2" to "localhost".
Gunnar Beutner [Fri, 12 Oct 2012 11:14:44 +0000 (13:14 +0200)]
Example config: Renamed host "localhost-i2" to "localhost".

11 years agoConfig: only use one sample localhost
Michael Friedrich [Fri, 12 Oct 2012 10:31:20 +0000 (12:31 +0200)]
Config: only use one sample localhost

11 years agoBuild fix for FreeBSD.
Gunnar Beutner [Fri, 12 Oct 2012 08:50:16 +0000 (10:50 +0200)]
Build fix for FreeBSD.

Fixes #3271

11 years agoBugfix: The delegation component should use only non-local checker endpoints.
Gunnar Beutner [Fri, 12 Oct 2012 08:33:11 +0000 (10:33 +0200)]
Bugfix: The delegation component should use only non-local checker endpoints.

11 years agoDon't write local-only objects to the state file.
Gunnar Beutner [Fri, 12 Oct 2012 08:16:03 +0000 (10:16 +0200)]
Don't write local-only objects to the state file.

11 years agoBugfix: Replicated objects weren't removed on peer instances when they were removed...
Gunnar Beutner [Fri, 12 Oct 2012 07:58:34 +0000 (09:58 +0200)]
Bugfix: Replicated objects weren't removed on peer instances when they were removed on the source instance.

11 years agoConfig: add Logger to win32 config too, for debug console
Michael Friedrich [Thu, 11 Oct 2012 22:43:39 +0000 (00:43 +0200)]
Config: add Logger to win32 config too, for debug console

11 years agoupdate .gitignore for docs and binaries
Michael Friedrich [Thu, 11 Oct 2012 14:20:37 +0000 (16:20 +0200)]
update .gitignore for docs and binaries

11 years agoBugfix: Connecting to a remote node crashes Icinga2.
Gunnar Beutner [Thu, 11 Oct 2012 12:17:40 +0000 (14:17 +0200)]
Bugfix: Connecting to a remote node crashes Icinga2.

11 years agoRemove path spec from the console logger.
Gunnar Beutner [Thu, 11 Oct 2012 08:27:58 +0000 (10:27 +0200)]
Remove path spec from the console logger.

11 years agoCompat IDO: move some log msg to debug level
Michael Friedrich [Mon, 8 Oct 2012 22:59:43 +0000 (00:59 +0200)]
Compat IDO: move some log msg to debug level

11 years agoConfig: add a demo service example (since #3250 is now fixed)
Michael Friedrich [Mon, 8 Oct 2012 22:27:35 +0000 (00:27 +0200)]
Config: add a demo service example (since #3250 is now fixed)