]> granicus.if.org Git - icinga2/log
icinga2
11 years agoImplement cluster events for comments.
Gunnar Beutner [Wed, 28 Aug 2013 12:59:41 +0000 (14:59 +0200)]
Implement cluster events for comments.

11 years agoImplement some cluster events.
Gunnar Beutner [Wed, 28 Aug 2013 09:12:20 +0000 (11:12 +0200)]
Implement some cluster events.

11 years agoAdd error info for ftruncate() call.
Gunnar Beutner [Wed, 28 Aug 2013 08:48:19 +0000 (10:48 +0200)]
Add error info for ftruncate() call.

11 years agoRefactor ASSERT macro.
Gunnar Beutner [Wed, 28 Aug 2013 06:18:58 +0000 (08:18 +0200)]
Refactor ASSERT macro.

11 years agospec: Add TODO for el5 boost pkg.
Michael Friedrich [Tue, 27 Aug 2013 17:36:03 +0000 (19:36 +0200)]
spec: Add TODO for el5 boost pkg.

11 years agoBug fix for ThreadPool::KillWorker().
Gunnar Beutner [Tue, 27 Aug 2013 13:57:00 +0000 (15:57 +0200)]
Bug fix for ThreadPool::KillWorker().

11 years agoRefactor JSON-RPC library and implement check-result messages.
Gunnar Beutner [Tue, 27 Aug 2013 10:21:41 +0000 (12:21 +0200)]
Refactor JSON-RPC library and implement check-result messages.

11 years agoClean up JSON-RPC library.
Gunnar Beutner [Mon, 26 Aug 2013 14:53:17 +0000 (16:53 +0200)]
Clean up JSON-RPC library.

11 years agoRemove the replication feature and clean up the code.
Gunnar Beutner [Tue, 20 Aug 2013 09:06:04 +0000 (11:06 +0200)]
Remove the replication feature and clean up the code.

11 years agoWindows x64 build fix.
Michael Friedrich [Tue, 20 Aug 2013 10:50:24 +0000 (12:50 +0200)]
Windows x64 build fix.

11 years agoWindows build fix.
Gunnar Beutner [Tue, 20 Aug 2013 06:29:38 +0000 (08:29 +0200)]
Windows build fix.

11 years agoImplement missing + operator for the Value class.
Gunnar Beutner [Mon, 19 Aug 2013 06:53:59 +0000 (08:53 +0200)]
Implement missing + operator for the Value class.

Fixes #4497

11 years agoPerfdata: Fix config validation warning.
Michael Friedrich [Fri, 16 Aug 2013 15:24:59 +0000 (17:24 +0200)]
Perfdata: Fix config validation warning.

11 years agoConfig: Fix docs suggestion.
Michael Friedrich [Fri, 16 Aug 2013 15:24:22 +0000 (17:24 +0200)]
Config: Fix docs suggestion.

11 years agospec: Fix missing files/directories.
Michael Friedrich [Fri, 16 Aug 2013 14:58:31 +0000 (16:58 +0200)]
spec: Fix missing files/directories.

11 years agospec: Install icinga2.conf by default.
Michael Friedrich [Fri, 16 Aug 2013 14:34:24 +0000 (16:34 +0200)]
spec: Install icinga2.conf by default.

fixes #4523

11 years agospec: Fix buildrequires.
Michael Friedrich [Fri, 16 Aug 2013 14:17:14 +0000 (16:17 +0200)]
spec: Fix buildrequires.

11 years agodocs: Build as book, not article.
Michael Friedrich [Fri, 16 Aug 2013 14:14:14 +0000 (16:14 +0200)]
docs: Build as book, not article.

11 years agos/sbin/bin/ in docs, spec
Michael Friedrich [Fri, 16 Aug 2013 12:52:34 +0000 (14:52 +0200)]
s/sbin/bin/ in docs, spec

refs #4539

11 years agoFix Icinga 2 Binary is in the wrong directory.
Michael Friedrich [Fri, 16 Aug 2013 12:50:01 +0000 (14:50 +0200)]
Fix Icinga 2 Binary is in the wrong directory.

fixes #4539

11 years agomake: Create /var/spool/icinga2/perfdata on install.
Michael Friedrich [Fri, 16 Aug 2013 11:35:19 +0000 (13:35 +0200)]
make: Create /var/spool/icinga2/perfdata on install.

refs #4568

11 years agodocs: add perfdata/livestatus/ido types
Michael Friedrich [Fri, 16 Aug 2013 10:43:35 +0000 (12:43 +0200)]
docs: add perfdata/livestatus/ido types

11 years agoido: Rename component with ido prefix.
Michael Friedrich [Fri, 16 Aug 2013 09:15:05 +0000 (11:15 +0200)]
ido: Rename component with ido prefix.

This marks the configuration object as ido specific mysql db connection.

refs #3307

11 years agodocs: add migration/compat basics
Michael Friedrich [Thu, 15 Aug 2013 15:50:12 +0000 (17:50 +0200)]
docs: add migration/compat basics

11 years agoDocumentation: Fix section 1 headers.
Michael Friedrich [Wed, 14 Aug 2013 13:19:45 +0000 (15:19 +0200)]
Documentation: Fix section 1 headers.

11 years agoDocumentation: Include all chapters in single file for post-processing
Michael Friedrich [Wed, 14 Aug 2013 13:11:50 +0000 (15:11 +0200)]
Documentation: Include all chapters in single file for post-processing

... into docbook html later.

11 years agodocs: add install/config/main pages
Michael Friedrich [Wed, 14 Aug 2013 11:46:13 +0000 (13:46 +0200)]
docs: add install/config/main pages

11 years agoFix build on debian squeeze.
Michael Friedrich [Tue, 13 Aug 2013 20:07:05 +0000 (22:07 +0200)]
Fix build on debian squeeze.

11 years agocontrib: Add MF's test config for compat/ido/livestatus
Michael Friedrich [Mon, 12 Aug 2013 11:33:51 +0000 (13:33 +0200)]
contrib: Add MF's test config for compat/ido/livestatus

11 years agoido: Restore comments/downtimes on config change.
Michael Friedrich [Mon, 12 Aug 2013 09:08:29 +0000 (11:08 +0200)]
ido: Restore comments/downtimes on config change.

refs #4378
refs #4380

11 years agocomments: Only send signal on removal.
Michael Friedrich [Mon, 12 Aug 2013 09:07:48 +0000 (11:07 +0200)]
comments: Only send signal on removal.

11 years agoido: Add preliminary support for downtimes.
Gunnar Beutner [Fri, 9 Aug 2013 13:30:28 +0000 (15:30 +0200)]
ido: Add preliminary support for downtimes.

11 years agocontrib: Add stderr print to flap.sh
Michael Friedrich [Fri, 9 Aug 2013 12:59:09 +0000 (14:59 +0200)]
contrib: Add stderr print to flap.sh

11 years agocompat: Fix wrong const placement.
Michael Friedrich [Fri, 9 Aug 2013 12:29:56 +0000 (14:29 +0200)]
compat: Fix wrong const placement.

11 years agoido: Clean up newlines.
Gunnar Beutner [Fri, 9 Aug 2013 12:26:17 +0000 (14:26 +0200)]
ido: Clean up newlines.

11 years agoido: Fix const placement for arguments.
Gunnar Beutner [Fri, 9 Aug 2013 12:22:56 +0000 (14:22 +0200)]
ido: Fix const placement for arguments.

11 years agocompat: fix customvar exclude
Michael Friedrich [Fri, 9 Aug 2013 12:07:44 +0000 (14:07 +0200)]
compat: fix customvar exclude

11 years agoido: Add host/service customvariables.
Michael Friedrich [Fri, 9 Aug 2013 11:55:50 +0000 (13:55 +0200)]
ido: Add host/service customvariables.

refs #4378

11 years agocompat: Add CompatUtility::GetCustomVariableConfig().
Michael Friedrich [Fri, 9 Aug 2013 11:55:04 +0000 (13:55 +0200)]
compat: Add CompatUtility::GetCustomVariableConfig().

11 years agoido: Add missing check_type for host/service status tables.
Michael Friedrich [Fri, 9 Aug 2013 10:35:42 +0000 (12:35 +0200)]
ido: Add missing check_type for host/service status tables.

refs #4380

11 years agoido: Use relative timestamps for the timeranges.
Gunnar Beutner [Fri, 9 Aug 2013 09:07:55 +0000 (11:07 +0200)]
ido: Use relative timestamps for the timeranges.

11 years agoido: Implement support for timeranges.
Gunnar Beutner [Fri, 9 Aug 2013 08:39:03 +0000 (10:39 +0200)]
ido: Implement support for timeranges.

11 years agodocs: add ido_mysql table_prefix to tutorial
Michael Friedrich [Thu, 8 Aug 2013 15:57:10 +0000 (17:57 +0200)]
docs: add ido_mysql table_prefix to tutorial

11 years agoido: Remove commanddbobject debug output.
Michael Friedrich [Thu, 8 Aug 2013 15:53:27 +0000 (17:53 +0200)]
ido: Remove commanddbobject debug output.

11 years agoconfig: Add missing attributes removing warnings.
Michael Friedrich [Thu, 8 Aug 2013 15:52:30 +0000 (17:52 +0200)]
config: Add missing attributes removing warnings.

11 years agoido: Build ido_mysql only if mysql headers/libs detected.
Michael Friedrich [Thu, 8 Aug 2013 14:44:16 +0000 (16:44 +0200)]
ido: Build ido_mysql only if mysql headers/libs detected.

fixes #4416

11 years agoAdd missing query parameters.
Gunnar Beutner [Thu, 8 Aug 2013 06:52:20 +0000 (08:52 +0200)]
Add missing query parameters.

11 years agoido: Implement support for runtimevariables.
Gunnar Beutner [Thu, 8 Aug 2013 06:47:29 +0000 (08:47 +0200)]
ido: Implement support for runtimevariables.

11 years agoImplement status updates for contacts.
Gunnar Beutner [Thu, 8 Aug 2013 06:30:19 +0000 (08:30 +0200)]
Implement status updates for contacts.

11 years agoido: Fix alias for contactgroups.
Gunnar Beutner [Wed, 7 Aug 2013 07:57:12 +0000 (09:57 +0200)]
ido: Fix alias for contactgroups.

11 years agoido: Fix UQ violation in comments with host's hostcheck duplicated service comments
Michael Friedrich [Wed, 7 Aug 2013 17:03:22 +0000 (19:03 +0200)]
ido: Fix UQ violation in comments with host's hostcheck duplicated service comments

refs #4380

11 years agoido: Insert/Delete host's hostcheck service comments too.
Michael Friedrich [Wed, 7 Aug 2013 16:24:16 +0000 (18:24 +0200)]
ido: Insert/Delete host's hostcheck service comments too.

refs #4380

11 years agoido: Refactor comments code.
Michael Friedrich [Wed, 7 Aug 2013 15:36:54 +0000 (17:36 +0200)]
ido: Refactor comments code.

refs #4380

11 years agoido: Fixes for comments.
Michael Friedrich [Wed, 7 Aug 2013 13:57:35 +0000 (15:57 +0200)]
ido: Fixes for comments.

refs #4380

11 years agoido: Experimental support for comments.
Michael Friedrich [Wed, 7 Aug 2013 13:39:09 +0000 (15:39 +0200)]
ido: Experimental support for comments.

refs #4380

11 years agoReplace our execvpe() replacement with something GPL-compatible.
Gunnar Beutner [Wed, 7 Aug 2013 06:47:28 +0000 (08:47 +0200)]
Replace our execvpe() replacement with something GPL-compatible.

11 years agoIDO: Add basic host/service dependency support.
Michael Friedrich [Mon, 5 Aug 2013 15:25:40 +0000 (17:25 +0200)]
IDO: Add basic host/service dependency support.

refs #4378

11 years agoCompat: fix servicedependency (parent service description)
Michael Friedrich [Mon, 5 Aug 2013 15:01:40 +0000 (17:01 +0200)]
Compat: fix servicedependency (parent service description)

11 years agoUpdate tutorial documentation for livestatus/IDO (for now)
Michael Friedrich [Mon, 5 Aug 2013 14:48:34 +0000 (16:48 +0200)]
Update tutorial documentation for livestatus/IDO (for now)

refs #4466
refs #4467

11 years agoFix missing insert IDs for service and contact groups.
Gunnar Beutner [Mon, 5 Aug 2013 14:04:01 +0000 (16:04 +0200)]
Fix missing insert IDs for service and contact groups.

11 years agoFix missing insert IDs for hostgroups.
Gunnar Beutner [Mon, 5 Aug 2013 13:57:40 +0000 (15:57 +0200)]
Fix missing insert IDs for hostgroups.

11 years agoido: Implement timeperiod config attributes.
Gunnar Beutner [Mon, 5 Aug 2013 08:06:19 +0000 (10:06 +0200)]
ido: Implement timeperiod config attributes.

11 years agoido: Implement config attributes for contacts.
Gunnar Beutner [Mon, 5 Aug 2013 07:58:30 +0000 (09:58 +0200)]
ido: Implement config attributes for contacts.

11 years agoBuild fix.
Gunnar Beutner [Mon, 5 Aug 2013 07:58:23 +0000 (09:58 +0200)]
Build fix.

11 years agoido: Implement contactgroup members.
Gunnar Beutner [Mon, 5 Aug 2013 07:49:19 +0000 (09:49 +0200)]
ido: Implement contactgroup members.

11 years agoido: Implement servicegroup members.
Gunnar Beutner [Mon, 5 Aug 2013 07:37:52 +0000 (09:37 +0200)]
ido: Implement servicegroup members.

11 years agoido: Fix hostgroup members.
Gunnar Beutner [Mon, 5 Aug 2013 07:09:57 +0000 (09:09 +0200)]
ido: Fix hostgroup members.

11 years agoido: Implement hostgroup members.
Gunnar Beutner [Mon, 5 Aug 2013 06:56:50 +0000 (08:56 +0200)]
ido: Implement hostgroup members.

11 years agoFix crash in NotificationComponent::NotificationTimerHandler().
Gunnar Beutner [Mon, 5 Aug 2013 06:56:36 +0000 (08:56 +0200)]
Fix crash in NotificationComponent::NotificationTimerHandler().

11 years agoido: replace hardcoded objecttype_id with enum
Michael Friedrich [Fri, 2 Aug 2013 15:12:07 +0000 (17:12 +0200)]
ido: replace hardcoded objecttype_id with enum

11 years agoido: Clear config tables on startup
Michael Friedrich [Fri, 2 Aug 2013 15:11:14 +0000 (17:11 +0200)]
ido: Clear config tables on startup

fixes #4502

11 years agoFix: Separately keep track of whether we've completed config and status updates.
Gunnar Beutner [Fri, 2 Aug 2013 13:45:50 +0000 (15:45 +0200)]
Fix: Separately keep track of whether we've completed config and status updates.

11 years agoido: Add host_parenthosts, use GetInsertID().
Michael Friedrich [Fri, 2 Aug 2013 13:20:28 +0000 (15:20 +0200)]
ido: Add host_parenthosts, use GetInsertID().

11 years agoido: Refactor CompatUtility::GetServiceConfigAttributes()
Michael Friedrich [Fri, 2 Aug 2013 12:20:50 +0000 (14:20 +0200)]
ido: Refactor CompatUtility::GetServiceConfigAttributes()

refs #4500

11 years agoido: Fix hosts without hostcheck service not being dumped to config table.
Michael Friedrich [Fri, 2 Aug 2013 12:12:07 +0000 (14:12 +0200)]
ido: Fix hosts without hostcheck service not being dumped to config table.

still, the status update must be triggered by icinga2 which does not
happen currently.

fixes #4500

11 years agoUse ASSERT() instead of assert().
Gunnar Beutner [Fri, 2 Aug 2013 08:11:48 +0000 (10:11 +0200)]
Use ASSERT() instead of assert().

11 years agoido: Don't update insert IDs for status updates (2nd attempt).
Gunnar Beutner [Fri, 2 Aug 2013 07:58:51 +0000 (09:58 +0200)]
ido: Don't update insert IDs for status updates (2nd attempt).

11 years agoRevert "Don't update insert ID for status updates."
Gunnar Beutner [Fri, 2 Aug 2013 07:57:45 +0000 (09:57 +0200)]
Revert "Don't update insert ID for status updates."

This reverts commit 51a613d0a6e5993963610101d0aeceb48a967fde.

11 years agoDon't update insert ID for status updates.
Gunnar Beutner [Fri, 2 Aug 2013 07:45:52 +0000 (09:45 +0200)]
Don't update insert ID for status updates.

11 years agoido: Keep track of insert IDs.
Gunnar Beutner [Fri, 2 Aug 2013 06:56:36 +0000 (08:56 +0200)]
ido: Keep track of insert IDs.

11 years agoImplement handler for hostgroup changes.
Gunnar Beutner [Fri, 2 Aug 2013 06:23:07 +0000 (08:23 +0200)]
Implement handler for hostgroup changes.

11 years agoido_mysql: Don't put already escaped string into quotes
Michael Friedrich [Thu, 1 Aug 2013 17:43:51 +0000 (19:43 +0200)]
ido_mysql: Don't put already escaped string into quotes

11 years agoido: Add idcolumn to REGISTER_DBTYPE
Michael Friedrich [Thu, 1 Aug 2013 12:08:02 +0000 (14:08 +0200)]
ido: Add idcolumn to REGISTER_DBTYPE

hosts are using host_object_id, commands are using object_id.
That's weird db schema design.

11 years agoido: Implement commanddbobjects.
Michael Friedrich [Thu, 1 Aug 2013 11:20:30 +0000 (13:20 +0200)]
ido: Implement commanddbobjects.

11 years agoFix INITIALIZE_ONCE().
Gunnar Beutner [Thu, 1 Aug 2013 09:14:33 +0000 (11:14 +0200)]
Fix INITIALIZE_ONCE().

11 years agoFix include guards for initialize.h.
Gunnar Beutner [Thu, 1 Aug 2013 09:10:02 +0000 (11:10 +0200)]
Fix include guards for initialize.h.

11 years agoAdd HostGroup::OnMembersCached signal.
Gunnar Beutner [Thu, 1 Aug 2013 09:07:56 +0000 (11:07 +0200)]
Add HostGroup::OnMembersCached signal.

11 years agoImplement INITIALIZE_ONCE().
Gunnar Beutner [Thu, 1 Aug 2013 09:07:26 +0000 (11:07 +0200)]
Implement INITIALIZE_ONCE().

11 years agoido: add notify_on_* to host/service config
Michael Friedrich [Thu, 1 Aug 2013 08:44:15 +0000 (10:44 +0200)]
ido: add notify_on_* to host/service config

refs #4378

11 years agoFix: Table prefix was missing in some queries.
Gunnar Beutner [Thu, 1 Aug 2013 07:47:47 +0000 (09:47 +0200)]
Fix: Table prefix was missing in some queries.

11 years agoido: Make the table prefix configurable.
Gunnar Beutner [Thu, 1 Aug 2013 07:46:48 +0000 (09:46 +0200)]
ido: Make the table prefix configurable.

11 years agoido: Don't send config/status updates if the object doesn't support them.
Gunnar Beutner [Thu, 1 Aug 2013 07:32:14 +0000 (09:32 +0200)]
ido: Don't send config/status updates if the object doesn't support them.

11 years agoido: add missing host/service config/status attributes
Michael Friedrich [Wed, 31 Jul 2013 16:06:54 +0000 (18:06 +0200)]
ido: add missing host/service config/status attributes

refs #4380
refs #4378

11 years agoido: Add stubs for servicegroups.
Gunnar Beutner [Wed, 31 Jul 2013 07:22:25 +0000 (09:22 +0200)]
ido: Add stubs for servicegroups.

11 years agoido: Add stubs for hostgroups.
Gunnar Beutner [Wed, 31 Jul 2013 07:20:06 +0000 (09:20 +0200)]
ido: Add stubs for hostgroups.

11 years agoido: Add stubs for contactgroups.
Gunnar Beutner [Wed, 31 Jul 2013 07:17:54 +0000 (09:17 +0200)]
ido: Add stubs for contactgroups.

11 years agoido: Add stubs for timeperiods.
Gunnar Beutner [Wed, 31 Jul 2013 07:14:58 +0000 (09:14 +0200)]
ido: Add stubs for timeperiods.

11 years agoido: Add stubs for contacts/contactstatus.
Gunnar Beutner [Wed, 31 Jul 2013 07:09:39 +0000 (09:09 +0200)]
ido: Add stubs for contacts/contactstatus.

11 years agoFix: Check results from the delegation component didn't work.
Gunnar Beutner [Wed, 31 Jul 2013 06:35:13 +0000 (08:35 +0200)]
Fix: Check results from the delegation component didn't work.

11 years agoFix compiler warning.
Gunnar Beutner [Wed, 31 Jul 2013 06:29:45 +0000 (08:29 +0200)]
Fix compiler warning.