Commit Graph

10924 Commits

Author SHA1 Message Date
Michael Friedrich 46cb806b3f Add a note for config updates V1 and V2
Old clients sync !.conf via update_v2 message, we cannot
remove this handling for the time being.
2019-06-19 14:46:11 +02:00
Michael Friedrich 83c11962b2 Only remove directories if they exist during sync 2019-06-19 14:46:11 +02:00
Michael Friedrich 4e9439f2d8 Ensure that config master zones.d -> var-api-zones sync removes deleted files 2019-06-19 14:46:11 +02:00
Michael Friedrich 9d53db1401 Purge stage and production directories before copying files
The cluster-message -> production diff is still intact, we're
just taking care of unwanted/deleted files here.
2019-06-19 14:46:11 +02:00
Michael Friedrich 86108e6a1e Improve logging and code quality 2019-06-19 14:46:11 +02:00
Michael Friedrich fb367e12cc Store the last failed zone stage sync validation as runtime ApiListener attribute 2019-06-19 14:46:11 +02:00
Michael Friedrich a91bbe8acd Fix constant value for zone var override 2019-06-19 14:46:11 +02:00
Michael Friedrich e3e68caaa3 Inherit parent process arguments for defined path constants 2019-06-19 14:46:11 +02:00
Michael Friedrich e545884952 Improve logging for staged config sync 2019-06-19 14:46:11 +02:00
Michael Friedrich 1853254201 Pass the zonesVar override around 2019-06-19 14:46:11 +02:00
Michael Friedrich 2ed56b50a4 Ensure directory paths are created from stage -> prod 2019-06-19 14:46:11 +02:00
Michael Friedrich c2d7063ae7 Better signal for checking the cluster config sync stage (ignore production) 2019-06-19 14:46:11 +02:00
Michael Friedrich 506eee2f7d Fix crash 2019-06-19 14:46:11 +02:00
Michael Friedrich 2c39d69428 Implement first draft for cluster config staged sync 2019-06-19 14:46:11 +02:00
Michael Friedrich ad3a78c3a2
Merge pull request #7248 from Icinga/bugfix/ecc-cipher-loading-el7
SSL Context: Explicitly load ECC ciphers on el7
2019-06-18 16:42:42 +02:00
Michael Friedrich 9c92368774 SSL Context: Explicitly load ECC ciphers on el7
Otherwise curl/nss as client won't be able to use the
new default cipher list.

fixes #7247
2019-06-18 14:58:19 +02:00
Michael Friedrich 8b5ebe9aa1
Merge pull request #7238 from Icinga/bugfix/boost-1-70-7237
Fix build errors with Boost v1.70
2019-06-18 13:43:53 +02:00
Alexander A. Klimov 42a33cdc7d Fix build errors with Boost v1.70
refs #7237
2019-06-07 16:30:34 +02:00
Michael Friedrich ee4c5c5c2b
Merge pull request #6500 from ajaffie/feature/cli-ca-remove-6049
Implemented `ca remove` cli command + documentation.
2019-06-07 11:30:42 +02:00
Michael Friedrich 3554579d0d Add upgrading docs for ca remove/restore CLI commands 2019-06-07 10:37:19 +02:00
Michael Friedrich 65c8d43157 Add function docs for CA CLI commands 2019-06-07 10:33:55 +02:00
Michael Friedrich b32d818d1b CLI: Allow to list removed CSRs with 'ca list' 2019-06-07 10:33:55 +02:00
Michael Friedrich a35828a6ff CLI: Update ca remove/restore commands from my review 2019-06-07 10:33:55 +02:00
Andrew Jaffie d95feb4950 Log messages now use CN, file permissions fixed, ca remove now will not remove CSR's that have already been signed. 2019-06-07 10:33:55 +02:00
Andrew Jaffie 6aa2e0c36b Added ca restore command+docs to undo effects of ca remove 2019-06-07 10:33:55 +02:00
Andrew Jaffie 429f1ed317 Ignore repeated requests from client after using ca remove command 2019-06-07 10:33:55 +02:00
Andrew Jaffie a970f7dcf9 Implemented cli command + documentation. 2019-06-07 10:33:55 +02:00
Michael Friedrich 1997878d2a
Merge pull request #7011 from Icinga/bugfix/scheduled-downtime-over-midnight-5261
LegacyTimePeriod::ProcessTimeRangeRaw(): support ranges across midnight
2019-06-06 14:30:35 +02:00
Michael Friedrich f8a82b5e28
Merge pull request #7183 from hlsolutions/bugfix/systemv-returncode
Fix System-V return codes according to LSB
2019-06-06 13:31:41 +02:00
Michael Friedrich 33b4bf012c Docs: Explain across midnight time periods with an overlapping range 2019-06-06 13:11:34 +02:00
Alexander A. Klimov 2306e0e93f Fix unit test icinga_legacytimeperiod/advanced
refs #5261
2019-06-06 13:11:34 +02:00
Michael Friedrich 5e931fe127 Tests: Add cases for LegacyTimePeriod::ProcessTimeRangeRaw() 2019-06-06 13:11:34 +02:00
Alexander A. Klimov ffd736f56f LegacyTimePeriod::ProcessTimeRangeRaw(): support ranges across midnight
refs #5261
2019-06-06 13:11:34 +02:00
Michael Friedrich b7279597d9
Merge pull request #7118 from Icinga/bugfix/killmode
Systemd: don't kill any running check plugins
2019-06-06 12:55:01 +02:00
Michael Friedrich 9522a2e06f
Merge pull request #7218 from Icinga/feature/api-host-downtime-all-services
API Actions: Add downtime for all host services (child objects)
2019-06-06 12:53:42 +02:00
Michael Friedrich 54883b1a28 Add upgrading docs 2019-06-06 11:37:22 +02:00
Michael Friedrich f6fc81c6c3 Combine all_services with child_options for schedule-downtime API action 2019-06-06 11:37:22 +02:00
Michael Friedrich e7c4253fa3 REST API: Allow to schedule downtimes for all services for one or more matching hosts 2019-06-06 11:37:22 +02:00
Michael Friedrich f9a02fb813
Merge pull request #7208 from Icinga/bugfix/waiting-for-running-checks-6841
Actually wait for running checks
2019-06-06 11:16:34 +02:00
Michael Friedrich 575c6eb63b
Merge pull request #7233 from Icinga/feature/docs-object-attrs
Docs: Add new runtime checkable attributes and explain severity in tech concepts
2019-06-06 11:11:38 +02:00
Michael Friedrich 8d86360db4 Docs: Add new runtime checkable attributes and explain severity in tech concepts
fixes #7100
2019-06-06 11:09:08 +02:00
Michael Insel 313f975a3f
Merge pull request #7232 from Icinga/bugfix/doc-add-missing-closing-tag
Doc: Add missing closing code tag
2019-06-05 21:42:17 +02:00
Michael Insel 23c1ce7535 Doc: Add missing closing code tag
This adds a missing closing back-tick.
2019-06-05 20:57:34 +02:00
Michael Friedrich 00ea2d5ca6
Merge pull request #7230 from Icinga/bugfix/cluster-config-sync-lock
Avoid concurrent cluster config sync transactions
2019-06-05 17:35:51 +02:00
Michael Friedrich f3283ed0ce
Merge pull request #7231 from Icinga/feature/docs-tech-concept-network-io
Docs: Update technical concepts for TLS Network IO and Boost Asio, Beast and Coroutines
2019-06-05 17:31:57 +02:00
Michael Friedrich 48f9b24315 Docs: Update technical concepts for TLS Network IO and Boost Asio, Beast and Coroutines
refs #7041
2019-06-05 17:29:55 +02:00
Michael Friedrich 6a8823f879 Avoid concurrent cluster config sync transactions
fixes #6660
2019-06-05 15:23:28 +02:00
Michael Friedrich f312962714
Merge pull request #7184 from robert-scheck/strip-lf-notificationcomment
Strip '\r' in notification messages to avoid 'Content-Type: application/octet-stream'
2019-06-05 15:22:57 +02:00
Michael Friedrich 2bc78fc1e7
Merge pull request #7229 from Icinga/feature/docs-plugin-api
Docs: Improve the service monitoring chapter (plugin API, new plugin, integration, etc.)
2019-06-05 15:12:52 +02:00
Michael Friedrich ef72cd4442
Merge pull request #7220 from Icinga/bugfix/asio-error-handling
Improve error handling with network connections (Boost ASIO)
2019-06-05 14:43:31 +02:00