Commit Graph

12391 Commits

Author SHA1 Message Date
Julian Brost 4c8c4c75ec Add Process::WaitForResult to allow waiting for the process to finish 2020-11-16 17:10:26 +01:00
Alexander Aleksandrovič Klimov 2d5e244127
Merge pull request #8232 from Icinga/bugfix/windows-version
Fix Windows .exe version v2.12.0 -> 2.12.0
2020-11-13 17:09:58 +01:00
Alexander Aleksandrovič Klimov 5f3b5934fa
Merge pull request #8195 from Icinga/feature/terminate-pretty-json-output-w-n-8194
JsonEncode(): suffix pretty JSON w/ \n
2020-11-13 17:08:46 +01:00
Alexander Aleksandrovič Klimov 66c4dc35a8
Merge pull request #7931 from Icinga/feature/program_version-livestatus-7895
Livestatus: append app name to program_version
2020-11-13 17:08:11 +01:00
Alexander Aleksandrovič Klimov 12fd687e1a
Merge pull request #7915 from Icinga/bugfix/scripts-sh
etc/icinga2/scripts/*.sh: explicitly specify shell
2020-11-13 17:02:30 +01:00
Alexander Aleksandrovič Klimov baaa5ffc13
Merge pull request #7892 from Icinga/bugfix/check_dns-q-flag-7556
ITL: fix check_dns -q docs
2020-11-13 16:51:06 +01:00
Julian Brost d1edcb909c Close anonymous connections after 10 seconds
Anonymous connections are normally only used for requesting a
certificate and are closed after this request is received. However, the
request is only sent if the child has successfully verified the
certificate of its parent so that it is an authenticated connection from
its perspective. In case this verification fails, both ends view it as
an anonymous connection and never actually use it but attempt a
reconnect after 10 seconds leaking the connection. Therefore close it
after a timeout.
2020-11-12 18:01:11 +01:00
Alexander Aleksandrovič Klimov 8ca765d730
Merge pull request #8455 from Icinga/bugfix/replay-object-deletion
Log config object deletions to replay log
2020-11-12 15:08:55 +01:00
Julian Brost 01a278bb5e Clarify difference between API actions and functions in their docstrings 2020-11-12 14:23:41 +01:00
Alexander Aleksandrovič Klimov fb6f618f82
Merge pull request #8460 from Icinga/bugfix/configobjectutility-typo
Fix 'emoving' typo
2020-11-10 14:36:25 +01:00
Alexander Aleksandrovič Klimov 48e47234b8
Merge pull request #8456 from sysadt/patch-2
Unnecessary letter removed
2020-11-10 14:35:34 +01:00
Alexander Aleksandrovič Klimov a6120a2246
Merge pull request #8446 from Icinga/feature/support-ido-7957
Add info about ongoing support for IDO
2020-11-10 11:25:32 +01:00
Alexander Aleksandrovič Klimov a0c483081b
Merge pull request #8400 from Icinga/feature/doc-win-dev
Docs: provide shorter and batch-ier instructions on how to setup a Windows dev env
2020-11-09 17:20:07 +01:00
Noah Hilverling 5f6042d92f Fix 'emoving' typo 2020-11-09 16:35:16 +01:00
Thomas Widhalm 4df9d51b5a docs: Add section about usage of satellites 2020-11-09 16:06:53 +01:00
Julian Brost cb476172ec Fix cluster message routing for global zones
RelayMessageOne used to relay the message only to one other endpoint for
other zones, which is fine, as long as the target zone is a child/parent
zone but breaks if the target zone is a global one. In this case, the
message has to be forwarded within the local zone as well as to one node
in each child zone.
2020-11-09 15:43:43 +01:00
sysadt 084dde298e
Unnecessary letter 2020-11-09 14:19:35 +01:00
Julian Brost be53b0af9e Log config object deletions to replay log
The initial config object sync for each new connection (in
`ApiListener::SendRuntimeConfigObjects()`) only considers currently
existing objects and has no way to pass the information that objects
were deleted in the meantime.

This commit logs config object deletions to the replay log if required
so that there is a chance that it will be propagated to nodes that were
offline when the deletion happened.

Note that this can only be considered a workaround as the replay log
might be pruned or could even be completely disabled. Also, there still
seems to be a race-condition between the config sync and replay log of
multiple new connections at the same time.
2020-11-09 14:09:44 +01:00
Alexander A. Klimov 29e5d7def7 Include HTTP status codes in log
refs #7053
2020-11-09 10:20:13 +01:00
Noah Hilverling 8ba5f72533 API: Don't accept object updates for unknown zone 2020-11-06 17:27:10 +01:00
Alexander Aleksandrovič Klimov dc79c4e59a
Merge pull request #8448 from Icinga/feature/ci-ubuntu-groovy
GitHub actions: build Ubuntu groovy
2020-11-06 15:02:48 +01:00
Alexander A. Klimov f451068fd0 Add info about ongoing support for IDO
Wording borrowed from @lippserd.

refs #7957
2020-11-06 12:38:22 +01:00
Alexander A. Klimov 53146b006b GitHub actions: build Ubuntu groovy 2020-11-06 11:43:57 +01:00
Alexander Aleksandrovič Klimov d9422feb5e
Merge pull request #8443 from Icinga/probot/update-authors/master/042c16d1745d24a4dbc59f023fb7d331dbe204d7
Update AUTHORS
2020-11-05 17:34:18 +01:00
icinga-probot[bot] f86d015d1e
Update AUTHORS 2020-11-05 16:30:58 +00:00
Alexander Aleksandrovič Klimov 042c16d174
Merge pull request #8441 from sysadt/master
typo fix 04-configuration.md
2020-11-05 17:30:48 +01:00
sysadt 0fc4983275
typo fix 04-configuration.md 2020-11-05 13:02:47 +01:00
Alexander Aleksandrovič Klimov 1450e1bb7f
Merge pull request #8108 from Icinga/bugfix/api-incorrect-response-header-6747
API: Send Content-Type as api response header too
2020-11-03 18:50:31 +01:00
Alexander Aleksandrovič Klimov 939f4591a4
Merge pull request #8087 from Icinga/bugfix/log-cout-permission-error-8086
Display Logmessage if an permission error occurs
2020-11-03 17:23:06 +01:00
Yonas Habteab 488e6bfb67 HTTP Request: Log an exception message if an error occurs 2020-11-02 15:01:48 +01:00
Alexander Aleksandrovič Klimov d059947107
Merge pull request #8109 from Icinga/bugfix/assignment-of-check-address-blocks-check-by-hostname-4965
ITL:  Assignment of check_adress in check_http blocks check by hostname
2020-11-02 14:47:59 +01:00
Alexander A. Klimov 6cc3902575 Windows agent: Default to lower case FQDN
refs #7407
2020-11-02 14:08:56 +01:00
Alexander A. Klimov c2c8864af2 Docs: provide shorter and batch-ier instructions on how to setup a Windows dev env 2020-11-02 13:53:07 +01:00
Alexander Aleksandrovič Klimov 4f6fecc74c
Merge pull request #8101 from Icinga/bugfix/timestamps-checkresult-differ-across-nodes-8092
State timestamps set by the same check result differ across nodes
2020-10-30 17:24:15 +01:00
Alexander Aleksandrovič Klimov 9e5e162f78
Merge pull request #8424 from Icinga/probot/update-authors/master/a2f4ef54653304ff763205db5e61257ff8e0ce33
Update AUTHORS
2020-10-29 17:12:35 +01:00
icinga-probot[bot] b28f0b5f34
Update AUTHORS 2020-10-29 16:11:27 +00:00
Alexander Aleksandrovič Klimov a2f4ef5465
Merge pull request #8422 from Icinga/bugfix/mailmap
Update .mailmap
2020-10-29 17:11:19 +01:00
Alexander Aleksandrovič Klimov 1b9f161aea
Merge pull request #8123 from MEschenbacher/confirmingstrings
ido_pgsql: do not set standard_conforming_strings to off
2020-10-29 17:06:46 +01:00
Alexander A. Klimov cb2f58a056 Update .mailmap 2020-10-29 16:57:38 +01:00
Alexander Aleksandrovič Klimov 24bda3e945
Merge pull request #8319 from Icinga/bugfix/doc-debian-rename-mysql-to-mariadb
docs: Update MySQL package names for Debian
2020-10-29 16:55:35 +01:00
Alexander Aleksandrovič Klimov 0cb7d1cc21
Merge pull request #8315 from Icinga/bugfix/adjust-documentation-wrong-attr-type
Adjust documentation using wrong attributes type
2020-10-29 16:50:18 +01:00
Alexander Aleksandrovič Klimov 9c232e942b
Merge pull request #8085 from Icinga/bugfix/not-set-lcnumeric-twice-7563
Fix LC_NUMERIC set twice and use a wrong value
2020-10-29 16:47:43 +01:00
Alexander Aleksandrovič Klimov 6f726af659
Merge pull request #8081 from Icinga/bugfix/doc-adjust-event-stream-syntax-error
Adjust Event-S-R API query syntax error
2020-10-29 16:45:55 +01:00
Maximilian Eschenbacher d8089560dd ido_pgsql: do not set standard_conforming_strings to off
Before postgres 9.1, this setting defaulted to off and icinga2 code was
making heavy use of this feature. Since postgres 9.1, this settings
defaults to on. During the adoption of postgres >= 9.1, the icinga2
postgres ido code maintained compatibility by setting it to off
explicitly.

In the mean time, the postgres ido code has been converted to using the
`E'...'` escape literal syntax exclusively.

The last remaining step is now to no longer force the setting to off
because no query is using the feature any longer.

Closes github issue #8122.
2020-10-29 16:28:18 +01:00
Alexander Aleksandrovič Klimov 93c428ea4e
Merge pull request #8418 from Icinga/probot/update-authors/master/a226db4f1710b62754e1039096b1f8c9fdc9e076
Update AUTHORS
2020-10-29 16:24:17 +01:00
icinga-probot[bot] 3b7507cc4a
Update AUTHORS 2020-10-29 15:23:09 +00:00
Alexander Aleksandrovič Klimov a226db4f17
Merge pull request #8245 from Ragnra/bugfix/opentsdb-tag-doublespace-8244
Fixes an issue with opentsdb and a double space
2020-10-29 16:23:01 +01:00
Alexander Aleksandrovič Klimov b5b1ee715b
Merge pull request #8184 from sbraz/boost
Fix ‘fs::copy_option’ has not been declared with boost 1.74.0
2020-10-29 16:19:07 +01:00
Alexander Aleksandrovič Klimov 1e281b060a
Merge pull request #7952 from Icinga/fix/SO_REUSEPORT-optional
apilistener: Make SO_REUSEPORT optional
2020-10-29 15:56:56 +01:00
Alexander Aleksandrovič Klimov c6e237d184
Merge pull request #8417 from Icinga/probot/update-authors/master/db6dd60ac0c39af2a3830b4bdb7e543e55d98121
Update AUTHORS
2020-10-29 15:54:30 +01:00