Commit Graph

58 Commits

Author SHA1 Message Date
Michael Friedrich 1c98a3a9f7 DB IDO: Add failover_timeout attribute
refs #6827
2014-08-15 17:21:12 +02:00
Michael Friedrich f6c24f8964 DB IDO: Delay connection in HA RunOnce mode
refs #6827
refs #6203
2014-08-15 17:21:12 +02:00
Michael Friedrich d326678e76 DB IDO: Add 'enable_ha' configuration flag
This feature is true by default. If disabled all cluster nodes in a high
availability zone will write to their own local database.

TODO: documentation, tests.

refs #6827
refs #6203
2014-08-15 17:21:12 +02:00
Michael Friedrich 1f3c6b454f DB IDO: Add endpoint_name to programstatus table
refs #6827
refs #6203
2014-08-15 17:21:12 +02:00
Gunnar Beutner 731ee15d4d Exit application when IDO version doesn't match expected version
fixes #6850
2014-08-06 10:54:54 +02:00
Michael Friedrich 1e4ddc2a1a Fix customvariables in DB IDO MySQL are not case sensitive
fixes #6608
2014-07-23 18:06:57 +02:00
Gunnar Beutner f86068d5e0 Use NULL instead of empty strings for name2 in the icinga_objects table
fixes #6646
2014-07-22 10:29:09 +02:00
Michael Friedrich f19cc514b9 DB IDO: Reset reconnect timer before pausing the connection
refs #6414
2014-07-08 13:48:11 +02:00
Michael Friedrich ed4931932e DB IDO: Bump required schema to 1.11.3
Fixes #6422
2014-06-06 10:42:10 +02:00
Michael Friedrich 93992373be Error messages: Properly catch and log DB IDO errors.
Refs #6070
2014-06-05 18:26:38 +02:00
Michael Friedrich 0f9d76d40b Change log message identifier for components/*.
Refs #6346
2014-05-28 14:42:00 +02:00
Gunnar Beutner e7c09dac97 Remove icinga::ErrorInformation.
Fixes #6333
2014-05-27 15:51:38 +02:00
Gunnar Beutner 632026cd9f Rename C++ header files.
Fixes #6291
2014-05-25 16:27:14 +02:00
Michael Friedrich 1df7518b35 Move more log messages to 'notice' severity.
Refs #6070
2014-05-22 23:47:03 +02:00
Michael Friedrich 0713918c5e Extract exception error info message.
Refs #6070
2014-05-22 16:07:57 +02:00
Gunnar Beutner b367187c0b Implement HA for IDO connections.
Refs #6107
2014-05-09 13:02:30 +02:00
Gunnar Beutner c4893ad1a0 Fix db_ido queries.
Fixes #6007
2014-04-13 20:22:25 +02: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 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
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 f2307c4242 Add cmake build files.
Refs #4962
2013-11-03 13:45:26 +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 8c5bff3f75 Implement data processing options (DbConnection::categories).
Refs #4782
2013-10-30 10:19:56 +01:00
Gunnar Beutner f39eff323e Implement DbQuery::Category field.
Refs #4782
2013-10-30 09:58:55 +01:00
Gunnar Beutner db4b3b78d6 Implement class compiler.
Refs #4963
2013-10-28 14:27:36 +01:00
Gunnar Beutner def9b309a5 Add missing quotes. 2013-10-14 14:11:27 +02:00
Gunnar Beutner 8894a77a19 ido: Escape application version. 2013-10-14 09:46:44 +02:00