Commit Graph

12454 Commits

Author SHA1 Message Date
Julian Brost 13b63882b6 CHANGELOG.md: add v2.11.7 2021-03-04 17:01:31 +00:00
Alexander Aleksandrovič Klimov 1dbc42eea6
Merge pull request #8661 from Icinga/probot/sync-changelog/a3daae442a792b5ff63af560f9a3dc1c77d5d45b
CHANGELOG.md: add v2.11.6
2021-03-04 18:01:18 +01:00
Julian Brost b4774f4836 CHANGELOG.md: add v2.11.6 2021-03-04 17:00:16 +00:00
Alexander Aleksandrovič Klimov a3daae442a
Merge pull request #8660 from Icinga/probot/sync-changelog/52f82b2e898473281d4d70f25569af0d6ce60dc3
CHANGELOG.md: add v2.11.5
2021-03-04 18:00:01 +01:00
Alexander A. Klimov aa386b6aaa CHANGELOG.md: add v2.11.5 2021-03-04 16:59:06 +00:00
Alexander Aleksandrovič Klimov 52f82b2e89
Merge pull request #8659 from Icinga/probot/sync-changelog/4c722b20a44dd882b549b4c29b8e28e13025ad33
CHANGELOG.md: add v2.11.4
2021-03-04 17:58:54 +01:00
Noah Hilverling 4606edc69d CHANGELOG.md: add v2.11.4 2021-03-04 16:57:52 +00:00
Alexander Aleksandrovič Klimov 4c722b20a4
Merge pull request #8658 from Icinga/probot/sync-changelog/2581a465366fab9f16bfa5876d4b4e230c26ba65
CHANGELOG.md: add v2.10.7
2021-03-04 17:57:36 +01:00
Michael Friedrich c7cae4ec14 CHANGELOG.md: add v2.10.7 2021-03-04 16:55:13 +00:00
Alexander Aleksandrovič Klimov 2581a46536
Merge pull request #8657 from Icinga/probot/sync-changelog/faa513a1793558dd54004cac3c84e60be151a12a
CHANGELOG.md: add v2.10.6
2021-03-04 17:55:00 +01:00
Michael Friedrich 64b0220cc1 CHANGELOG.md: add v2.10.6 2021-03-04 16:53:58 +00:00
Alexander Aleksandrovič Klimov faa513a179
Merge pull request #8656 from Icinga/probot/sync-changelog/30b4b20280f1446bc253c8edf45ebb41a2a6ba7f
CHANGELOG.md: add v2.9.3
2021-03-04 17:53:43 +01:00
Michael Friedrich 60cfee1862 CHANGELOG.md: add v2.9.3 2021-03-04 16:49:02 +00:00
Julian Brost 30b4b20280
Merge pull request #8620 from Icinga/feature/fedora33
GitHub actions: build Fedora v33
2021-03-04 17:48:50 +01:00
Alexander Aleksandrovič Klimov 618c778430
Merge pull request #8649 from Icinga/bugfix/icingadb-deduplicate-cvs
Icinga DB: HMSET the same fields only once
2021-03-03 16:57:27 +01:00
Noah Hilverling 0b55073964
Merge pull request #8641 from Icinga/bugfix/icingadb-types
Icinga DB: don't write all types
2021-03-03 14:47:33 +01:00
Alexander A. Klimov ed57d31400 Icinga DB: HMSET the same fields only once 2021-02-24 13:37:36 +01:00
Noah Hilverling 0b26515c34
Merge pull request #8636 from Icinga/feature/sles151
GitHub actions: drop SLES v15.1
2021-02-23 13:30:04 +01:00
Noah Hilverling 82ddb0d82b
Merge pull request #8637 from Icinga/feature/opensuse151
GitHub actions: drop openSUSE v15.1
2021-02-23 13:29:46 +01:00
Alexander A. Klimov d4a91ec50d Icinga DB: don't write all types 2021-02-17 12:41:45 +01:00
Alexander A. Klimov 8ca701d706 GitHub actions: drop openSUSE v15.1 2021-02-15 13:51:40 +01:00
Alexander A. Klimov 959328e2c3 GitHub actions: drop SLES v15.1 2021-02-15 13:44:33 +01:00
Alexander Aleksandrovič Klimov aa4f53009e
Merge pull request #8614 from Icinga/bugfix/runworker-exceptions
Improve handling of exceptions thrown by RunWorker
2021-02-08 16:22:35 +01:00
Julian Brost 54a8c7b434 Try to log useful information for exceptions thrown by RunWorker 2021-02-05 15:43:27 +01:00
Julian Brost ddbad7937d
Merge pull request #8622 from Icinga/bugfix/dependency-ti-typo-8180
dependency.ti: fix typo
2021-02-05 11:49:03 +01:00
Alexander A. Klimov ebfa73388f dependency.ti: fix typo
refs #8180
2021-02-04 18:29:54 +01:00
Alexander A. Klimov e9c7e67a9a GitHub actions: build Fedora v33 2021-02-04 17:14:02 +01:00
Alexander Aleksandrovič Klimov aa0baf6f69
Merge pull request #8099 from Icinga/feature/std-mutex
Use std::mutex, not boost::mutex
2021-02-04 10:19:04 +01:00
Alexander A. Klimov 9154aa17eb Fix missing include 2021-02-03 09:54:57 +01:00
Alexander A. Klimov c3388e9af6 Use std::mutex, not boost::mutex 2021-02-03 09:54:57 +01:00
Alexander Aleksandrovič Klimov dbdfe189c0
Merge pull request #7092 from Icinga/bugfix/command-escape-windows-4849
Fix Windows command escape for \"
2021-02-01 11:20:44 +01:00
Julian Brost 56095b29f4 Add tests for Utility::EscapeCreateProcessArg 2021-01-29 15:15:43 +01:00
Alexander Aleksandrovič Klimov 32cae11175
Merge pull request #8613 from Icinga/bugfix/ido-built-in-checkcommand-overrides-crit-with-warn-state
IdoCheckTask: Don't override checkable critical with warn state
2021-01-28 14:26:10 +01:00
Alexander Aleksandrovič Klimov b4e85235aa
Merge pull request #8020 from Icinga/bugfix/itl-mysql-s-h-8017
check_mysql: don't set -H if -s is given
2021-01-28 11:27:34 +01:00
Alexander Aleksandrovič Klimov ca52366a61
Merge pull request #8602 from Icinga/bugfix/icingadb-activation-priority
Delay start of IcingaDB until most config objects are activated
2021-01-28 10:01:37 +01:00
Alexander Aleksandrovič Klimov 9a867c2c25
Merge pull request #8513 from Icinga/bugfix/notifications-downtime-change-in-timeperiod-8509
FireSuppressedNotifications(const Notification::Ptr&): don't send notifications while suppressed by checkable
2021-01-28 10:01:23 +01:00
Julian Brost d7833a5977 Catch exceptions thrown by RunWorker on Windows
The same is already done on other platforms in line 529.
2021-01-27 15:48:28 +01:00
Alexander Aleksandrovič Klimov 8d1e958275
Make code doc more readable
Co-authored-by: Julian Brost <julian.brost@icinga.com>
2021-01-27 15:43:37 +01:00
Yonas Habteab 3e5dfa9607 IdoCheckTask: Don't override checkable critical with warn state 2021-01-27 13:27:14 +01:00
Julian Brost 9219f68c83
Merge pull request #8158 from Icinga/bugfix/check-source-passive-7948
Checkable#ProcessCheckResult(): don't overwrite check source
2021-01-26 10:49:55 +01:00
Alexander A. Klimov c3eba7e88d Checkable#ProcessCheckResult(): don't overwrite check source
... set by passive check results.

refs #7948
2021-01-25 16:05:03 +01:00
Alexander Aleksandrovič Klimov 91ffa89dad
Merge pull request #7918 from Icinga/feature/check-timeouts-sigterm-6162
On check_timeout first send SIGTERM
2021-01-21 16:11:07 +01:00
Alexander Aleksandrovič Klimov 124f98eed4
Merge pull request #8600 from Icinga/feature/flapping-ignore-unknown
Flapping: Allow to ignore states in flapping detection
2021-01-21 13:47:44 +01:00
Alexander Aleksandrovič Klimov b1719883a3
Merge pull request #8604 from Icinga/bugfix/icingadb-initial-sync-delay
IcingaDB: start initial dump in callback instead of timer
2021-01-21 13:47:12 +01:00
Alexander Aleksandrovič Klimov ef23ae5f3c
Merge pull request #8267 from efuss/passive_reach
Drop passive check results for unreachable hosts/services
2021-01-20 17:07:52 +01:00
Noah Hilverling e060995fd8 Flapping: Allow to ignore states in flapping calculation 2021-01-20 11:09:03 +01:00
Alexander Aleksandrovič Klimov 5e810f30a7
Merge pull request #8605 from Icinga/bugfix/icingadb-initial-sync-log
IcingaDB: wait for queries to be executed in inital sync
2021-01-20 10:47:46 +01:00
Julian Brost 2d080f14eb IcingaDB: start initial dump in callback instead of timer
Previously, the initial config dump was started in a timer executed
every 15 seconds. During the first execution of the timer, the Redis
connection is typically not established yet. Therefore, this delayed the
initial sync by up to 15 seconds.

This commit instead triggers the sync from a callback that is executed
after the connection is successfully established.

The timer is removed completely. On first glance, it looks like it would
ensure that a lost connection is reestablished, but this is handled
internally by RedisConnection. After the config has been dumped once,
that timer wouldn't ever attempt a reconnect anyways.
2021-01-20 09:31:27 +01:00
Edgar Fuß 3c050fcc46 Drop passive check results for unreachable hosts/services
Disregard passive check results while no active checks are being scheduled due to violated dependencies.

This copes with the fact that programs feeding passive check results into Icinga may have no notion of reachability and so drive a checkable into HARD state although dependencies have caused active check scheduling being suspended. This may prevent superflous problem notifications being emitted during recovery.

As disable_checks defaults to false, it was regarded OK (by @Al2Klimov) to make this behaviour (which resembles the active check case) unconditional and not conditionalize it on an additional attribute.

In the description of disable_checks, note that a value of true both disables scheduling of active checks and drops passive check results.
2021-01-19 20:08:38 +01:00
Julian Brost 174f7f75a8 IcingaDB: wait for queries to be executed in inital sync
This delays the log message stating that the initial dump is done until
all queries are actually done and now logs a meaningful duration. In
addition, this delays the return of the function and therefore when
state variables are updated by the caller.
2021-01-19 17:14:42 +01:00