Commit Graph

3141 Commits

Author SHA1 Message Date
Gunnar Beutner 9bdf2f4766 Event handlers should be run when services are in a soft state.
Fixes #5681
2014-02-20 10:35: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
Johannes Meyer 7c280bcfff Fix that the vm-test-runner is not using the new result attributes 2014-02-14 17:07:40 +01:00
Johannes Meyer b39b241591 Refactor output of all vm-tests 2014-02-14 16:05:58 +01:00
Gunnar Beutner 8055eaa8b8 Revert "Set stack size rlimit."
This reverts commit 36c0af7a85.
2014-02-14 12:28:21 +01:00
Johannes Meyer 86a87b7583 Fix external command tests and make livestatus a default in the vagrant vm 2014-02-14 11:32:46 +01:00
Gunnar Beutner 36c0af7a85 Set stack size rlimit.
Fixes #5659
2014-02-14 10:44:28 +01:00
Michael Friedrich fc56782695 Merge branch 'feature/cluster-status-json-5444' into next
Fixes #5444
2014-02-13 19:24:09 +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 48a06d3335 Add {active,passive}_checks_{1,5,15}min to icinga check perfdata.
Fixes #5649
2014-02-13 12:06:32 +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 25dc86881a Make script variables constant.
Fixes #5446
2014-02-12 11:51:50 +01:00
Gunnar Beutner b968850bc1 Make Visual Studio 2010 happy (maybe).
Fixes #5637
2014-02-12 10:16:52 +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 95f7de123e Move Check Stats into CIB.
Fixes #5617
2014-02-10 14:59:56 +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
Gunnar Beutner 663f72300b Fix validation for the "authorities" attribute.
Fixes #5593
2014-02-10 08:50:09 +01:00
Michael Friedrich e534f9bc1b Add Cluster Health Check.
Fixes #5438
2014-02-07 15:19:37 +01:00
Michael Friedrich 7d9dc1a36b Fix including a non-existing directory exception requires path information.
Fixes #5618
2014-02-07 13:23:26 +01:00
Michael Friedrich 11c42b1483 icinga check: add *_execution_time, num_{services,hosts}_* state/pending/flap/downtime/ack as perfdata.
Fixes #5440
2014-02-07 11:47:58 +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 3f989e24dc Merge branch 'feature/ido-hist-node-5470' into next
Fixes #5470
2014-02-06 16:45:56 +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
Michael Friedrich 1e0a11c7f2 Add IcingaNodeName script variable, set as check source (WIP).
Fixes #5471
Fixes #5473
2014-02-06 15:38:06 +01:00
Gunnar Beutner d22995657c Update change log and bump version. 2014-02-06 10:07:00 +01:00
Michael Friedrich d6eacc8a6f Documentation: Add configuration best practice.
Fixes #5477
Fixes #5505
2014-02-05 18:09:38 +01:00
Michael Friedrich 85fc79b325 Documentation: Add 'Monitoring Remote Clients' section.
Fixes #5496
2014-02-05 17:17:19 +01:00
Michael Friedrich 7342706eb8 Documentation: Add unique section ids.
Fixes #5586
2014-02-05 15:54:00 +01:00
Gunnar Beutner e6d405b4a4 Fix stack overflow in IdoPgsqlConnection::InternalExecuteQuery.
Fixes #5610
2014-02-05 14:59:11 +01:00
Michael Friedrich 0e2e031c23 Documentation: Emphasize on runtime vs configuration macros.
Fixes #5457
Fixes #5458
2014-02-05 14:39:29 +01:00
Gunnar Beutner 9116c58b24 Fix: IcingaUseVfork warning when spawning child processes.
Fixes #5607
2014-02-05 14:32:56 +01:00
Johannes Meyer a6a13ab86c Fix invalid testing configuration 2014-02-05 14:22:58 +01:00
Johannes Meyer 862f61d93b Fix the vm-test runner's error handling 2014-02-05 14:22:57 +01:00
Johannes Meyer a7e237640f Fix external command tests 2014-02-05 14:22:57 +01:00
Johannes Meyer 6bc1f3cf8d Fix test-vm bootstrapping 2014-02-05 14:22:57 +01:00
Gunnar Beutner 984ffb7421 Fix memory leak in Utility::GlobRecursive.
Fixes #5604
2014-02-05 13:53:56 +01:00
Gunnar Beutner c818d94d93 Fix race condition in the config validator.
Fixes #5602
2014-02-05 12:00:37 +01:00
Michael Friedrich 1728095c53 Fix ProcessHostCheckResult error message.
Fixes #5601
2014-02-04 15:59:08 +01:00
Gunnar Beutner ed2d4e627c Fix builds on Debian wheezy.
Fixes #5596
2014-02-04 12:59:22 +01:00
Michael Friedrich 9dd904942a Compat: Fix notification type string.
Fixes #5420
2014-02-04 10:54:38 +01:00
Gunnar Beutner 6549a6dd2e Merge branch 'feature/ido-reuse-ids-5565' into next
Fixes #5565
2014-02-04 09:58:32 +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
Gunnar Beutner 6c724d2797 Add note about certificate file permissions.
Fixes #5573
2014-02-04 08:27:51 +01:00
Michael Friedrich 91e6838ceb Documentation: Add examples for time related macros.
Fixes #5376
2014-02-03 11:11:56 +01:00