Commit Graph

13786 Commits

Author SHA1 Message Date
Alexander A. Klimov d6bb971c7f doc/02-installation.md: remove Raspbian which is not supported anymore 2024-08-21 13:20:25 +02:00
Alexander A. Klimov 14e269060a Clarify that our Debian installation docs also apply to the Raspberry Pi OS 2024-08-21 13:19:54 +02:00
Julian Brost 914a26ce79
Merge pull request #10118 from Icinga/Al2Klimov-patch-7
doc/21-development.md: fix bad link address
2024-08-21 11:01:10 +02:00
Julian Brost c4c00537ca
Merge pull request #10114 from Icinga/Boost1.86
Bump Boost shipped for Windows to v1.86
2024-08-21 10:59:51 +02:00
Alexander A. Klimov 584340a203 Bump Boost shipped for Windows to v1.86 2024-08-20 18:18:07 +02:00
Alexander Aleksandrovič Klimov 4fefdd0969
doc/21-development.md: fix bad link address 2024-08-20 18:13:42 +02:00
Julian Brost be50050d2b
Merge pull request #10115 from Icinga/Al2Klimov-patch-7
doc/03-monitoring-basics.md: fix invalid link address
2024-08-20 16:18:40 +02:00
Julian Brost ac84405334
Merge pull request #10116 from Icinga/missing-angle-bracket
Docs: Add missing angle bracket
2024-08-20 10:07:43 +02:00
Julian Brost 4c83d793a6
Merge pull request #9983 from Icinga/broken-timeperiod
Fix broken `TimePeriod/ScheduledDowntime`s
2024-08-20 10:05:59 +02:00
Alexander Aleksandrovič Klimov edb6730858
doc/03-monitoring-basics.md: fix invalid link address 2024-08-19 16:49:12 +02:00
Alexander Aleksandrovič Klimov 02ba5e4101
Merge pull request #10015 from Icinga/malloc_info
/v1/debug/malloc_info: call malloc_info(3) if available
2024-08-12 14:41:09 +02:00
Alexander A. Klimov f3c7ac11e9 /v1/debug/malloc_info: call malloc_info(3) if available
The GNU libc function malloc_info(3) provides memory allocation and usage
statistics of Icinga 2 itself.
2024-08-09 12:59:25 +02:00
Julian Brost 2bfa1f1649
Merge pull request #10107 from Icinga/timeperiod-nth-day-of-month-off-by-one
Timeperiods: fix off by one when calculating n-th last weekday of the month
2024-08-08 14:40:18 +02:00
Julian Brost c45829b59f Timeperiods: fix off by one when calculating n-th last weekday of the month
A day specification like "monday -1" refers to the last Monday of the month.
However, there was an off by one if the first day of the next month is the same
day of the week, i.e. a Monday in this example.

LegacyTimePeriod::FindNthWeekday() picks a day to start the search for the day
in question. When given a negative n to search for the n-th last day, it
wrongly used the first day of the following month as the start and counted it
as if it was within the current month. This resulted in a 1/7 chance that the
result was one week too late.

This is fixed by using the last day of the current month instead.
2024-08-07 12:06:05 +02:00
Julian Brost 07d253009a
Merge pull request #10013 from Icinga/broken-runtime-config-sync
Fix broken runtime config sync
2024-08-06 11:57:24 +02:00
Yonas Habteab 4f94891b52 Add advanced timeperiod range,include/exclude test cases 2024-08-02 11:12:51 +02:00
Yonas Habteab ddf7143777 tests: Add some basic tests cases for `LegacyTimePeriod::IsInTimeRange()` 2024-08-02 11:12:51 +02:00
Yonas Habteab 86347013a6 Check segemnt start date inclusively in `TimePeriod::IsInside()` 2024-08-01 16:16:48 +02:00
Yonas Habteab 4daa03dc02 Fix broken timeperiods/scheduleddowntimes 2024-08-01 15:14:34 +02:00
Julian Brost 0463607050
Merge pull request #10104 from Icinga/gha-windows-ctest-fix
GHA: Unbreak Windows Tests
2024-07-31 13:52:03 +02:00
Julian Brost ce81596ad5
Merge pull request #10096 from Icinga/Al2Klimov-patch-7
GHA: add openSUSE 15.6 and SLES 15.6
2024-07-31 12:19:52 +02:00
Alvar Penning 8db33e5b3c
GHA: Unbreak Windows Tests
As seen in the recent GHA run for #10102, the two Windows Actions have
failed. The output log contains:

> DEBUG:   27+  >>>> ctest.exe -C "${env:CMAKE_BUILD_TYPE}" -T test -O $env:ICINGA2_BUILDPATH/Test.xml
> --output-on-failure --log_level=all
> CMake Error: Unknown argument: --log_level=all
> CMake Error: Run 'ctest --help' for all supported options.

After consulting ctest(1), older versions included, I have never found a
mention of the "--log_level" flag. Since the useful
"--output-on-failure" flag is already set, which will "[o]utput anything
outputted by the test program if the test should fail", I do not see any
further reason for more logging information.

This flag was introduced in 7665143afa,
but I have not found any reasoning for the flag in particular.
2024-07-31 11:19:22 +02:00
Julian Brost 414d85571b
Merge pull request #10095 from Icinga/el7
GHA: drop EOL EL7
2024-07-31 10:34:12 +02:00
Alexander Aleksandrovič Klimov 6f28fea5bb
GHA: add openSUSE 15.6 and SLES 15.6 2024-07-01 13:29:01 +02:00
Alexander A. Klimov ba52e2ed51 GHA: drop EOL EL7 2024-07-01 12:44:43 +02:00
Alexander Aleksandrovič Klimov bca1a8447a
Merge pull request #10061 from Icinga/strip-cr-in-notification-messages-7510
Strip '\r' in notification messages to avoid 'Content-Type: application/octet-stream'
2024-06-14 11:51:02 +02:00
Yonas Habteab 546dea95a2 Don't allow to modify/create/delete an object concurrently 2024-06-13 11:26:19 +02:00
Yonas Habteab 099f664ce6 `ConfigObjectUtility#CreateObject()`: Use `Defer` for config path cleanup 2024-06-13 11:26:19 +02:00
Yonas Habteab 433e2de13a ApiListener: Process cluster config updates sequentially 2024-06-13 11:26:19 +02:00
Yonas Habteab 1a55b68541 Introduce RAII style `ObjectNameLock` class 2024-06-13 11:26:19 +02:00
Yonas Habteab 2218ebd6b0 `ConfigObjectUtility`: Use `AtomicFile` to store object config files 2024-06-13 11:26:19 +02:00
Alexander Aleksandrovič Klimov f1be9b73ab
Merge pull request #10060 from Icinga/IcingaDB-SerializeState-execution_time-latency
IcingaDB#SerializeState(): limit execution_time and latency to 2^32-1
2024-06-13 09:55:45 +02:00
Alexander Aleksandrovič Klimov c5c7925d8a
Merge pull request #10071 from Icinga/add-missing-evs-docs
Add missing `Object{created,deleted,modified}` docs
2024-06-12 11:25:24 +02:00
Alexander Aleksandrovič Klimov 1b863337e4
Merge pull request #10079 from Icinga/OpenSSL3014
Bump OpenSSL shipped for Windows to v3.0.14
2024-06-11 11:53:15 +02:00
Yonas Habteab 2432d1a861 Add missing `Object{created,deleted,modified}` docs 2024-06-11 09:46:18 +02:00
Alexander Aleksandrovič Klimov 4140d8c4e0
Merge pull request #10076 from Icinga/Boost1.85
Bump Boost shipped for Windows to v1.85
2024-06-10 11:00:01 +02:00
Alexander A. Klimov b1eae017c9 Bump OpenSSL shipped for Windows to v3.0.14 2024-06-07 16:07:42 +02:00
Alexander A. Klimov 561d6a3981 Bump Boost shipped for Windows to v1.85
Note: For doc/21-development.md use:

perl -pi -e 's/(boost[-\w]*?1[-_]?)84/${1}85/g' doc/21-development.md
2024-06-07 16:02:07 +02:00
Alexander Aleksandrovič Klimov b6b2f72055
Merge pull request #10056 from legioner0/patch-1
Update 06-distributed-monitoring.md
2024-06-04 09:50:43 +02:00
Alexander Aleksandrovič Klimov d5d59c3b62
Merge pull request #10069 from Icinga/Al2Klimov-patch-7
doc/: ITL: correct ping_timeout default
2024-06-03 10:01:19 +02:00
Alexander Aleksandrovič Klimov 58e1718ca6
Merge pull request #10062 from Icinga/do-not-fail-removing-obsolete-downtimes
Don't fail to remove obsolete downtimes
2024-05-29 09:41:53 +02:00
Alexander Aleksandrovič Klimov 236071596b
Merge pull request #10048 from Icinga/Al2Klimov-patch-13
GHA: Docker: don't run on support/* branches
2024-05-28 09:58:42 +02:00
Pavel Motyrev 1526b191cd
Update AUTHORS 2024-05-28 10:55:16 +07:00
Alexander Aleksandrovič Klimov c7e4c2af5a
doc/: ITL: correct ping_timeout default
ITL config says it's 10, not 0, and running check_ping itself confirms that.
2024-05-27 10:32:49 +02:00
Christian Gut 7cc8d81d5d
check_ssl_cert: integrate new option to set maximum validity (#9881)
* check_ssl_cert: integrate new option to set maximum validity

check_ssl_cert has a new option with a new default: --maximum-validity. This change allows for services to use that option to override the default of 397 days. It is needed, if you have internal certificates that have a longer duration.

---------

Co-authored-by: Alexander A. Klimov <alexander.klimov@icinga.com>
2024-05-27 09:59:36 +02:00
Alexander Aleksandrovič Klimov b56839fe18
Merge pull request #9758 from liip-forks/OdyX-fix-ssl-cert-warnings
Fix ssl_cert deprecation warnings
2024-05-24 11:57:34 +02:00
Yonas Habteab 81a94a0759 Don't fail to remove obsolete downtimes 2024-05-23 10:09:41 +02:00
Yonas Habteab 4eeccce36c Don't loose args in recursive `Downtime::RemoveDowntime()` call 2024-05-23 10:09:41 +02:00
Yonas Habteab e0fd0d3df4 Introduce & use enum `DowntimeRemovalReason` 2024-05-23 09:34:15 +02:00
Alexander Aleksandrovič Klimov cc3965c3ce
Merge pull request #10065 from Icinga/heavy-update-missing-table-relations
Update `object#config_hash` after all relations queries
2024-05-22 15:38:31 +02:00