Yonas Habteab
45f536ca06
Bump Redis schema version to 5
2022-06-07 12:55:12 +02:00
Yonas Habteab
92becec37f
IcingaDB: Add `_name` suffix to columns referring to name
2022-05-31 16:41:40 +02:00
Eric Lippmann
18c8b4ad54
Merge pull request #9371 from Icinga/bugfix/icingadb-command-arguments-null
...
IcingaDB: handle null (Empty) for value/set_if/separator in command arguments
2022-05-23 16:01:49 +02:00
Julian Brost
3220fecd4c
Merge pull request #7919 from Icinga/feature/parameter-delimiters-check-execution-6277
...
Introduce Command#arguments[].separator
2022-05-23 13:23:36 +02:00
Julian Brost
f110e26635
IcingaDB: handle null (Empty) for value/set_if/separator in command arguments
...
Icinga 2 treats null (Empty) as if the corresponding attribute is not
specified. However, without this commit, it would serialize the value as "null"
(i.e. type string), so that it ends up in the database as this string instead
of NULL. This commit adds handling for ValueEmpty so that is serialized as JSON
null value and ends up in the database as NULL.
2022-05-23 11:53:41 +02:00
Alexander A. Klimov
069c3968d9
Introduce Command#arguments[].sep
...
... for letting check commands produce argv like --key=value,
not just --key value.
refs #6277
2022-05-11 17:50:12 +02:00
Julian Brost
f46d474e2f
Merge pull request #9368 from Icinga/probot/update-authors/master/4184dcd62c22124f08733f43b682dbb74bcc28f4
...
Update AUTHORS
2022-05-05 19:55:46 +02:00
icinga-probot[bot]
c602c5e037
Update AUTHORS
2022-05-05 13:30:22 +00:00
Julian Brost
4184dcd62c
Merge pull request #9354 from WuerthPhoenix/feature/return-correct-status-in-process-check-result-api
...
Return correct status codes in process-check-result API
2022-05-05 15:30:09 +02:00
Julian Brost
f610289b3f
Merge pull request #9364 from Icinga/bugfix/atomic-members
...
Replace `EventuallyAtomic` with `AtomicOrLocked` which falls back to a mutex
2022-05-05 13:19:03 +02:00
Julian Brost
abe2dfa763
Replace EventuallyAtomic with AtomicOrLocked which falls back to a mutex
...
Apparently there was a reason for making the members of generated classes
atomic. However, this was only done for some types, others were still accessed
using non-atomic operations. For members of type T::Ptr (i.e. intrusive_ptr<T>),
this can result in a double free when multiple threads access the same variable
and at least one of them writes to the variable.
This commit makes use of std::atomic<T> for more T (it removes the additional
constraint sizeof(T) <= sizeof(void*)) and uses a type including a mutex for
load and store operations as a fallback.
2022-05-03 12:02:46 +02:00
Julian Brost
2dcdae4470
Remove redundant call to Serialize() in ConfigItem::Commit()
...
The very same object is already serialized a few lines above, the result is
even stored in a variable, but that variable was not used before. Simply using
this variable results in a noticeable improvement of config validation times.
2022-04-28 17:09:16 +02:00
Julian Brost
a51c004f54
Merge pull request #9358 from Icinga/feature/windows-boost-1.79
...
Windows: update boost to version 1.79.0
2022-04-27 13:54:08 +02:00
Julian Brost
4de986de73
Windows: update boost to version 1.79.0
2022-04-27 12:36:32 +02:00
Damiano Chini
9d9810b44d
Return correct status codes in process-check-result API
2022-04-26 13:33:59 +02:00
Julian Brost
370df831c4
Merge pull request #9351 from Icinga/probot/sync-changelog/master/67dfefe0369191b791f085e928b6e3dbe6a01dbc
...
CHANGELOG.md: add v2.13.3
2022-04-20 16:56:13 +02:00
Julian Brost
e2fe032b74
CHANGELOG.md: add v2.13.3
2022-04-20 09:18:16 +00:00
Alexander Aleksandrovič Klimov
67dfefe036
Merge pull request #9348 from Icinga/bugfix/suppressed-notifications-host-dependency
...
Take host state into account when sending suppressed notifications
2022-04-20 11:18:03 +02:00
Julian Brost
51cd7e7b0b
Take host state into account when sending suppressed notifications
...
Checkable::FireSuppressedNotifications() compares the time of the current
checkable with the last recovery time of parents to avoid notification right
after a parent recovered and before the current checkable was checked.
This commit makes this check also include to host if the checkable is a
service. This makes the behavior consistent with the documentation that states
there is an implicit dependency on the host (which isn't realized as implicitly
generating a Dependency object unfortunately).
2022-04-19 16:13:15 +02:00
Julian Brost
9644effe86
Merge pull request #9342 from Icinga/Al2Klimov-patch-4
...
GHA: add Fedora 36
2022-04-13 09:37:34 +02:00
Julian Brost
b7dfeaa3cc
Merge pull request #9341 from Icinga/Al2Klimov-patch-3
...
GHA: add Ubuntu jammy
2022-04-13 09:37:14 +02:00
Alexander Aleksandrovič Klimov
12f9a9f59f
GHA: add Fedora 36
2022-04-12 17:20:26 +02:00
Alexander Aleksandrovič Klimov
5a8eb8f49a
GHA: add Ubuntu jammy
2022-04-12 17:18:51 +02:00
Julian Brost
178aaaeca9
Merge pull request #9332 from Icinga/bugfix/compare-cluster-tickets-in-constant-time
...
Compare cluster tickets in constant time
2022-04-11 15:32:32 +02:00
Julian Brost
b24a2fa2a5
Merge pull request #9179 from Icinga/Al2Klimov-patch-3
...
Let new cluster certificates expire after 397 days, not 15 years
2022-04-11 15:29:05 +02:00
Julian Brost
0e880048ee
Merge pull request #7961 from Icinga/bugfix/startup-log
...
Place startup.log and status in /var/lib/icinga2/api, not /var/lib/icinga2/api/zones-stage
2022-04-11 14:41:07 +02:00
Alexander A. Klimov
b15763bd86
Compare cluster tickets in constant time
...
Just to be sure.
2022-04-11 11:17:05 +02:00
Alexander A. Klimov
08a23f4035
Write also /var/lib/icinga2/api/zones-stage-startup-last-failed.log
...
in addition to /var/lib/icinga2/api/zones-stage-startup.log
to prevent the next success to overwrite the last failure.
2022-04-11 11:14:42 +02:00
Alexander A. Klimov
c9e4c016e0
Protect ApiListener#m_SSLContext with a mutex
2022-04-11 11:02:45 +02:00
Alexander A. Klimov
e490883577
Renew certificates also periodically
2022-04-11 11:02:39 +02:00
Alexander Aleksandrovič Klimov
e589833352
Merge pull request #9324 from Icinga/bugfix/release-workflow-windows-deps
...
Windows packaging repo no longer requires update for newer dependencies
2022-04-07 15:56:55 +02:00
Alexander Aleksandrovič Klimov
39d642af75
Merge pull request #9321 from Icinga/perfdata-resume-signal
...
Perfdata writers: disconnect handlers from signals in Pause()
2022-04-07 15:51:02 +02:00
Julian Brost
1e1f9bb488
Merge pull request #9323 from Icinga/boost-1.78
...
Windows: bump Boost and OpenSSL
2022-04-07 15:49:54 +02:00
Alexander A. Klimov
ce6d1b8961
Place startup.log and status in /var/lib/icinga2/api, not /var/lib/icinga2/api/zones-stage
...
not to loose them.
2022-04-07 11:24:24 +02:00
Julian Brost
3f16d12115
Windows packaging repo no longer requires update for newer dependencies
...
Since commit 07b16da250
in the windows-icinga2 packaging repo, the versions of build dependencies are controlled from this repo (icinga2). So the other repo no longer needs to be updated for newer dependencies.
2022-04-07 11:09:34 +02:00
Alexander A. Klimov
52ca277dd8
Bump OpenSSL to 1.1.1n
2022-04-07 11:06:39 +02:00
Alexander A. Klimov
b0cce512c2
Bump Boost to 1.78
2022-04-07 11:03:44 +02:00
Alexander Aleksandrovič Klimov
b29b95e882
Merge pull request #9267 from Icinga/bugfix/parallel-api-package-calls-do-not-finish-while-reload
...
Worker process doesn't let parallel API package stage updates to complete when terminated
2022-04-06 13:27:44 +02:00
Alexander A. Klimov
56933b8877
Perfdata writers: disconnect handlers from signals in Pause()
...
as they would be re-connected in Resume() (HA).
Before they were still connected during pause and connected X+1 times
after X split-brains (the same data was written X+1 times).
2022-04-06 13:09:26 +02:00
Alexander Aleksandrovič Klimov
b0dc36e4b2
Replace icinga-aptly address in Readme ( #9318 )
...
It's a different address now.
2022-04-05 15:24:53 +02:00
Henrik Triem
42da51c86f
Replace icinga-aptly address in Readme
...
It's a different address now.
2022-04-05 09:51:07 +02:00
Claudio Kuenzler
193aff93cf
Adjust description
2022-04-04 13:02:30 +02:00
log1-c
44a34cf070
Merge pull request #9103 from log1-c/patch-2
...
ITL: add all businessprocess module check parameters
2022-04-04 12:56:42 +02:00
Alexander A. Klimov
3753f86c80
ApiListener#Start(): auto-renew own cert if CA owner
...
otherwise that particular cert would expire.
2022-04-04 12:13:31 +02:00
Alexander A. Klimov
6d470a3ca5
Introduce ApiListener#RenewCert()
2022-04-04 12:12:31 +02:00
Alexander Aleksandrovič Klimov
f749c7556e
Merge pull request #9314 from Icinga/latin1
...
IDO MySQL: reason latin1 charset for actually UTF-8 bytes
2022-04-04 11:05:12 +02:00
Alexander A. Klimov
11b8d0f058
IDO MySQL: reason latin1 charset for actually UTF-8 bytes
2022-03-31 18:10:21 +02:00
Alexander Aleksandrovič Klimov
2fa26961ac
Merge pull request #9311 from Icinga/9308
...
IDO MySQL: explicitly use latin1
2022-03-31 16:44:11 +02:00
Alexander A. Klimov
245fbad1e5
IDO MySQL: explicitly use latin1
...
for the case the MySQL client lib is compiled with another default
not to turn Unicode chars into ??.
2022-03-31 15:04:45 +02:00
Napsty
896590e740
Adjust descriptions
2022-03-30 16:04:48 +02:00