Commit Graph

12296 Commits

Author SHA1 Message Date
Alexander Aleksandrovič Klimov 4926353269
Merge pull request #8277 from Icinga/bugfix/latency-8196
Call Process::InitializeSpawnHelper() ASAP
2020-10-16 16:49:06 +02:00
Alexander Aleksandrovič Klimov b98c590d9f
Merge pull request #8331 from Icinga/bugfix/program-status-not-inserted-2.13
IDO: Make sure to insert program status
2020-10-16 14:02:21 +02:00
Noah Hilverling 03af068302 IDO: Make sure to insert program status during reconnect() 2020-10-16 12:30:57 +02:00
Alexander Aleksandrovič Klimov 9dd197d0af
Merge pull request #8165 from Icinga/bugfix/service-get-severity-deadlock-8160
ProcessCheckResult(): Make sure hosts aren't locked during Service::GetSeverity()
2020-10-16 10:41:23 +02:00
Alexander Aleksandrovič Klimov be8dd201eb
Merge pull request #8229 from Icinga/bugfix/downtime-checkable-getname
Check !!downtime->GetCheckable() before downtime->GetCheckable()->GetName()
2020-10-16 10:39:57 +02:00
Alexander Aleksandrovič Klimov d6a4db935f
Merge pull request #8374 from Icinga/bugfix/docker-memory-leak
icinga2 daemon: reap remaining child processes after reload
2020-10-16 10:33:49 +02:00
Alexander Aleksandrovič Klimov 9969090976
Merge pull request #8380 from Icinga/bugfix/ido-do-not-log-if-paused-2.13
IDO: Do not log stats, if paused
2020-10-16 10:33:16 +02:00
Noah Hilverling 8db82ff87d IDO: Do not log stats, if paused 2020-10-15 10:48:41 +02:00
Alexander Aleksandrovič Klimov 1f55338cbd
Merge pull request #8166 from Icinga/bugfix/logrotate-crash-8050
Ensure the daemon doesn't get killed by logrotate
2020-10-15 10:39:47 +02:00
Alexander Aleksandrovič Klimov a54bd52d5c
Merge pull request #8371 from Icinga/bugfix/7567
Revert "MacroProcessor::ResolveArguments(): skip null argument values"
2020-10-15 10:39:12 +02:00
Alexander A. Klimov 91265a5b0e icinga2 daemon: reap remaining child processes after reload
... as we may be PID 1.
2020-10-15 10:25:14 +02:00
Alexander Aleksandrovič Klimov 72c67fc065
Merge pull request #8370 from Icinga/bugfix/reload-hang-8173
Application#RunEventLoop(): don't wait for the thread pool to stop on shutdown
2020-10-14 18:11:23 +02:00
Alexander Aleksandrovič Klimov 79210a5542
Merge pull request #8367 from Icinga/bugfix/ido-hash-groups
*DbObject#CalculateConfigHash(): sort groups to be hashed
2020-10-14 16:23:24 +02:00
Alexander Aleksandrovič Klimov 4bb6f4c910
Merge pull request #8364 from Icinga/bugfix/configsyncstagelock-unlock-owner-213
Make ApiListener::m_ConfigSyncStageLock a SpinLock
2020-10-14 16:01:00 +02:00
Alexander Aleksandrovič Klimov e8316952f8
Merge pull request #8363 from Icinga/bugfix/ido-commit-25000-213
IDO MySQL: actually COMMIT after 25000 async queries
2020-10-14 16:00:39 +02:00
Alexander A. Klimov d3f6a97a7e Ensure the daemon doesn't get killed by logrotate
refs #8050
2020-10-14 14:02:44 +02:00
Alexander Aleksandrovič Klimov 11b0972d33
Merge pull request #8372 from Icinga/probot/update-authors/master/a120a45fbfe6dc7a60d0926373cc81179028481b
Update AUTHORS
2020-10-14 13:42:21 +02:00
icinga-probot[bot] 88dc5fea98
Update AUTHORS 2020-10-14 11:40:19 +00:00
Alexander Aleksandrovič Klimov a120a45fbf
Merge pull request #8369 from Icinga/bugfix/-mailmap
Update .mailmap
2020-10-14 13:40:10 +02:00
Alexander A. Klimov fbfa931b31 Clear ApiListener#last_failed_zones_stage_validation on config::Update if config not changed
refs #7642
2020-10-14 12:17:14 +02:00
Alexander A. Klimov 291823f1a9 Update .mailmap 2020-10-14 11:09:25 +02:00
Alexander Aleksandrovič Klimov 876fa8ba97
Merge pull request #8242 from Icinga/bugfix/reminder-notifications-before-suppressed-8201
Don't send reminder notifications before suppressed ones
2020-10-14 11:03:28 +02:00
Alexander Aleksandrovič Klimov 28f1f70321
Merge pull request #8326 from Icinga/bugfix/do-not-update-customvar-status-on-heavy-config-update
Do not upsert customvar status on heavy config update
2020-10-14 11:00:29 +02:00
Alexander Aleksandrovič Klimov 354a854d7a
Merge pull request #8318 from Icinga/bugfix/exceptions-in-config-sync
Catch exceptions in the thread running HandleConfigUpdate
2020-10-14 10:58:23 +02:00
Alexander A. Klimov a083635de4 Make ApiListener::m_ConfigSyncStageLock a SpinLock 2020-10-14 10:47:08 +02:00
Alexander A. Klimov 4af450141b Introduce SpinLock 2020-10-14 10:47:08 +02:00
Alexander A. Klimov cd72eaf2b9 IDO MySQL: actually COMMIT after 25000 async queries 2020-10-14 10:40:57 +02:00
Alexander Aleksandrovič Klimov 5ead5b1f67
Merge pull request #8243 from Icinga/feature/work-queue-log-level
Improve IDO queue stats logging
2020-10-14 10:40:11 +02:00
Alexander Aleksandrovič Klimov 5f86b870e2
Merge pull request #8359 from Icinga/probot/update-authors/master/8e955204967a199f3c8c0b6bb9dcec745780bf8c
Update AUTHORS
2020-10-14 10:37:20 +02:00
icinga-probot[bot] 0253c9f80e
Update AUTHORS 2020-10-14 07:38:00 +00:00
Noah Hilverling 8e95520496
Merge pull request #8358 from Icinga/bugfix/release-md-chocolatey
RELEASE.md: remove Chocolatey section
2020-10-14 09:37:52 +02:00
Alexander A. Klimov a2c3c33746 RELEASE.md: remove Chocolatey section 2020-10-14 09:27:29 +02:00
Alexander Aleksandrovič Klimov e2ecb913b2
Merge pull request #8145 from Icinga/bugfix/release-tag
RELEASE.md: replace "git push --tags" with "git push origin v$VERSION"
2020-10-13 18:28:22 +02:00
Alexander Aleksandrovič Klimov 0635dd4b7f
Merge pull request #8350 from Icinga/bugfix/update-mailmap-jbrost
Add myself to mailmap
2020-10-13 18:16:17 +02:00
Julian Brost e09dc838d5 Add myself to mailmap 2020-10-13 18:14:37 +02:00
Alexander Aleksandrovič Klimov d8b40e09ce
Merge pull request #8346 from Icinga/docs/release-packaging-windows
RELEASE.md: Add instructions how to prepare releases for Windows
2020-10-13 17:42:13 +02:00
Julian Brost bc7f1320e6 RELEASE.md: Add instructions how to prepare releases for Windows 2020-10-13 17:39:25 +02:00
Alexander Aleksandrovič Klimov feae0e5247
Merge pull request #8343 from Icinga/docs/release-packaging-repo-urls
RELEASE.md: fix packaging repo URLs
2020-10-13 17:25:12 +02:00
Julian Brost 132f501148 RELEASE.md: fix packaging repo URLs 2020-10-13 17:18:31 +02:00
Alexander Aleksandrovič Klimov 4308979018
Merge pull request #8240 from Icinga/bugfix/release-authors
RELEASE.md: remove unneccessary "Authors" section
2020-10-13 16:03:08 +02:00
Julian Brost e04d618ede Catch exceptions in the thread running HandleConfigUpdate
With dc3062a9b0, exceptions in this code
path were no longer caught properly. This commit restores exception
handling for this function.
2020-10-13 14:07:44 +02:00
Alexander A. Klimov cb00a7fd6a *DbObject#CalculateConfigHash(): sort groups to be hashed
... to ensure consistent hashes across config reloads.

This will likely cause a heavy update once for all objects in >1 group,
but it will ensure that this happens the last time.
2020-10-13 13:47:49 +02:00
Noah Hilverling 04fc0014ce IDO-Logging: Increase logging threshold for nearly empty queue 2020-10-13 09:15:20 +02:00
Noah Hilverling d377996176 IDO-Logging: Don't log when not connected 2020-10-13 09:15:14 +02:00
Noah Hilverling 82c4d58d14 IDO-Logging: Remove useless ETA 2020-10-13 09:15:09 +02:00
Noah Hilverling be3eb0821a IDO-Logging: Add log timeout to log every 5 minutes 2020-10-13 09:15:03 +02:00
Noah Hilverling 22c14fd964 IDO: Always insert customvar status on heavy config update 2020-10-13 08:54:58 +02:00
Yonas Habteab 3f3e04eb69 Allow to create api user w/ password
fixes #8164
2020-10-09 20:15:44 +02:00
Julian Brost 2087e624ab docs: Update MySQL package names for Debian
Debian switched to MariaDB in stretch and removed the mysql-server and
mysql-client packages in buster. The new mariadb packages are available
starting in Debian jessie.
2020-10-08 17:12:49 +02:00
Yonas Habteab a00134a47d Fix wrong config attr data type 2020-10-07 18:06:59 +02:00