Commit Graph

10058 Commits

Author SHA1 Message Date
Bas Couwenberg 32dc61a788 Fix nested hostgroup example
In Icinga 1.x the list of members was set on the group object, in Icinga 2 the list of groups is set on the member objects.

(cherry picked from commit 8d3c8fd107)
2019-03-19 11:20:30 +01:00
Alexander A. Klimov bac6f17eff Notification#BeginExecuteNotification(): SetNextNotification() correctly
refs #5561

(cherry picked from commit 3b2054761a)
2019-03-19 11:20:09 +01:00
Jean Flach cd65ffc55c Don't run UpdateObjectAuthority for Comments and Downtimes
(cherry picked from commit 2aff6a5887)
2019-03-19 11:19:50 +01:00
Michael Friedrich 2e2e4ffcec Fix that no_more_notifications gets reset when Recovery notifications are filtered away
Hello from the OSMC hackathon :)

(cherry picked from commit d082e8c1b1)
2019-03-19 11:19:32 +01:00
Michael Insel 214874d401 Update Windows agent documentation screenshots
Updates the Windows agent screenshots in the documentation with the new design.

refs #6729

(cherry picked from commit a1540aebcc)
2019-03-19 11:19:08 +01:00
Michael Insel b24b19214b Update Windows Agent design
This updates the Windows agent design to use the Icinga background
image.

refs #6729

(cherry picked from commit 68faeccff8)
2019-03-19 11:18:59 +01:00
Alexander A. Klimov 188ff9b25a Assignment operators doc: tell what the { } are for
refs #5430

(cherry picked from commit 5e08e033ad)
2019-03-13 10:34:06 +01:00
Alexander A. Klimov c64f974f3c Doc: write systemd lower-case
See spelling chapter in https://freedesktop.org/wiki/Software/systemd/

(cherry picked from commit e7f2370ada)
2019-03-13 10:33:48 +01:00
Lee Garrett d4646acdbf Typo and link fix
(cherry picked from commit 0a582905c5)
2019-03-13 10:33:02 +01:00
Alexander A. Klimov 58c2ea8a76 Ignore failure of unit test base_utility/comparepasswords_issafe
... as volatile system load may cause false negatives

(cherry picked from commit 646feb76e0)
2019-03-13 10:32:18 +01:00
Alexander A. Klimov 1436b7dc1c Don't require OS headers to provide SO_REUSEPORT
(cherry picked from commit bf0c68757f)
2019-03-13 10:31:09 +01:00
Michael Friedrich 101783d7ef Release version 2.10.3 2019-02-25 16:53:13 +01:00
Michael Friedrich 47c969eadc Dynamically print current copyright year in `--version` output
(cherry picked from commit c1fedab7ae)
2019-02-25 16:41:39 +01:00
Michael Friedrich 14ef7cbc1f Fix formatting in development docs
(cherry picked from commit 710e4fa55e)
2019-02-25 13:49:19 +01:00
Alexander A. Klimov a4f774aa94 Test Utility::ComparePasswords()
(cherry picked from commit 1b00331a88)
2019-02-25 13:34:59 +01:00
Alexander A. Klimov f98e40d880 Secure ApiUser::GetByAuthHeader() against timing attacks
(cherry picked from commit 9558ebc0f4)
2019-02-25 13:34:51 +01:00
Michael Friedrich 51b637fc19
Merge pull request #6971 from Icinga/bugfix/downtime-acti
Activate downtimes before any checkable object
2019-02-25 10:14:30 +01:00
Michael Friedrich 82c0197aae Activate downtimes before any checkable object
(cherry picked from commit 7936a147ba)
2019-02-25 09:49:19 +01:00
Michael Friedrich 466096a6a4 Debug: Log calls to ConfigObject::Deactivate()
Only available in debug builds.

(cherry picked from commit d98c0704c4)
2019-02-19 13:53:09 +01:00
Michael Friedrich 4f494b9a91 Troubleshooting: Add notes on ephemeral port range blocking on Windows agents
(cherry picked from commit 6558287da0)
2019-02-11 15:04:35 +01:00
Michael Friedrich c770920818 Refactor conditions and add debug log messages for future crs and skipped crs
(cherry picked from commit d1fb1a8eda)
2019-02-11 13:32:46 +01:00
Jean Flach dc27bcc8a3 Fix checkresults from the future breaking checks
(cherry picked from commit c97f3c80f5)
2019-02-11 13:32:39 +01:00
Michael Insel 9259e7adfd Doc: Add .NET 3.5 to the windows build stack
The Windows Agent Wizard is currently build on .NET Framework 2.0, which
is not installed by default on Windows 10. This adds a note to the
development documentation to install the .NET Framework 3.5 (which
includes .NET Framework 2.0) component on Windows 10.

(cherry picked from commit 52d81d0af5)
2019-02-11 13:32:16 +01:00
Michael Friedrich 92fba8c64f Don't allow retry_interval <= 0
(cherry picked from commit 8cbd482072)
2019-02-11 13:31:55 +01:00
Alexander A. Klimov fb72633c5e Downtime::AddDowntime(): place Downtimes in the same zone as the origin ScheduledDowntimes
(cherry picked from commit ce847324bc)
2019-02-11 13:31:22 +01:00
Alexander A. Klimov ee915ed5d2 Validate Zone::GetLocalZone() before using
(cherry picked from commit b09e7b287e)
2019-02-11 13:30:47 +01:00
Michael Friedrich a557f47e2a Log: Ensure not to pass negative values to localtime()
refs #6887

(cherry picked from commit 2fc33996b6)
2019-02-11 13:29:27 +01:00
Alexander A. Klimov 9040c9b512 Allow Checkable#retry_interval to be 0
refs #6871

(cherry picked from commit 9ae738d17f)
2019-02-11 13:29:05 +01:00
Max Rosin 26db972859 Document that retry_interval is only used after an active check result
fixes #6795

(cherry picked from commit 00757919b3)
2019-02-11 13:28:33 +01:00
Michael Friedrich d68a565c19 Docs: Formatting for dev requirements
(cherry picked from commit 00673cd759)
2019-02-11 13:28:07 +01:00
Michael Friedrich 07d949a6a0 Minor updates for core dumps
The main parts are discussed in #6723

(cherry picked from commit 43c171056f)
2019-02-11 13:28:01 +01:00
Michael Friedrich 242a7f5705 Update TOC
(cherry picked from commit 01d2a17683)
2019-02-11 13:27:57 +01:00
Michael Friedrich d9b5fe0ace Purge INSTALL.md and add packager info to README.md
Everything is located in the online documentation, where the README.md
points to.

(cherry picked from commit 9801b8b7a0)
2019-02-11 13:27:52 +01:00
Michael Friedrich 47c44fe641 Fix formatting in dev docs
(cherry picked from commit 8cbe286e67)
2019-02-11 13:27:45 +01:00
Michael Friedrich 8313a1b2a9 Docs: Update README.md with a better description and direct URLs to icinga.com/docs
(cherry picked from commit e0b3e05c63)
2019-02-11 13:27:38 +01:00
Michael Friedrich 7abed414ea Docs: Update anchors
(cherry picked from commit ac9ed41537)
2019-02-11 13:27:31 +01:00
Michael Friedrich 5dbc9dc0e8 Docs: More updates on dev environments, add mini TOC
(cherry picked from commit ec39a74453)
2019-02-11 13:27:23 +01:00
Michael Friedrich 8f3c97dfef Docs: Simplify INSTALL.md and point to icinga.com/docs
(cherry picked from commit 3827e15c4a)
2019-02-11 13:27:15 +01:00
Michael Friedrich 0fa9947561 Docs: Delete extra docs for windows builds
This should be visible in icinga.com/docs, no extra
docs needed.

(cherry picked from commit c6fc144102)
2019-02-11 13:26:59 +01:00
Michael Friedrich ac80444129 Docs: First draft for development docs
(cherry picked from commit 4382b87baa)
2019-02-11 13:26:53 +01:00
Michael Friedrich 146d055f4b Add technical docs for the check scheduler (general, initial check, offsets)
David asked me about initial check offsets, so I wrote something :)

(cherry picked from commit 9409e93bc7)
2019-02-11 13:26:01 +01:00
Michael Friedrich 29ff90a791 Update AUTHORS 2019-02-11 13:17:52 +01:00
Michael Insel df68e65f05 Fix check_swap percentage calculation
This fixes the check_swap percentage calculation. When the pagefile is
turned off the available swap and total swap are 0 which leads to a
wrong calculation and misformated output.

refs #6913

(cherry picked from commit 4961e9ba62)
2019-02-11 13:16:55 +01:00
Alexander A. Klimov 362c7eb28a TcpSocket#Bind(): also set SO_REUSEPORT
refs #6898

(cherry picked from commit 984f7be030)
2019-02-11 13:16:40 +01:00
Michael Friedrich f6a62e71d8 ClusterEvents::AcknowledgementSet event should forward 'persistent' attribute
(cherry picked from commit 9f2ccfbaa0)
2019-02-11 13:16:21 +01:00
Michael Insel ab947d7c3b Fix check_swap formatting
This fixes a small formatting mistake introduced by #6811. To keep the
check_swap output in sync with all other plugins I fixed the formatting.
2019-02-11 13:15:41 +01:00
Michael Friedrich 4fb444d3b7 Fix Convert::ToLong(double val)
(cherry picked from commit b58cb17e4b)
2019-02-11 13:15:18 +01:00
Michael Friedrich b93ad277a1 Add a unit test for Convert::ToLong(double) - fails
(cherry picked from commit b1362aeb9b)
2019-02-11 13:15:11 +01:00
Alexander A. Klimov b888e06682 Downtime#HasValidConfigOwner(): respect Downtime#authoritative_zone
refs #6542

(cherry picked from commit c98d6a5254)
2019-02-11 13:14:46 +01:00
Alexander A. Klimov 53248a70c2 Add and populate Downtime#authoritative_zone
refs #6542

(cherry picked from commit 5431eae116)
2019-02-11 13:14:40 +01:00