]>
granicus.if.org Git - icinga2/log
Michael Friedrich [Fri, 12 Jul 2019 12:37:25 +0000 (14:37 +0200)]
TLS: Fetch the cipher list and log them for debugging
Michael Friedrich [Fri, 12 Jul 2019 12:36:55 +0000 (14:36 +0200)]
Array: Move Join into the base class, available for programmers
Michael Friedrich [Fri, 12 Jul 2019 10:17:30 +0000 (12:17 +0200)]
Merge pull request #7313 from Icinga/feature/docs-dev-windows
Docs: Update Windows build development environment
Michael Friedrich [Thu, 4 Jul 2019 09:44:39 +0000 (11:44 +0200)]
Docs: Update Windows build development environment
Michael Friedrich [Fri, 12 Jul 2019 08:25:38 +0000 (10:25 +0200)]
Merge pull request #7223 from KAMI911/feature/check_logfile
Add check_logfiles to ITL
Michael Friedrich [Fri, 12 Jul 2019 06:48:25 +0000 (08:48 +0200)]
Merge pull request #7310 from Icinga/bugfix/icinga-app-null
DB IDO: Fix possible crash with program status updates before IcingaApplication is loaded
Michael Friedrich [Fri, 12 Jul 2019 06:47:49 +0000 (08:47 +0200)]
Merge pull request #7297 from Icinga/bugfix/notifications-lost-during-restart-7086
Stash notifications until object authority has been updated once
Michael Insel [Thu, 11 Jul 2019 17:14:38 +0000 (19:14 +0200)]
ITL: Fix check_logfiles definition and documentation
This fixes several issues with the ITL definition for the check plugin
check_logfiles.
* Moved the documentation parts into the Log Management section.
* Moved the CheckCommand parts into logmanagement.conf and dropped
logfiles.conf
* Renamed the CheckCommand to logfiles
* Removed the .pl suffix in the command attribute
* Removed the -H argument since its unknown to the plugin
* Fixed typo in documentation parts
Michael Friedrich [Thu, 11 Jul 2019 13:50:52 +0000 (15:50 +0200)]
DB IDO: Fix possible crash with program status updates before IcingaApplication is loaded
Alexander A. Klimov [Mon, 8 Jul 2019 16:31:42 +0000 (18:31 +0200)]
Stash notifications until object authority has been updated once
refs #7086
Alexander A. Klimov [Mon, 8 Jul 2019 14:41:47 +0000 (16:41 +0200)]
Add ApiListener::UpdatedObjectAuthority()
refs #7086
Michael Friedrich [Thu, 11 Jul 2019 08:46:59 +0000 (10:46 +0200)]
Merge pull request #7270 from Icinga/feature/notification-after-downtime-ends-5919
Re-send suppressed notifications
Michael Friedrich [Thu, 11 Jul 2019 08:43:56 +0000 (10:43 +0200)]
Docs: Add upgrading docs for Notification re-sends after Downtime
Michael Friedrich [Thu, 11 Jul 2019 08:43:31 +0000 (10:43 +0200)]
Docs: Add event::SuppressedNotifications to technical concepts
Michael Friedrich [Wed, 10 Jul 2019 09:51:58 +0000 (11:51 +0200)]
Fix compiler warnings and style
Michael Friedrich [Wed, 10 Jul 2019 09:04:34 +0000 (11:04 +0200)]
Merge pull request #7305 from Icinga/bugfix/internal-methods-command-cr
Internal methods must update the 'command' key in the check result
Michael Friedrich [Wed, 10 Jul 2019 08:15:15 +0000 (10:15 +0200)]
Internal methods must update the 'command' key in the check result
Currently this is `null` which isn't really correct.
As otherwise, it is tremendously hard to figure out which check
command was involved, if you're not looking at the `.check_command`
checkable object.
Michael Friedrich [Wed, 10 Jul 2019 06:21:49 +0000 (08:21 +0200)]
Merge pull request #7299 from Icinga/bugfix/arm-atomic
CMake: Detect ARM target architecture and set required -latomic
Michael Friedrich [Wed, 10 Jul 2019 06:18:02 +0000 (08:18 +0200)]
Merge pull request #7302 from Icinga/bugfix/tests-tps
Rewrite tests for Timeperiods with Boost.DateTime and fix "day -X" specification
Alexander A. Klimov [Wed, 3 Jul 2019 13:12:58 +0000 (15:12 +0200)]
Wait until the next check result if it's expected to arrive soon before re-sending a suppressed notification
refs #5919
Alexander A. Klimov [Tue, 2 Jul 2019 09:23:16 +0000 (11:23 +0200)]
Re-send suppressed notifications
refs #5919
Michael Friedrich [Tue, 9 Jul 2019 14:21:07 +0000 (16:21 +0200)]
TimePeriod: Fully support and test "day -X" notation
Previously no tests would have detected if this really worked or not.
Michael Friedrich [Tue, 9 Jul 2019 14:13:54 +0000 (16:13 +0200)]
Fix parsing of "day -X (last day of month)" in TimePeriod class
Michael Friedrich [Wed, 3 Jul 2019 13:40:43 +0000 (15:40 +0200)]
Tests: Rewrite TimePeriod tests using Boost::DateTime
fixes #7257
Michael Friedrich [Tue, 9 Jul 2019 11:57:58 +0000 (13:57 +0200)]
Merge pull request #7300 from Icinga/bugfix/gcc-likely
Quality: Prefer BOOST_{,UN}LIKELY gcc optimizer macros over our own
Michael Friedrich [Tue, 9 Jul 2019 11:20:53 +0000 (13:20 +0200)]
Quality: Prefer BOOST_{,UN}LIKELY gcc optimizer macros over our own
Our macro collides with Boost::DateTime and the gregorian classes
and I don't see any reason why we shouldn't use Boost::Config
being already there.
Michael Friedrich [Mon, 8 Jul 2019 11:48:15 +0000 (13:48 +0200)]
CMake: Detect ARM target architecture and set required -latomic
Diana Flach [Mon, 8 Jul 2019 13:53:17 +0000 (15:53 +0200)]
Merge pull request #7283 from Icinga/bugfix/cluster-sync-checksum-change
Cluster: Avoid checking for checksum length with internal files in use
Michael Friedrich [Mon, 8 Jul 2019 11:56:01 +0000 (13:56 +0200)]
Merge pull request #7294 from dasJ/doc-instancename
doc: Add notes about the `instance_name` IDO field
Michael Friedrich [Mon, 8 Jul 2019 11:55:15 +0000 (13:55 +0200)]
Merge pull request #7295 from Icinga/bugfix/docs-initial-sync
Docs: Clarify on when a manual initial cluster sync is needed
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
Janne Heß [Mon, 8 Jul 2019 10:18:41 +0000 (12:18 +0200)]
doc: Add notes about the `instance_name` IDO field
Related to #7292
Michael Friedrich [Mon, 8 Jul 2019 07:47:18 +0000 (09:47 +0200)]
Merge pull request #7065 from uubk/logrotate-fix
Fix logrotate "Operation not permitted"
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
Michael Friedrich [Thu, 4 Jul 2019 11:52:31 +0000 (13:52 +0200)]
Cluster: Avoid checking for checksum length with internal files in use
fixes #7282
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