Commit Graph

10913 Commits

Author SHA1 Message Date
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
Michael Friedrich 18211ddd23
Merge pull request #7209 from Icinga/bugfix/immediately-close-sockets
Close server connections and shutdown coroutines immediately on disconnect
2019-06-05 14:40:24 +02:00
Michael Friedrich 0e97798dfe Docs: Avoid linking to the old plugin guidelines
Ours are here now.
2019-06-05 13:31:02 +02:00
Michael Friedrich 6d2482ba56 Docs: Formatting fixes 2019-06-05 13:15:47 +02:00
Michael Friedrich 39a9ecef67 Docs: Enrich the service monitoring chapter introduction
- Plugin integration with commands
- Plugin API spec and code examples
- Overview
2019-06-05 13:13:23 +02:00
Michael Friedrich dde86a7be3 Docs: Add details about thresholds and ranges to the plugin API spec 2019-06-05 13:13:23 +02:00
Michael Friedrich 8aa8d6ab7b Docs: Add performance data metrics spec for plugin API
This imports the plugin API html spec, but in a more gentle
readable fashion with better examples.

This allows us to extend this specification later on.
2019-06-05 13:13:23 +02:00
Michael Friedrich 78b04cb6cf Docs: Add verbose tip for plugin creation 2019-06-05 13:13:23 +02:00
Michael Friedrich 97f5663872 Docs: Improve plugin integration 2019-06-05 13:13:23 +02:00
Michael Friedrich 44261e5a44 Docs: Write our own plugin API specification
Rationale: The linked HTML document lacks the right
formatting and is very hard to read and understand.

Also, it doesn't explain plugin timeouts being best
practice, nor shows good programmatic examples.

Today, I prefer Python over Perl, and will share my
knowledge in the docs too.
2019-06-05 13:13:23 +02:00
Michael Friedrich 1c84713bed
Merge pull request #7219 from Icinga/feature/api-cipherlist
API: Harden default cipher list
2019-06-05 11:40:14 +02:00
Alexander A. Klimov ad28380884 Close server connections and shutdown coroutines immediately on disconnect 2019-06-05 10:42:03 +02:00