Michael Friedrich
466096a6a4
Debug: Log calls to ConfigObject::Deactivate()
...
Only available in debug builds.
(cherry picked from commit d98c0704c446b0fd47b18b610a92ac75de180853)
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 6558287da03bb526ba2728201ff7d558a09faf46)
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 d1fb1a8eda05018c5f665fceeb52569e243a7b65)
2019-02-11 13:32:46 +01:00
Jean Flach
dc27bcc8a3
Fix checkresults from the future breaking checks
...
(cherry picked from commit c97f3c80f550320abcbc3bcbaa0a3673c2091c34)
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 52d81d0af522956fec4ef63c0e3c06158cbefbf9)
2019-02-11 13:32:16 +01:00
Michael Friedrich
92fba8c64f
Don't allow retry_interval <= 0
...
(cherry picked from commit 8cbd4820725655e3c4ae06aef78308183be016da)
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 ce847324bc8abe4f36071633b999fa88ba2213f3)
2019-02-11 13:31:22 +01:00
Alexander A. Klimov
ee915ed5d2
Validate Zone::GetLocalZone() before using
...
(cherry picked from commit b09e7b287e6b4bbc277c9ef7828e34f884927f82)
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 2fc33996b620d97e54d75b0d8c101fb3d9ba791c)
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 9ae738d17fa6220d988001e4c56155aa6535992c)
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 00757919b322bc930360694c30485977cfb5506a)
2019-02-11 13:28:33 +01:00
Michael Friedrich
d68a565c19
Docs: Formatting for dev requirements
...
(cherry picked from commit 00673cd75911e56cf977fdb5c14c809a97c01e6d)
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 43c171056f826cf08b4155472ad9a6a4d14ba8a9)
2019-02-11 13:28:01 +01:00
Michael Friedrich
242a7f5705
Update TOC
...
(cherry picked from commit 01d2a17683659e17b0cc311135937e0d5748a05d)
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 9801b8b7a040fd4c91aa05d596ec644ddd294bdc)
2019-02-11 13:27:52 +01:00
Michael Friedrich
47c44fe641
Fix formatting in dev docs
...
(cherry picked from commit 8cbe286e676a56c536cee517b898cbe2f25b2547)
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 e0b3e05c636db082da264c92fc02593f7ff44ded)
2019-02-11 13:27:38 +01:00
Michael Friedrich
7abed414ea
Docs: Update anchors
...
(cherry picked from commit ac9ed41537b36d7a41e26e8535e208579cccbfc2)
2019-02-11 13:27:31 +01:00
Michael Friedrich
5dbc9dc0e8
Docs: More updates on dev environments, add mini TOC
...
(cherry picked from commit ec39a74453f673032cd52edb29eb747d80cb5fe9)
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 3827e15c4abf49b4ecdbd23d36e76cb4fdab67a0)
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 c6fc144102eada72ff8146f4be00fd48ceb0d423)
2019-02-11 13:26:59 +01:00
Michael Friedrich
ac80444129
Docs: First draft for development docs
...
(cherry picked from commit 4382b87baa0f4fa433772b2b38814fce0d443200)
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 9409e93bc798ffbe497c97cd110b492d533ce9dc)
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 4961e9ba62eebcfc1cf22e1840b289e4eab067d2)
2019-02-11 13:16:55 +01:00
Alexander A. Klimov
362c7eb28a
TcpSocket#Bind(): also set SO_REUSEPORT
...
refs #6898
(cherry picked from commit 984f7be03060f89235ccee1a1ef3e5fba652a9df)
2019-02-11 13:16:40 +01:00
Michael Friedrich
f6a62e71d8
ClusterEvents::AcknowledgementSet event should forward 'persistent' attribute
...
(cherry picked from commit 9f2ccfbaa0fd35e33a002dd48c7b429636dc806c)
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 b58cb17e4b389c6bd703e2334cb0bb2739213f62)
2019-02-11 13:15:18 +01:00
Michael Friedrich
b93ad277a1
Add a unit test for Convert::ToLong(double) - fails
...
(cherry picked from commit b1362aeb9b6822a88ce4e3a187974f5ef20a4bad)
2019-02-11 13:15:11 +01:00
Alexander A. Klimov
b888e06682
Downtime#HasValidConfigOwner(): respect Downtime#authoritative_zone
...
refs #6542
(cherry picked from commit c98d6a52545bf0e10b9b0d644b0d15813ab7de48)
2019-02-11 13:14:46 +01:00
Alexander A. Klimov
53248a70c2
Add and populate Downtime#authoritative_zone
...
refs #6542
(cherry picked from commit 5431eae116df92d0b856e7f856da24df5a948144)
2019-02-11 13:14:40 +01:00
Alexander A. Klimov
a24256993c
Downtime#HasValidConfigOwner(): wait for ScheduledDowntimes
...
refs #6542
(cherry picked from commit 39e0d787e82c187de64b29e4979f4caac0907441)
2019-02-11 13:13:44 +01:00
Alexander A. Klimov
7c71218d88
Implement ScheduledDowntime::AllConfigIsLoaded()
...
refs #6542
(cherry picked from commit bbcf469af1c584a92d028446c6ff1f558950cd97)
2019-02-11 13:13:36 +01:00
Markus Frosch
9f22300cf7
appveyor: Run Debug builds
...
[skip travis]
(cherry picked from commit ace12db110e565b20f8b1141e62e488b9c4abc8f)
2019-02-11 13:12:53 +01:00
Markus Frosch
3b14c733ed
tools/win32: Invalidate CMake cache on build
...
(cherry picked from commit fcfde9ac22ff6bfde73ecfe1672bb686e1559e28)
2019-02-11 13:12:42 +01:00
Michael Friedrich
ea64467c65
Revert "ThreadPool#Stop(): discard non-processed queue items"
...
This reverts commit 797ecd1539c91d3dd02dc7d164ce602c52a6f802.
2018-12-06 09:55:42 +01:00
Alexander A. Klimov
c8a1155e3d
Remove redundand check for object existence on creation via API
...
refs #3937
2018-12-05 16:05:05 +01:00
Michael Friedrich
190f381c7a
Docs: Add a section for DB IDO Cleanup
...
refs #6784
2018-12-05 16:04:50 +01:00
fluxX04
29a3a6d4d7
update apache status command to be identical according the itl
2018-12-05 16:04:35 +01:00
Alex
9800e69f9f
Doc fix: documentation link for apt
...
Fixes `check_apt` documentation link to point to the right man page.
2018-12-05 16:04:18 +01:00
David Lublink
62fcbe3c01
* BugFix : Wrong operator on stride variable causing incorrect behaviour ( #6749 )
2018-12-05 16:01:35 +01:00
Leon Stringer
a5659e469a
Doc fix: error in example path.
2018-12-05 16:01:10 +01:00
Michael Friedrich
173455de22
Call SSL_shutdown() at least twice
2018-12-05 16:00:53 +01:00
Edgar Fuß
3b4dc854cf
Put running downtimes in effect
...
If Icinga2 was restarted with a newly configured downtime that should
be in effect at the time of restart, the should-be-running segment of
it was not put into effect.
Add new LegacyTimePeriod::FindRunningSegment() and
ScheduledDowntime::FindRunningSegment() functions, call the latter in
ScheduledDowntime::CreateNextDowntime() before trying the old
ScheduledDowntime::FindNextSegment().
2018-12-05 16:00:28 +01:00
Edgar Fuß
e76ec0d42e
Remove spurious string in debug message
...
Remove a spurious " at " in the "Evaluating segment" debug message in ScheduledDowntime::FindNextSegment().
2018-12-05 15:59:58 +01:00
Edgar Fuß
ce6ab9a948
Remove dead code
...
Remove some dead code in ScheduledDowntime::CreateNextDowntime().
2018-12-05 15:59:52 +01:00
Alexander A. Klimov
f3f402fa7e
Socket engine: drop life support objects
...
refs #6477
2018-12-05 15:59:29 +01:00
Alexander A. Klimov
ad06c4f5ab
Make SocketEventDescriptor#EventInterface a SocketEvents::Ptr
...
refs #6477
2018-12-05 15:59:23 +01:00
Alexander A. Klimov
0b03a3d8f8
SocketEvents: inherit from Stream
...
refs #6477
2018-12-05 15:59:17 +01:00