]>
granicus.if.org Git - icinga2/log
Michael Friedrich [Mon, 8 Jul 2019 11:53:57 +0000 (13:53 +0200)]
Docs: Clarify on when a manual initial cluster sync is needed
refs #7292
Michael Friedrich [Mon, 8 Jul 2019 07:31:15 +0000 (09:31 +0200)]
Merge pull request #7287 from Icinga/bugfix/script-debugger-crash-7284
Service: don't rely on the own host being already set during derivative state calculation
Michael Friedrich [Mon, 8 Jul 2019 06:47:53 +0000 (08:47 +0200)]
Merge pull request #7268 from m4k5ym/patch-1
Add printer_health CheckCommand definition
Max Deparade [Mon, 8 Jul 2019 06:44:01 +0000 (08:44 +0200)]
Add printer_health CheckCommand definition
Michael Friedrich [Thu, 4 Jul 2019 15:08:42 +0000 (17:08 +0200)]
Merge pull request #7279 from Icinga/bugfix/docs-cluster-health-dependency
Docs: Fix example for cluster health dependency
Alexander A. Klimov [Thu, 4 Jul 2019 14:14:40 +0000 (16:14 +0200)]
Service: don't rely on the own host being already set during derivative state calculation
refs #7284
Michael Friedrich [Thu, 4 Jul 2019 12:27:45 +0000 (14:27 +0200)]
Merge pull request #7281 from Icinga/bugfix/openssl-1-0-1-7280
Use SSL_CTX_set_ecdh_auto only if available
Alexander A. Klimov [Thu, 4 Jul 2019 11:05:31 +0000 (13:05 +0200)]
Use SSL_CTX_set_ecdh_auto only if available
refs #7280
Michael Friedrich [Thu, 4 Jul 2019 09:43:34 +0000 (11:43 +0200)]
Docs: Fix example for cluster health dependency
Michael Friedrich [Wed, 3 Jul 2019 13:40:19 +0000 (15:40 +0200)]
Merge pull request #7276 from Icinga/bugfix/windows-non-unity-build-fix
Buildfix for Windows with non-unity builds
Michael Friedrich [Wed, 3 Jul 2019 11:23:14 +0000 (13:23 +0200)]
Buildfix for Windows with non-unity builds
Michael Friedrich [Wed, 3 Jul 2019 10:51:22 +0000 (12:51 +0200)]
Merge pull request #7275 from Icinga/bugfix/doc-period-default
Clarify "Not set by default" of config object attributes referring to a time period
Alexander A. Klimov [Wed, 3 Jul 2019 09:27:26 +0000 (11:27 +0200)]
Clarify "Not set by default" of config object attributes referring to a time period
Michael Friedrich [Wed, 3 Jul 2019 08:30:24 +0000 (10:30 +0200)]
Merge pull request #7273 from Icinga/feature/docs-api-clients
Docs: Improve API clients; add Powershell example
Michael Friedrich [Wed, 3 Jul 2019 08:20:57 +0000 (10:20 +0200)]
Docs: Shorten the example script name
Michael Friedrich [Wed, 3 Jul 2019 08:19:21 +0000 (10:19 +0200)]
Docs: Add TOC to REST API chapter
Michael Friedrich [Wed, 3 Jul 2019 08:08:17 +0000 (10:08 +0200)]
Docs: Add Powershell API example with PS ISE image
Thanks for the inspiration @mcktr
Michael Friedrich [Wed, 3 Jul 2019 07:18:46 +0000 (09:18 +0200)]
Docs: Add gocinga to API docs
Michael Friedrich [Wed, 3 Jul 2019 06:32:13 +0000 (08:32 +0200)]
Docs: Add Icinga Slack Bot to API docs
Michael Friedrich [Tue, 2 Jul 2019 13:12:47 +0000 (15:12 +0200)]
API: Don't be so strict with the downtime start_time
There may be a slight overlap between the actual request
time and 'now'.
refs #7271
Michael Friedrich [Tue, 2 Jul 2019 10:33:54 +0000 (12:33 +0200)]
Merge pull request #7261 from Icinga/bugfix/throw-default
Avoid "~Class() throw() = default;"
Michael Friedrich [Tue, 2 Jul 2019 09:52:40 +0000 (11:52 +0200)]
Merge pull request #7271 from Icinga/bugfix/api-schedule-downtime-parameters
API: Improve error handling for 'schedule-downtime' action
Michael Friedrich [Tue, 2 Jul 2019 09:15:43 +0000 (11:15 +0200)]
API: Improve error handling for 'schedule-downtime' action
Michael Friedrich [Mon, 1 Jul 2019 08:37:18 +0000 (10:37 +0200)]
Merge pull request #7264 from BarbUk/feature/itl-check-memcached
Add memcached CheckCommand definition
BarbUk [Sun, 30 Jun 2019 06:02:57 +0000 (10:02 +0400)]
Use PluginContribDir instead of PluginDir
Michael Friedrich [Fri, 28 Jun 2019 15:50:38 +0000 (17:50 +0200)]
Merge pull request #7267 from Icinga/feature/security
Add security issue URL to README/About in the docs
Michael Friedrich [Fri, 28 Jun 2019 15:49:26 +0000 (17:49 +0200)]
Docs: Add security issue URL to About chapter
Michael Friedrich [Fri, 28 Jun 2019 15:47:37 +0000 (17:47 +0200)]
Add security issue URL to README
Michael Friedrich [Fri, 28 Jun 2019 15:13:55 +0000 (17:13 +0200)]
Merge pull request #7266 from Icinga/bugfix/array-bound-7265
Fix out-of-bounds crash with Array#remove
Diana Flach [Fri, 28 Jun 2019 14:12:58 +0000 (16:12 +0200)]
Fix Icinga when calling array.remove()
fixes #7265
BarbUk [Fri, 28 Jun 2019 12:37:56 +0000 (16:37 +0400)]
Add memcached CheckCommand definition
Michael Friedrich [Fri, 28 Jun 2019 07:11:33 +0000 (09:11 +0200)]
Merge pull request #7262 from Obihoernchen/patch-2
Fix syntax (missing ")
Alexander A. Klimov [Thu, 27 Jun 2019 08:43:59 +0000 (10:43 +0200)]
Avoid "~Class() throw() = default;"
Obihörnchen [Thu, 27 Jun 2019 23:23:06 +0000 (01:23 +0200)]
Fix syntax (missing ")
Just a missing `"` ;)
Michael Friedrich [Thu, 27 Jun 2019 06:20:45 +0000 (08:20 +0200)]
Merge pull request #7259 from dasJ/master
Fix Path to staged files
Janne Heß [Wed, 26 Jun 2019 00:04:06 +0000 (02:04 +0200)]
Fix Path to staged files
The paths in the list are relative, not absolute to the stage directory.
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