Commit Graph

11042 Commits

Author SHA1 Message Date
Michael Friedrich 71cf491a3b
Merge pull request #7331 from Icinga/bugfix/unit-tests-packaging-7327
Shutdown timers cleanly on exit
2019-07-17 15:16:04 +02:00
Alexander A. Klimov 80d976fed6 Shutdown timers cleanly on exit
refs #7327
2019-07-17 13:53:43 +02:00
Michael Friedrich e1314ca80e
Merge pull request #7319 from Icinga/feature/docs-troubleshoot-tls-handshake-ciphers
Docs: Add cipher analysis to troubleshooting docs
2019-07-15 15:09:30 +02:00
Michael Friedrich f4942fd359
Merge pull request #7318 from Icinga/bugfix/tls-options
TLS: Ensure to specify options in one place
2019-07-15 15:08:58 +02:00
Michael Friedrich fd135099e2 Docs: Add cipher analysis to troubleshooting docs
refs #7277
2019-07-15 14:04:20 +02:00
Michael Friedrich 6682a427d4 TLS: Ensure to specify options in one place
`SetTlsProtocolminToSSLContext()` may have overridden
previous flags.

refs #7277

refs #7041
refs #7211
2019-07-15 13:29:55 +02:00
Michael Friedrich 2dfd73ab5f
Merge pull request #7303 from Icinga/bugfix/filesync-7296
Cluster config sync: Fix new files not being moved
2019-07-15 10:53:22 +02:00
Michael Friedrich eff6e7662c Fix style and comments 2019-07-15 09:54:35 +02:00
Diana Flach 5fbc052aba Cluster Sync: Improve log messages 2019-07-15 09:54:26 +02:00
Michael Friedrich b00e1d0c67 Config sync: Count the updates and log them
```
[2019-07-10 12:34:27 +0200] information/ApiListener: Received configuration updates (2) from endpoint 'master1' are equal to production, not triggering reload.
```
2019-07-15 09:54:09 +02:00
Diana Flach 87d4575af8 Cluster Sync: Ensure that files are synced everytime 2019-07-15 09:53:47 +02:00
Diana Flach 35f53c0dc1
Merge pull request #7315 from Icinga/feature/api-cipher-list-log
TLS: Fetch the cipher list and log them for debugging (OpenSSL 1.1.x)
2019-07-12 16:55:07 +02:00
Michael Friedrich 524e2368be Respect OpenSSL 1.1.0 vs older 2019-07-12 14:56:08 +02:00
Michael Friedrich 32d288f243 TLS: Fetch the cipher list and log them for debugging 2019-07-12 14:39:17 +02:00
Michael Friedrich 38b7f10e0e Array: Move Join into the base class, available for programmers 2019-07-12 14:36:55 +02:00
Michael Friedrich 81ae56848c
Merge pull request #7314 from Icinga/feature/docs-macos-dev
Docs: Update macOS dev environment
2019-07-12 13:36:50 +02:00
Michael Friedrich 1d54dfab27 Docs: Update macOS dev environment 2019-07-12 13:34:20 +02:00
Michael Friedrich d4393b6d54
Merge pull request #7313 from Icinga/feature/docs-dev-windows
Docs: Update Windows build development environment
2019-07-12 12:17:30 +02:00
Michael Friedrich f392c2ab90 Docs: Update Windows build development environment 2019-07-12 12:16:04 +02:00
Michael Friedrich 0501b12d01
Merge pull request #7223 from KAMI911/feature/check_logfile
Add check_logfiles to ITL
2019-07-12 10:25:38 +02:00
Michael Friedrich 78867313fe
Merge pull request #7310 from Icinga/bugfix/icinga-app-null
DB IDO: Fix possible crash with program status updates before IcingaApplication is loaded
2019-07-12 08:48:25 +02:00
Michael Friedrich dd259888ca
Merge pull request #7297 from Icinga/bugfix/notifications-lost-during-restart-7086
Stash notifications until object authority has been updated once
2019-07-12 08:47:49 +02:00
Michael Insel 8e7db97ae7 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
2019-07-11 19:31:37 +02:00
Michael Friedrich e659f8d2e1 DB IDO: Fix possible crash with program status updates before IcingaApplication is loaded 2019-07-11 16:06:27 +02:00
Alexander A. Klimov b95e92ea5f Stash notifications until object authority has been updated once
refs #7086
2019-07-11 13:07:50 +02:00
Alexander A. Klimov 3f4cb0936c Add ApiListener::UpdatedObjectAuthority()
refs #7086
2019-07-11 12:58:07 +02:00
Michael Friedrich 60661eaecb
Merge pull request #7270 from Icinga/feature/notification-after-downtime-ends-5919
Re-send suppressed notifications
2019-07-11 10:46:59 +02:00
Michael Friedrich 127014a26f Docs: Add upgrading docs for Notification re-sends after Downtime 2019-07-11 10:44:57 +02:00
Michael Friedrich 613edcf6f7 Docs: Add event::SuppressedNotifications to technical concepts 2019-07-11 10:44:57 +02:00
Michael Friedrich a3c6797310 Fix compiler warnings and style 2019-07-10 11:51:58 +02:00
Michael Friedrich 7c10b9a0d2
Merge pull request #7305 from Icinga/bugfix/internal-methods-command-cr
Internal methods must update the 'command' key in the check result
2019-07-10 11:04:34 +02:00
Michael Friedrich 406ecb448c 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.
2019-07-10 10:15:15 +02:00
Michael Friedrich bdc3a12524
Merge pull request #7299 from Icinga/bugfix/arm-atomic
CMake: Detect ARM target architecture and set required -latomic
2019-07-10 08:21:49 +02:00
Michael Friedrich b83e66acef
Merge pull request #7302 from Icinga/bugfix/tests-tps
Rewrite tests for Timeperiods with Boost.DateTime and fix "day -X" specification
2019-07-10 08:18:02 +02:00
Alexander A. Klimov ffa7b749cb Wait until the next check result if it's expected to arrive soon before re-sending a suppressed notification
refs #5919
2019-07-09 16:38:50 +02:00
Alexander A. Klimov ed56fa34dc Re-send suppressed notifications
refs #5919
2019-07-09 16:38:50 +02:00
Michael Friedrich 88e5d8c47a TimePeriod: Fully support and test "day -X" notation
Previously no tests would have detected if this really worked or not.
2019-07-09 16:21:07 +02:00
Michael Friedrich 0dc87668d6 Fix parsing of "day -X (last day of month)" in TimePeriod class 2019-07-09 16:16:43 +02:00
Michael Friedrich 7665143afa Tests: Rewrite TimePeriod tests using Boost::DateTime
fixes #7257
2019-07-09 15:34:07 +02:00
Michael Friedrich 0712589bd1
Merge pull request #7300 from Icinga/bugfix/gcc-likely
Quality: Prefer BOOST_{,UN}LIKELY gcc optimizer macros over our own
2019-07-09 13:57:58 +02:00
Michael Friedrich 0d25ae0e08 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.
2019-07-09 13:20:53 +02:00
Michael Friedrich 22668652c3 CMake: Detect ARM target architecture and set required -latomic 2019-07-09 12:11:25 +02:00
Diana Flach 400d58f95f
Merge pull request #7283 from Icinga/bugfix/cluster-sync-checksum-change
Cluster: Avoid checking for checksum length with internal files in use
2019-07-08 15:53:17 +02:00
Michael Friedrich 09fe570392
Merge pull request #7294 from dasJ/doc-instancename
doc: Add notes about the `instance_name` IDO field
2019-07-08 13:56:01 +02:00
Michael Friedrich de31243563
Merge pull request #7295 from Icinga/bugfix/docs-initial-sync
Docs: Clarify on when a manual initial cluster sync is needed
2019-07-08 13:55:15 +02:00
Michael Friedrich 0c1477623d Docs: Clarify on when a manual initial cluster sync is needed
refs #7292
2019-07-08 13:53:57 +02:00
Janne Heß 1d714395a6 doc: Add notes about the `instance_name` IDO field
Related to #7292
2019-07-08 12:18:41 +02:00
Michael Friedrich aabfcfef9e
Merge pull request #7065 from uubk/logrotate-fix
Fix logrotate "Operation not permitted"
2019-07-08 09:47:18 +02:00
Michael Friedrich fdaab4b420
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
2019-07-08 09:31:15 +02:00
Michael Friedrich 39afff18e2
Merge pull request #7268 from m4k5ym/patch-1
Add printer_health CheckCommand definition
2019-07-08 08:47:53 +02:00