10355 Commits

Author SHA1 Message Date
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
501d807956
Merge pull request #6940 from Icinga/bugfix/fix-check-swap-6913
Fix check_swap percentage calculation
2019-02-11 09:46:59 +01:00
Alexander A. Klimov
c693a07399 Raise required Boost version to 1.53
refs #6933
2019-02-08 17:33:46 +01:00
Michael Insel
4961e9ba62 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
2019-02-08 17:01:49 +01:00
Michael Friedrich
e555b2fa6d
Merge pull request #6894 from Icinga/bugfix/checkresults-from-the-future-6797
Fix checkresults from the future breaking checks
2019-02-08 13:48:12 +01:00
Michael Friedrich
d1fb1a8eda Refactor conditions and add debug log messages for future crs and skipped crs 2019-02-08 13:32:13 +01:00
Jean Flach
c97f3c80f5 Fix checkresults from the future breaking checks 2019-02-08 12:08:40 +01:00
Michael Friedrich
d2755351d3
Merge pull request #6935 from Icinga/feature/enhance-notification-logging
Enhance notification logging
2019-02-08 11:54:09 +01:00
Michael Friedrich
7ce30a86b8 Enhance notification logging
- More details from the local context (notification, user, checkable, command names)
- Notice logs for when this notification object is paused in HA enabled zones
- Notice logs for interval=0 reminder notifications
- Object name for skipping recovery notifications when problem hasn't been notified before
2019-02-07 15:42:09 +01:00
Alexander A. Klimov
8ad1717055 Respect activation priority also on deactivation 2019-02-06 11:17:45 +01:00
Michael Friedrich
4339240b46
Merge pull request #6858 from Icinga/feature/string-builder
Make string builder reusable
2019-02-04 16:05:20 +01:00
Michael Friedrich
30f0f6676e
Merge pull request #6928 from Icinga/doc/windows-devel-dot-net-2
Doc: Add .NET 3.5 to the windows build stack
2019-02-04 15:50:04 +01:00
Michael Friedrich
77572c4424
Merge pull request #6901 from Icinga/bugfix/so_reuseport-6898
TcpSocket#Bind(): also set SO_REUSEPORT
2019-02-04 14:21:20 +01:00
Michael Friedrich
04de273405
Merge pull request #6914 from Icinga/bugfix/clusterevents-missing-persistent-ack
ClusterEvents::AcknowledgementSet event should forward 'persistent' attribute
2019-02-04 13:52:44 +01:00
Michael Friedrich
5a8729fddd
Merge pull request #6853 from Icinga/bugfix/incorrect-command_endpoint-6666
Checkable: require zone to be set if command_endpoint is set
2019-02-04 13:51:31 +01:00
Michael Insel
52d81d0af5 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.
2019-02-01 16:46:28 +01:00
Michael Friedrich
ab36724647
Merge pull request #6926 from miso231/feature/itl-cloudera-checks
Feature/itl cloudera checks
2019-01-31 16:20:09 +01:00
Michal Petko
6ed5d4807f Use full command name as prefix for check arguments 2019-01-31 15:58:46 +01:00
Michael Friedrich
c9fe1dbd15
Merge pull request #6925 from Icinga/bugfix/check-swap-format
Fix check_swap formatting
2019-01-31 09:13:41 +01:00
Michal Petko
ab7e3a8514 Add documentation to cloudera checks 2019-01-31 08:11:31 +01:00
Michal Petko
aad7107396 Add check commands for HDFS file count and used space 2019-01-31 07:59:44 +01:00
Michael Insel
7ba4d49505 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-01-30 19:41:24 +01:00
Michael Friedrich
eb155495f7
Merge pull request #6916 from Icinga/bugfix/retry-interval-zero
Don't allow retry_interval <= 0
2019-01-30 15:28:26 +01:00
Michael Friedrich
b334c3259e
Merge pull request #6924 from Icinga/bugfix/convert-long-double
Fix double to long conversions
2019-01-30 15:18:12 +01:00
Michael Friedrich
b58cb17e4b Fix Convert::ToLong(double val) 2019-01-30 14:47:59 +01:00
Michael Friedrich
b1362aeb9b Add a unit test for Convert::ToLong(double) - fails 2019-01-30 14:23:57 +01:00
Michael Friedrich
530f890cab
Merge pull request #6917 from Icinga/bugfix/cluster-message-delete-object
Cluster: Delete object message should log that
2019-01-29 13:37:50 +01:00
Michael Friedrich
feea76a80d
Merge pull request #6920 from Icinga/bugfix/scheduleddowntime-zone
Downtime::AddDowntime(): place Downtimes in the same zone as the origin ScheduledDowntimes
2019-01-29 13:35:32 +01:00
Michael Friedrich
12ddaa792e
Merge pull request #6911 from peteeckel/feature/nscp-disk-exclude-option
Make the NSCP CheckDisk --exclude option available to Icinga 2
2019-01-29 09:43:06 +01:00
Peter Eckel
beb39a94e0 Updated documentation for nscp-disk-local 2019-01-28 18:30:31 +01:00
Alexander A. Klimov
ce847324bc Downtime::AddDowntime(): place Downtimes in the same zone as the origin ScheduledDowntimes 2019-01-28 18:29:57 +01:00
Michael Friedrich
b16c22448e Cluster: Delete object message should log that
Atm it is a copy-paste error and irritates during debugging.
Coming from my analysis of existing cluster messages.
2019-01-28 17:39:22 +01:00
Michael Friedrich
8cbd482072 Don't allow retry_interval <= 0 2019-01-28 17:33:05 +01:00
Michael Friedrich
9f2ccfbaa0 ClusterEvents::AcknowledgementSet event should forward 'persistent' attribute 2019-01-28 17:29:46 +01:00
Peter Eckel
c3dc8382ef Make the NSCP CheckDisk --exclude option available to Icinga 2 2019-01-25 16:38:11 +01:00