Commit Graph

895 Commits

Author SHA1 Message Date
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 662e6dd547 Livestatus: Add check_source to services table.
Refs #5636
Refs #5812
2014-03-20 19:15:19 +01:00
Michael Friedrich 098dbe7506 Livestatus: Add endpoints table.
Refs #5636
Refs #5811
2014-03-20 18:53:08 +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 ea973e5c82 Move cluster endpoint/jsonrpc functionality into libremote.
Refs #5690
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 097bb5ac97 DB IDO: Add endpoints/endpointstatus tables.
Refs #5636
2014-03-20 18:03:47 +01:00
Michael Friedrich bf9c89f625 DB IDO/Livestatus: Fix global enabled status values.
Fixes #5808
2014-03-20 11:33:59 +01:00
Michael Friedrich f6067d357d Set check source to node name as authority, if empty.
Fixes #5805
2014-03-20 10:32:52 +01:00
Michael Friedrich ce737ff2f3 Change copyright header (again).
Fixes #5424
2014-03-19 11:42:47 +01:00
Gunnar Beutner 4d6088bee1 Stop checks during shutdown.
Fixes #5784
2014-03-17 09:04:19 +01:00
Michael Friedrich cb85a5c696 Fix host, service sort order in StatusDataWriter.
Fixes #5775
2014-03-16 14:59:19 +01:00
Gunnar Beutner 74209bde40 Reschedule services before running checks.
Fixes #5754
2014-03-13 14:13:55 +01:00
Michael Friedrich 1279d27720 Fix enable_perfdata attribute in compat features.
Fixes #5693
2014-03-12 15:21:56 +01:00
Gunnar Beutner bfc5d2a4be Use fewer threads for plugin-based checks.
Fixes #5748
2014-03-12 10:25:06 +01:00
Michael Friedrich d98b61bba2 Remove unnecessary sort in GetClusterStatus().
Fixes #5664
2014-03-11 10:17:57 +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
Gunnar Beutner e8759a12a5 Fix: Don't try to execute empty Livestatus queries.
Fixes #5484
2014-03-10 09:44:53 +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
Gunnar Beutner 7341d1a568 Fix DomainPrivCheckResult has no effect.
Fixes #5727
2014-03-07 14:49:08 +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
Gunnar Beutner 22d53cf3b5 Implement a new object type for service dependencies.
Fixes #2799
2014-03-05 09:57:29 +01:00
Michael Friedrich f890a7ae8c Refactor status/perfdata stats registry.
Fixes #5622
2014-02-20 15:25:58 +01:00
Michael Friedrich d3cdbb5156 Implement IcingaStatusWriter object dumping local and feature stats.
Refactored the cluster listener health check too.

Refs #5622
Refs #5444
2014-02-17 18:51:16 +01:00
Michael Friedrich 84be5e3413 Implement StatsFunction Registry for features.
Refs #5622
2014-02-17 17:53:41 +01:00
Michael Friedrich 66aa874f7d Refactor ClusterCheckTask based on cluster status.
Refs #5444
2014-02-13 19:23:38 +01:00
Michael Friedrich f5d40bab2d Cluster: Periodically dump status json.
Refs #5444
2014-02-13 16:34:15 +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 3246ee602b Move ClusterCheckTask into the cluster component.
Refs #5438
2014-02-12 09:33:04 +01:00
Gunnar Beutner 42f664e4c6 Implement recursive includes for the cluster component.
Fixes #5304
2014-02-11 09:42:48 +01:00
Michael Friedrich babfc128ba Livestatus: Set host checks / freshness to 1 for compatibility reasons.
Fixes #5629
2014-02-10 14:02:17 +01:00
Gunnar Beutner 5242a86e2f Fix: PostgreSQL's GetAffectedRows() function always returned 0.
Fixes #5628
2014-02-10 10:25:12 +01:00
Michael Friedrich 5f26bb9147 Add check source to external commands / check result reader.
Fixes #5615
2014-02-07 09:48:15 +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 e6d405b4a4 Fix stack overflow in IdoPgsqlConnection::InternalExecuteQuery.
Fixes #5610
2014-02-05 14:59:11 +01:00
Michael Friedrich 9dd904942a Compat: Fix notification type string.
Fixes #5420
2014-02-04 10:54:38 +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
Michael Friedrich f30eca5a73 DB IDO: Refactor notification signal handling.
Refs #5103
Fixes #5265
2014-01-28 15:53:12 +01:00
Gunnar Beutner 08303f9aca Incrementally fetch MySQL/PGsql rows.
Fixes #5374
2014-01-28 14:26:56 +01:00