Commit Graph

76 Commits

Author SHA1 Message Date
Ildar Hizbulin 3700a33e7e Fix memory leak in the db_ido_pgsql module
fixes #7195

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
2014-09-15 14:22:10 +02:00
Gunnar Beutner 6f2ea6bc08 Fix build problems with Oracle Solaris Studio
refs #6896
2014-09-02 13:09:17 +02:00
Gunnar Beutner eb091a87b0 Implement support for unity builds
fixes #7034
fixes #7035
2014-08-30 20:02:12 +02:00
Michael Friedrich accd83693c DB IDO: Fix missing schema bump to 1.11.7
refs #6827
refs #6203
2014-08-18 16:06:42 +02:00
Gunnar Beutner 65bec9e904 Clean up some parts of the code 2014-08-17 17:57:41 +02:00
Gunnar Beutner 3da5568eb3 Install DB schema files using cmake
fixes #6881
2014-08-17 13:37:50 +02:00
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
Michael Friedrich 88d108159d Rename upgrade sql files
refs #6646
2014-07-23 10:48:33 +02:00
Gunnar Beutner 1a361d834a Add MySQL/pgSQL upgrade files which fix name2 in the icinga_objects table
fixes #6646
2014-07-23 10:25:26 +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
Gunnar Beutner ac6f3f8acf Fix PostgreSQL warnings about escaped strings
fixes #5577
2014-06-25 09:47:20 +02:00
Michael Friedrich 0ad779e4a5 DB IDO: Remove old 0.0.x upgrade sqls not required for 2.0.0
fixes #6478
2014-06-13 11:21:15 +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 4296ec3987 Change the most chatting log messages to 'notice' severity.
Refs #6070
2014-05-22 16:07:57 +02:00
Michael Friedrich d98d0e9c53 DB IDO: Bump schema version to 1.11.3.
Refs #6094
2014-05-10 21:27:56 +02:00
Michael Friedrich f5e568d3fb DB IDO: Add 'is_reachable' column to {host,service}status tables.
Refs #6094
2014-05-10 21:03:47 +02:00
Gunnar Beutner b367187c0b Implement HA for IDO connections.
Refs #6107
2014-05-09 13:02:30 +02:00
Michael Friedrich 2b70b282ad Add {Host,Service}Group attributes: notes, notes_url, action_url.
Fixes #6057
2014-04-24 14:48:57 +02:00
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
Gunnar Beutner a3367938d7 Fix the PostgreSQL schema.
Fixes #5849
2014-03-24 12:42:32 +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 fc7d7cc9eb DB IDO: Send endpoint authority for status updates.
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
Gunnar Beutner 5242a86e2f Fix: PostgreSQL's GetAffectedRows() function always returned 0.
Fixes #5628
2014-02-10 10:25:12 +01:00