]>
granicus.if.org Git - icinga2/log
Henrik Triem [Mon, 24 Jun 2019 15:34:53 +0000 (17:34 +0200)]
Merge pull request #7251 from Icinga/bugfix/wq-silence-exceptions
Disable stack traces for WQ exceptions (used in config compiler)
Michael Friedrich [Mon, 24 Jun 2019 11:41:00 +0000 (13:41 +0200)]
Docs: Add Naglite to API docs
Michael Friedrich [Mon, 24 Jun 2019 07:48:47 +0000 (09:48 +0200)]
Merge pull request #7252 from alanlitster/bugfix/nanorc-syntax-typo
Fix type in nanorc syntax file
Alan Litster [Thu, 20 Jun 2019 12:46:38 +0000 (13:46 +0100)]
Fix type in nanorc syntax file
Michael Friedrich [Wed, 19 Jun 2019 15:37:30 +0000 (17:37 +0200)]
Merge pull request #6727 from Icinga/feature/cluster-config-sync-stage
Improve cluster config sync
Michael Friedrich [Wed, 19 Jun 2019 15:04:51 +0000 (17:04 +0200)]
Docs: Add cluster config sync to technical concepts & upgrading
Michael Friedrich [Wed, 19 Jun 2019 15:00:50 +0000 (17:00 +0200)]
Config sync: Only copy paths to prod which are actually there
Stored files may be removed by external sources.
Henrik Triem [Wed, 19 Jun 2019 14:42:58 +0000 (16:42 +0200)]
Merge pull request #7192 from Crited/bugfix/notification_whitespaceremoval
Remove double whitespaces for notifications log message
resolves #7192
Michael Friedrich [Wed, 19 Jun 2019 14:09:16 +0000 (16:09 +0200)]
Config Sync: Only log config files for stage, no metadata
Michael Friedrich [Fri, 7 Jun 2019 09:32:27 +0000 (11:32 +0200)]
Quality: Comments and logs in cluster config sync
Michael Friedrich [Thu, 6 Jun 2019 15:45:43 +0000 (17:45 +0200)]
Cluster sync: Don't load/sync the .authoritative config file marker
This would influence everything else, and it isn't needed anywhere
but the master instance (zones.d -> var-zones).
Michael Friedrich [Mon, 13 May 2019 09:27:49 +0000 (11:27 +0200)]
Use boost::filesystem & Utility classes for file IO
Michael Friedrich [Mon, 13 May 2019 09:26:39 +0000 (11:26 +0200)]
Avoid concurrent cluster config sync transactions
fixes #6660
Michael Friedrich [Mon, 13 May 2019 09:22:55 +0000 (11:22 +0200)]
Apply ReloadTimeout for 2.11
Michael Friedrich [Fri, 26 Oct 2018 14:54:55 +0000 (16:54 +0200)]
Spam the log with config file copies from stage to prod
Michael Friedrich [Fri, 26 Oct 2018 14:29:46 +0000 (16:29 +0200)]
Improve checksum logic and logging
Michael Friedrich [Fri, 26 Oct 2018 14:05:21 +0000 (16:05 +0200)]
Improve checksum checks for each file content
Michael Friedrich [Fri, 26 Oct 2018 12:20:27 +0000 (14:20 +0200)]
Enhace logging when config change yes/no will trigger further reload actions
Michael Friedrich [Fri, 26 Oct 2018 12:20:14 +0000 (14:20 +0200)]
Fix global checksum calculation
Michael Friedrich [Thu, 25 Oct 2018 15:47:38 +0000 (17:47 +0200)]
Refactor the client sync, part II (WIP, currently checksums generate an endless loop)
Michael Friedrich [Thu, 25 Oct 2018 12:30:34 +0000 (14:30 +0200)]
Improve variable names in ApiListener::SendConfigUpdate()
Michael Friedrich [Thu, 25 Oct 2018 12:14:19 +0000 (14:14 +0200)]
Update code docs
Michael Friedrich [Thu, 25 Oct 2018 12:10:30 +0000 (14:10 +0200)]
Split config file sync updates, part I
This commit also introduces a playground for checksums,
whilst refactoring the code in large parts.
Michael Friedrich [Thu, 25 Oct 2018 09:44:49 +0000 (11:44 +0200)]
Improve logging for ignored config updates where we are authoritative for (config master)
Michael Friedrich [Wed, 24 Oct 2018 15:06:17 +0000 (17:06 +0200)]
Remove duplicated validation paths in function signatures
Michael Friedrich [Wed, 24 Oct 2018 14:52:35 +0000 (16:52 +0200)]
Leave partial deletes as is, this is dealt with stage purge later
Michael Friedrich [Tue, 23 Oct 2018 16:30:19 +0000 (18:30 +0200)]
Code Documentation: Config file sync
Adds headers to all functions including parameters. This unveils
certain unused ones too.
Michael Friedrich [Tue, 23 Oct 2018 16:29:53 +0000 (18:29 +0200)]
Update log message and implement recursive diff delete
Michael Friedrich [Tue, 23 Oct 2018 15:23:34 +0000 (17:23 +0200)]
Indicate a warning in the 'icinga' check when cluster stage validation failed
- success: clear the last failed attribute
- failed: populate it with the output and current timestamp
This can be used to highlight this in the 'icinga' check task.
Since 2.9 we don't have problems with circular library dependencies
with just one linked binary, therefore it is safe to include libremote
in libmethods here.
Michael Friedrich [Tue, 23 Oct 2018 14:07:08 +0000 (16:07 +0200)]
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.
Michael Friedrich [Fri, 28 Sep 2018 14:58:59 +0000 (16:58 +0200)]
Only remove directories if they exist during sync
Michael Friedrich [Fri, 28 Sep 2018 14:51:20 +0000 (16:51 +0200)]
Ensure that config master zones.d -> var-api-zones sync removes deleted files
Michael Friedrich [Fri, 28 Sep 2018 11:54:54 +0000 (13:54 +0200)]
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.
Michael Friedrich [Fri, 28 Sep 2018 09:26:47 +0000 (11:26 +0200)]
Improve logging and code quality
Michael Friedrich [Fri, 28 Sep 2018 09:08:58 +0000 (11:08 +0200)]
Store the last failed zone stage sync validation as runtime ApiListener attribute
Michael Friedrich [Thu, 27 Sep 2018 18:13:54 +0000 (20:13 +0200)]
Fix constant value for zone var override
Michael Friedrich [Thu, 27 Sep 2018 18:05:25 +0000 (20:05 +0200)]
Inherit parent process arguments for defined path constants
Michael Friedrich [Thu, 27 Sep 2018 17:49:16 +0000 (19:49 +0200)]
Improve logging for staged config sync
Michael Friedrich [Thu, 27 Sep 2018 16:49:49 +0000 (18:49 +0200)]
Pass the zonesVar override around
Michael Friedrich [Thu, 27 Sep 2018 16:31:08 +0000 (18:31 +0200)]
Ensure directory paths are created from stage -> prod
Michael Friedrich [Thu, 27 Sep 2018 16:19:48 +0000 (18:19 +0200)]
Better signal for checking the cluster config sync stage (ignore production)
Michael Friedrich [Thu, 27 Sep 2018 15:55:54 +0000 (17:55 +0200)]
Fix crash
Michael Friedrich [Thu, 27 Sep 2018 15:12:02 +0000 (17:12 +0200)]
Implement first draft for cluster config staged sync
Michael Friedrich [Wed, 19 Jun 2019 12:26:34 +0000 (14:26 +0200)]
Disable stack traces for WQ exceptions (used in config compiler)
The ConfigItem class collects exceptions and reports them.
In contrast to our other DiagnosticInformation() calls,
verbosity is enabled any time.
This patch allows to re-enable the verbose output including
the stack traces, but disables this by default.
Michael Friedrich [Tue, 18 Jun 2019 14:42:42 +0000 (16:42 +0200)]
Merge pull request #7248 from Icinga/bugfix/ecc-cipher-loading-el7
SSL Context: Explicitly load ECC ciphers on el7
Michael Friedrich [Tue, 18 Jun 2019 12:58:19 +0000 (14:58 +0200)]
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
Michael Friedrich [Tue, 18 Jun 2019 11:43:53 +0000 (13:43 +0200)]
Merge pull request #7238 from Icinga/bugfix/boost-1-70-7237
Fix build errors with Boost v1.70
Alexander A. Klimov [Fri, 7 Jun 2019 14:30:34 +0000 (16:30 +0200)]
Fix build errors with Boost v1.70
refs #7237
Michael Friedrich [Fri, 7 Jun 2019 09:30:42 +0000 (11:30 +0200)]
Merge pull request #6500 from ajaffie/feature/cli-ca-remove-6049
Implemented `ca remove` cli command + documentation.
Michael Friedrich [Fri, 7 Jun 2019 08:37:19 +0000 (10:37 +0200)]
Add upgrading docs for ca remove/restore CLI commands
Michael Friedrich [Fri, 7 Jun 2019 08:33:35 +0000 (10:33 +0200)]
Add function docs for CA CLI commands
Michael Friedrich [Fri, 10 May 2019 15:57:42 +0000 (17:57 +0200)]
CLI: Allow to list removed CSRs with 'ca list'
Michael Friedrich [Fri, 10 May 2019 15:33:28 +0000 (17:33 +0200)]
CLI: Update ca remove/restore commands from my review
Andrew Jaffie [Wed, 8 Aug 2018 18:59:58 +0000 (14:59 -0400)]
Log messages now use CN, file permissions fixed, ca remove now will not remove CSR's that have already been signed.
Andrew Jaffie [Wed, 8 Aug 2018 16:09:41 +0000 (12:09 -0400)]
Added ca restore command+docs to undo effects of ca remove
Andrew Jaffie [Wed, 8 Aug 2018 15:34:37 +0000 (11:34 -0400)]
Ignore repeated requests from client after using ca remove command
Andrew Jaffie [Fri, 27 Jul 2018 22:25:33 +0000 (18:25 -0400)]
Implemented cli command + documentation.
Michael Friedrich [Thu, 6 Jun 2019 12:30:35 +0000 (14:30 +0200)]
Merge pull request #7011 from Icinga/bugfix/scheduled-downtime-over-midnight-5261
LegacyTimePeriod::ProcessTimeRangeRaw(): support ranges across midnight
Michael Friedrich [Thu, 6 Jun 2019 11:31:41 +0000 (13:31 +0200)]
Merge pull request #7183 from hlsolutions/bugfix/systemv-returncode
Fix System-V return codes according to LSB
Michael Friedrich [Thu, 6 Jun 2019 11:10:40 +0000 (13:10 +0200)]
Docs: Explain across midnight time periods with an overlapping range
Alexander A. Klimov [Fri, 10 May 2019 12:43:57 +0000 (14:43 +0200)]
Fix unit test icinga_legacytimeperiod/advanced
refs #5261
Michael Friedrich [Tue, 7 May 2019 15:23:16 +0000 (17:23 +0200)]
Tests: Add cases for LegacyTimePeriod::ProcessTimeRangeRaw()
Alexander A. Klimov [Tue, 12 Mar 2019 14:26:08 +0000 (15:26 +0100)]
LegacyTimePeriod::ProcessTimeRangeRaw(): support ranges across midnight
refs #5261
Michael Friedrich [Thu, 6 Jun 2019 10:55:01 +0000 (12:55 +0200)]
Merge pull request #7118 from Icinga/bugfix/killmode
Systemd: don't kill any running check plugins
Michael Friedrich [Thu, 6 Jun 2019 10:53:42 +0000 (12:53 +0200)]
Merge pull request #7218 from Icinga/feature/api-host-downtime-all-services
API Actions: Add downtime for all host services (child objects)
Michael Friedrich [Thu, 6 Jun 2019 09:37:06 +0000 (11:37 +0200)]
Add upgrading docs
Michael Friedrich [Tue, 4 Jun 2019 08:04:54 +0000 (10:04 +0200)]
Combine all_services with child_options for schedule-downtime API action
Michael Friedrich [Mon, 3 Jun 2019 14:01:10 +0000 (16:01 +0200)]
REST API: Allow to schedule downtimes for all services for one or more matching hosts
Michael Friedrich [Thu, 6 Jun 2019 09:16:34 +0000 (11:16 +0200)]
Merge pull request #7208 from Icinga/bugfix/waiting-for-running-checks-6841
Actually wait for running checks
Michael Friedrich [Thu, 6 Jun 2019 09:11:38 +0000 (11:11 +0200)]
Merge pull request #7233 from Icinga/feature/docs-object-attrs
Docs: Add new runtime checkable attributes and explain severity in tech concepts
Michael Friedrich [Thu, 6 Jun 2019 09:09:08 +0000 (11:09 +0200)]
Docs: Add new runtime checkable attributes and explain severity in tech concepts
fixes #7100
Michael Insel [Wed, 5 Jun 2019 19:42:17 +0000 (21:42 +0200)]
Merge pull request #7232 from Icinga/bugfix/doc-add-missing-closing-tag
Doc: Add missing closing code tag
Michael Insel [Wed, 5 Jun 2019 18:57:34 +0000 (20:57 +0200)]
Doc: Add missing closing code tag
This adds a missing closing back-tick.
Michael Friedrich [Wed, 5 Jun 2019 15:35:51 +0000 (17:35 +0200)]
Merge pull request #7230 from Icinga/bugfix/cluster-config-sync-lock
Avoid concurrent cluster config sync transactions
Michael Friedrich [Wed, 5 Jun 2019 15:31:57 +0000 (17:31 +0200)]
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
Michael Friedrich [Wed, 5 Jun 2019 15:29:55 +0000 (17:29 +0200)]
Docs: Update technical concepts for TLS Network IO and Boost Asio, Beast and Coroutines
refs #7041
Michael Friedrich [Mon, 13 May 2019 09:26:39 +0000 (11:26 +0200)]
Avoid concurrent cluster config sync transactions
fixes #6660
Michael Friedrich [Wed, 5 Jun 2019 13:22:57 +0000 (15:22 +0200)]
Merge pull request #7184 from robert-scheck/strip-lf-notificationcomment
Strip '\r' in notification messages to avoid 'Content-Type: application/octet-stream'
Michael Friedrich [Wed, 5 Jun 2019 13:12:52 +0000 (15:12 +0200)]
Merge pull request #7229 from Icinga/feature/docs-plugin-api
Docs: Improve the service monitoring chapter (plugin API, new plugin, integration, etc.)
Michael Friedrich [Wed, 5 Jun 2019 12:43:31 +0000 (14:43 +0200)]
Merge pull request #7220 from Icinga/bugfix/asio-error-handling
Improve error handling with network connections (Boost ASIO)
Michael Friedrich [Wed, 5 Jun 2019 12:40:24 +0000 (14:40 +0200)]
Merge pull request #7209 from Icinga/bugfix/immediately-close-sockets
Close server connections and shutdown coroutines immediately on disconnect
Michael Friedrich [Wed, 5 Jun 2019 11:31:02 +0000 (13:31 +0200)]
Docs: Avoid linking to the old plugin guidelines
Ours are here now.
Michael Friedrich [Wed, 5 Jun 2019 11:15:47 +0000 (13:15 +0200)]
Docs: Formatting fixes
Michael Friedrich [Wed, 5 Jun 2019 11:11:12 +0000 (13:11 +0200)]
Docs: Enrich the service monitoring chapter introduction
- Plugin integration with commands
- Plugin API spec and code examples
- Overview
Michael Friedrich [Wed, 5 Jun 2019 10:58:53 +0000 (12:58 +0200)]
Docs: Add details about thresholds and ranges to the plugin API spec
Michael Friedrich [Wed, 5 Jun 2019 09:23:20 +0000 (11:23 +0200)]
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.
Michael Friedrich [Wed, 5 Jun 2019 09:21:07 +0000 (11:21 +0200)]
Docs: Add verbose tip for plugin creation
Michael Friedrich [Tue, 4 Jun 2019 15:46:45 +0000 (17:46 +0200)]
Docs: Improve plugin integration
Michael Friedrich [Thu, 9 May 2019 12:54:49 +0000 (14:54 +0200)]
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.
Michael Friedrich [Wed, 5 Jun 2019 09:40:14 +0000 (11:40 +0200)]
Merge pull request #7219 from Icinga/feature/api-cipherlist
API: Harden default cipher list
Alexander A. Klimov [Wed, 5 Jun 2019 08:32:20 +0000 (10:32 +0200)]
Close server connections and shutdown coroutines immediately on disconnect
Michael Friedrich [Wed, 5 Jun 2019 07:55:49 +0000 (09:55 +0200)]
Add cipher list change to upgrading docs
Michael Friedrich [Mon, 3 Jun 2019 16:09:57 +0000 (18:09 +0200)]
API: Harden default cipher list
According to https://www.acunetix.com/blog/articles/tls-ssl-cipher-hardening/
Michael Friedrich [Mon, 3 Jun 2019 16:15:02 +0000 (18:15 +0200)]
Improve error handling with network connections (Boost ASIO)
refs #7041
Michael Friedrich [Tue, 4 Jun 2019 11:13:20 +0000 (13:13 +0200)]
Merge pull request #7224 from Icinga/bugfix/docs-lang-ref
Docs: Mark include_zones as internal consumed functionality
Michael Friedrich [Tue, 4 Jun 2019 11:11:17 +0000 (13:11 +0200)]
Docs: Mark include_zones as internal consumed functionality
Asked during the Icinga Advanced training.
Michael Friedrich [Tue, 4 Jun 2019 07:34:32 +0000 (09:34 +0200)]
Merge pull request #7213 from widhalmt/doc/global-zones
Docs: Add note about not to use director-global for own configuration
Thomas Widhalm [Fri, 31 May 2019 13:49:14 +0000 (15:49 +0200)]
Docs: Add note about not to use director-global for your own configuration
Michael Friedrich [Mon, 3 Jun 2019 14:19:22 +0000 (16:19 +0200)]
Merge pull request #7211 from Icinga/feature/asio-tls-version
Require TLS 1.2 for Cluster & REST API
Michael Friedrich [Mon, 3 Jun 2019 14:06:13 +0000 (16:06 +0200)]
Merge pull request #7216 from peteeckel/fix/provide-snmpv3-context-option-7215
Provide the snmpv3_context option