Commit Graph

71 Commits

Author SHA1 Message Date
Michael Friedrich e32de02dea Fix copyright. 2014-04-15 15:04:33 +02:00
Gunnar Beutner c4893ad1a0 Fix db_ido queries.
Fixes #6007
2014-04-13 20:22:25 +02:00
Gunnar Beutner 54063f0b9f Rename __name and __type properties.
Refs #5870
2014-03-28 14:17:55 +01:00
Michael Friedrich 23c47dd430 Make host 'check' attribute available in legacy interfaces.
Fixes #5764
2014-03-21 17:57:24 +01:00
Michael Friedrich bda7e9f362 Revert "DB IDO: Add check_source_object_id reference to endpoint objects."
There's not necessarily a 1:1 relation between the check source node
name and the endpoint name.

This reverts commit a26df23e3d.

Refs #5810
Refs #5636

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2014-03-21 10:18:03 +01:00
Michael Friedrich a26df23e3d DB IDO: Add check_source_object_id reference to endpoint objects.
Refs #5810
Refs #5636
2014-03-20 18:03:47 +01:00
Michael Friedrich 6899d967d7 DB IDO: Additional endpoint object id tables.
Refs #5636
2014-03-20 18:03:47 +01:00
Michael Friedrich 0264e52211 DB IDO: Clean schema.
Refs #5636
2014-03-20 18:03:47 +01:00
Michael Friedrich 097bb5ac97 DB IDO: Add endpoints/endpointstatus tables.
Refs #5636
2014-03-20 18:03:47 +01:00
Michael Friedrich ce737ff2f3 Change copyright header (again).
Fixes #5424
2014-03-19 11:42:47 +01:00
Michael Friedrich 09d6b6fefa Health Check: Sanitize perfdata.
Refs #5664
2014-03-10 18:01:26 +01:00
Michael Friedrich 324a2c25e8 Prepare schema for endpoint object id (tbd).
Refs #5636
2014-03-10 17:15:03 +01:00
Michael Friedrich aa2c45f83e DB IDO: Fix agent_version column.
Fixes #5729
2014-03-08 15:03:59 +01:00
Michael Friedrich e8aa87d372 DB IDO: Clean schema.
Refs #5636
Refs #5730

Conflicts:
	components/db_ido_mysql/schema/mysql.sql
	components/db_ido_pgsql/schema/pgsql.sql
2014-03-08 14:44:54 +01:00
Michael Friedrich 3b8c1a0c7d DB IDO: Schema update for 0.0.8 provides 1.11.0 version.
Refs #5635
2014-03-07 11:11:28 +01:00
Michael Friedrich 33a8e504ca Document DB IDO schema changes for 0.0.8
Fixes #5635
2014-03-07 10:40:30 +01:00
Michael Friedrich f890a7ae8c Refactor status/perfdata stats registry.
Fixes #5622
2014-02-20 15:25:58 +01:00
Michael Friedrich 84be5e3413 Implement StatsFunction Registry for features.
Refs #5622
2014-02-17 17:53:41 +01:00
Michael Friedrich 2be318b93a DB IDO: Fix deleted config objects not marked is_active=0.
Fixes #5643
2014-02-12 16:04:17 +01:00
Michael Friedrich 4aeaf9a947 DB IDO: Add icinga_node to *history tables.
Refs #5470
2014-02-06 16:44:46 +01:00
Michael Friedrich 07615f14e8 DB IDO: Add check_source to statehistory table.
Refs #5470
2014-02-06 16:01:03 +01:00
Gunnar Beutner 856f01198d Re-use IDs where possible.
Refs #5565
2014-02-04 09:37:56 +01:00
Gunnar Beutner 3a23f0110b Move the ClearConfigTables function into the DbConnection class.
Refs #5565
2014-02-04 09:19:11 +01:00
Michael Friedrich d31ca31e90 DB IDO: Implement notification object insert id cache.
Refs #5103
2014-01-29 17:38:02 +01:00
Gunnar Beutner 08303f9aca Incrementally fetch MySQL/PGsql rows.
Fixes #5374
2014-01-28 14:26:56 +01:00
Michael Friedrich 555d72150a Update copyright header.
Fixes #5424
2014-01-09 00:32:11 +01:00
Gunnar Beutner f05858d3ad Avoid unnecessary copies when iterating over dictionaries.
Refs #5246
2013-12-02 11:07:38 +01:00
Gunnar Beutner 85fec966b8 Improve IDO query performance.
Refs #5235
2013-11-28 12:12:10 +01:00
Gunnar Beutner 6d53bd1c8f Make sure IDO reconnect attempts don't recurse.
Refs #5235
2013-11-28 10:36:43 +01:00
Gunnar Beutner b915494157 Avoid unnecessary updates for the is_active column.
Fixes #5124
2013-11-22 10:13:42 +01:00
Gunnar Beutner 45161fe66d Improve latency after start-up.
Fixes #5121
2013-11-21 16:09:21 +01:00
Gunnar Beutner 92dd32eb68 Implement support for high-level stack traces.
Refs #5085
2013-11-21 09:42:27 +01:00
Gunnar Beutner 39dcf20a89 Implement support for stack traces for STL exceptions.
Fixes #5114
2013-11-20 21:55:14 +01:00
Gunnar Beutner 933ac5f403 Clear ID cache when (re-)connecting.
Fixes #5108
2013-11-20 09:32:30 +01:00
Gunnar Beutner a4b2c2134d Update database schemas.
Refs #5080
2013-11-20 09:10:50 +01:00
Gunnar Beutner 4f1cb83f31 Fix Convert::ToString.
Fixes #5054
2013-11-11 13:04:18 +01:00
Gunnar Beutner e546cd854d Clean up the DynamicType class.
Refs #5036
2013-11-08 16:07:21 +01:00
Gunnar Beutner a84536bea3 Implement serializer support for arbitrary classes.
Fixes #5024
2013-11-08 14:08:59 +01:00
Gunnar Beutner 6acc017707 Remove namespace qualifiers for boost::make_shared and boost::enable_shared_from_this.
Fixes #5012
2013-11-07 08:28:33 +01:00
Gunnar Beutner 5be3139b5e Use boost::bind for WorkQueue::SetExceptionCallback.
Refs #5002
2013-11-05 13:59:30 +01:00
Gunnar Beutner 2617521ce3 Fix exception in Exception in IdoPgsqlConnection::Query.
Fixes #5002
2013-11-05 13:35:59 +01:00
Gunnar Beutner b1ddc71925 Merge ReflectionObject methods into the Object class.
Refs #4996
2013-11-05 08:56:30 +01:00
Gunnar Beutner f2307c4242 Add cmake build files.
Refs #4962
2013-11-03 13:45:26 +01:00
Gunnar Beutner 2c143fbdf8 Remove unused files.
Refs #4962
2013-11-03 11:12:47 +01:00
Michael Friedrich 1e3ef346c9 Set default values for IdoMysqlConnection config attributes. 2013-10-31 16:12:30 +01:00
Gunnar Beutner e020a80bf8 Clean up DbConnection / IdoMysqlConnection.
Refs #4969
2013-10-30 14:07:26 +01:00
Gunnar Beutner ce06aa3b56 Implement work queue support for db_ido_mysql.
Refs #4758
2013-10-30 13:32:01 +01:00
Gunnar Beutner 4ce0f1e7bb Implement WorkQueue::GetThreadId.
Refs #4758
2013-10-30 13:13:09 +01:00
Gunnar Beutner dc21088680 Fix make dist.
Refs #4976
2013-10-30 12:18:08 +01:00
Gunnar Beutner 9f1c4539dc Remove libltdl dependency.
Refs #4964
2013-10-30 12:00:55 +01:00