Commit Graph

880 Commits

Author SHA1 Message Date
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
Johannes Meyer 7e235a53c5 Fix hostcheck state conversion of the statusdatawriter
fixes #5449
2014-01-15 14:50:58 +01:00
Michael Friedrich 6ac77d7f5c Compat: Do not dump empty strings into objects.cache.
Fixes #5450
2014-01-14 16:31:28 +01:00
Michael Friedrich a4466ba880 Fix formatting of execution_time, latency.
Fixes #5427
2014-01-10 00:38:16 +01:00
Michael Friedrich 555d72150a Update copyright header.
Fixes #5424
2014-01-09 00:32:11 +01:00
Michael Friedrich be78579dea Livestatus: Call addRowFn directly in UpdateLogEntries().
Refs #5351
Refs #5369
2013-12-18 17:32:18 +01:00
Michael Friedrich 333ba6ee7e Livestatus: Move log entry parsing into FetchRows().
Refs #5351
2013-12-18 16:28:33 +01:00
Michael Friedrich 9a2153d4e0 Livestatus: Use HistoryTable for log/statehist tables.
Refs #5351
2013-12-18 16:06:39 +01:00
Gunnar Beutner 21fb0d9872 Implement "safe mode" for icinga::Deserialize.
Fixes #5035
2013-12-18 10:27:58 +01:00
Michael Friedrich 9f82274fce Fix some more compiler warnings.
Refs #5348
2013-12-17 18:34:05 +01:00
Michael Friedrich 88fa67c108 Livestatus: Refactor historical tables.
Refs #5351
Refs #5348
2013-12-17 18:34:05 +01:00
Johannes Meyer 772f319926 Fix that triggered_by field is not of type int in a livestatus response
fixes #5356
2013-12-17 15:15:39 +01:00
Gunnar Beutner ad563cf5d2 Use CompatUtility::GetCommandLine in StatusDataWriter::DumpCommand.
Fixes #5353
2013-12-17 10:20:28 +01:00
Gunnar Beutner 53c1434700 Fix compiler warnings in the CompatLogger class.
Refs #5349
2013-12-17 07:54:41 +01:00
Johannes Meyer 3aa21fb340 Fix aggregation of the type and is_service livestatus comment columns
refs #5332
2013-12-16 15:36:38 +01:00
Johannes Meyer 4a6fddadb8 Fix deadlock when querying comments or downtimes through livestatus
fixes #5332
2013-12-16 14:14:01 +01:00