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

11 years agoRemoved obsolete ltdldir variable.
Gunnar Beutner [Wed, 30 Jan 2013 08:19:58 +0000 (09:19 +0100)]
Removed obsolete ltdldir variable.

11 years agoImplement Utility::NewUUID().
Gunnar Beutner [Wed, 30 Jan 2013 08:08:48 +0000 (09:08 +0100)]
Implement Utility::NewUUID().

Fixes #3589

11 years agoGet rid of the 'rm -r' stuff in autogen.sh
Gunnar Beutner [Wed, 30 Jan 2013 07:42:13 +0000 (08:42 +0100)]
Get rid of the 'rm -r' stuff in autogen.sh

11 years agofix ltdl detection once again refs #3021
Michael Friedrich [Tue, 29 Jan 2013 16:24:26 +0000 (17:24 +0100)]
fix ltdl detection once again refs #3021

11 years agoUpdated VS project files.
Gunnar Beutner [Tue, 29 Jan 2013 15:37:44 +0000 (16:37 +0100)]
Updated VS project files.

11 years agoImplemented comments.
Gunnar Beutner [Tue, 29 Jan 2013 15:29:09 +0000 (16:29 +0100)]
Implemented comments.

Fixes #3558

11 years agoUpdated VS project files.
Gunnar Beutner [Tue, 29 Jan 2013 14:02:53 +0000 (15:02 +0100)]
Updated VS project files.

11 years agoRenamed ExternalCommand to ExternalCommandProcessor.
Gunnar Beutner [Tue, 29 Jan 2013 14:00:39 +0000 (15:00 +0100)]
Renamed ExternalCommand to ExternalCommandProcessor.

Fixes #3579

11 years agoBugfix: DowntimeProcessor::AddDowntime() should return new downtime ID.
Gunnar Beutner [Tue, 29 Jan 2013 14:00:06 +0000 (15:00 +0100)]
Bugfix: DowntimeProcessor::AddDowntime() should return new downtime ID.

11 years agoAdd some more missing files.
Gunnar Beutner [Tue, 29 Jan 2013 13:52:30 +0000 (14:52 +0100)]
Add some more missing files.

11 years agoAdded missing files.
Gunnar Beutner [Tue, 29 Jan 2013 13:50:51 +0000 (14:50 +0100)]
Added missing files.

11 years agoproper return value checking of libtoolize dry-run refs #3021
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.

11 years agofix ltdl detection failure on CentOS6 fixes #3021
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

11 years agoImplement downtimes.
Gunnar Beutner [Tue, 29 Jan 2013 13:19:54 +0000 (14:19 +0100)]
Implement downtimes.

Fixes #2833

11 years agoAllow T_STRING for dictionary keys.
Gunnar Beutner [Tue, 29 Jan 2013 11:11:05 +0000 (12:11 +0100)]
Allow T_STRING for dictionary keys.

Fixes #3581

11 years agoImplement Convert class, move existing type conversion functionality there
Gunnar Beutner [Tue, 29 Jan 2013 11:05:46 +0000 (12:05 +0100)]
Implement Convert class, move existing type conversion functionality there

Fixes #3580

11 years agoSchedule pending services using the retry interval.
Gunnar Beutner [Mon, 28 Jan 2013 12:38:18 +0000 (13:38 +0100)]
Schedule pending services using the retry interval.

11 years agoUnset force_next_check after each check.
Gunnar Beutner [Mon, 28 Jan 2013 12:24:51 +0000 (13:24 +0100)]
Unset force_next_check after each check.

11 years agoFixed incorrect variable name in ReplicationComponent::ServiceStateChangeRequestHandler.
Gunnar Beutner [Mon, 28 Jan 2013 09:07:48 +0000 (10:07 +0100)]
Fixed incorrect variable name in ReplicationComponent::ServiceStateChangeRequestHandler.

11 years agoDecreased minimum check interval to 5 seconds.
Gunnar Beutner [Mon, 28 Jan 2013 08:48:20 +0000 (09:48 +0100)]
Decreased minimum check interval to 5 seconds.

11 years agoFix string_iless performance issue.
Gunnar Beutner [Mon, 28 Jan 2013 08:43:54 +0000 (09:43 +0100)]
Fix string_iless performance issue.

11 years agoImplement statistics for passive service checks.
Gunnar Beutner [Mon, 28 Jan 2013 08:01:47 +0000 (09:01 +0100)]
Implement statistics for passive service checks.

11 years agoUse check interval (rather than retry interval) when rescheduling passive 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.

11 years agoReschedule services after receiving passive check results.
Gunnar Beutner [Sun, 27 Jan 2013 11:13:45 +0000 (12:13 +0100)]
Reschedule services after receiving passive check results.

11 years agoFixes host acknowledgement commands.
Gunnar Beutner [Sun, 27 Jan 2013 11:02:22 +0000 (12:02 +0100)]
Fixes host acknowledgement commands.

11 years agoImplemented status.dat support for host acknowledgements.
Gunnar Beutner [Sun, 27 Jan 2013 10:54:50 +0000 (11:54 +0100)]
Implemented status.dat support for host acknowledgements.

11 years agoBugfix: null derefence in Service::ApplyCheckResult.
Gunnar Beutner [Sun, 27 Jan 2013 10:49:23 +0000 (11:49 +0100)]
Bugfix: null derefence in Service::ApplyCheckResult.

11 years agoAdded missing host attributes.
Gunnar Beutner [Sun, 27 Jan 2013 10:45:51 +0000 (11:45 +0100)]
Added missing host attributes.

11 years agoImplemented host acknowledgements.
Gunnar Beutner [Sun, 27 Jan 2013 10:35:47 +0000 (11:35 +0100)]
Implemented host acknowledgements.

11 years agoReschedule service dependencies on soft state changes.
Gunnar Beutner [Fri, 25 Jan 2013 15:21:21 +0000 (16:21 +0100)]
Reschedule service dependencies on soft state changes.

Fixes #3574

11 years agoRe-schedule checks when re-assigning them to a different checker.
Gunnar Beutner [Fri, 25 Jan 2013 12:09:23 +0000 (13:09 +0100)]
Re-schedule checks when re-assigning them to a different checker.

11 years agoPerformance improvements for *Group::GetMembers().
Gunnar Beutner [Fri, 25 Jan 2013 11:46:49 +0000 (12:46 +0100)]
Performance improvements for *Group::GetMembers().

11 years agoDisallow DynamicObject::Set() for config variables.
Gunnar Beutner [Fri, 25 Jan 2013 09:12:55 +0000 (10:12 +0100)]
Disallow DynamicObject::Set() for config variables.

Fixes #3573

11 years agoBuild fix for *NIX.
Gunnar Beutner [Thu, 24 Jan 2013 22:43:34 +0000 (23:43 +0100)]
Build fix for *NIX.

11 years agoImplement the PROCESS_FILE external command.
Gunnar Beutner [Thu, 24 Jan 2013 22:42:02 +0000 (23:42 +0100)]
Implement the PROCESS_FILE external command.

11 years agoImplement support for enabling/disabling passive checks.
Gunnar Beutner [Thu, 24 Jan 2013 22:10:07 +0000 (23:10 +0100)]
Implement support for enabling/disabling passive checks.

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().