Eric Lippmann
c1d826f15f
Merge pull request #412 from Icinga/own-connections-for-ha-and-heartbeat
...
Use own connections for heartbeat and HA
2021-11-12 18:18:35 +01:00
Eric Lippmann
545f65c588
Update AUTHORS
2021-11-12 18:13:46 +01:00
Eric Lippmann
68943a64c4
Merge pull request #410 from Icinga/bugfix/improve-notification-recipient
...
Make NotificationRecipient struct readable
2021-11-12 18:07:06 +01:00
Eric Lippmann
50587189d0
Update AUTHORS
2021-11-12 18:03:48 +01:00
Eric Lippmann
2767faf6ea
Remove authors whose code is no longer in the repo
2021-11-12 18:03:48 +01:00
Eric Lippmann
bb50db981c
Merge pull request #409 from Icinga/config-example-and-docs
...
Improve example configuration, docs and config defaults
2021-11-12 17:49:26 +01:00
Eric Lippmann
f1b633ca25
Merge pull request #411 from Icinga/insert-schema-version-last
...
Insert schema version last
2021-11-12 17:49:11 +01:00
Eric Lippmann
81692395b1
Use own connections for heartbeat and HA
...
Use dedicated connections for heartbeat and HA to ensure that
heartbeats are always processed and the instance table is updated.
Otherwise, the connections can be too busy due to the
synchronization of configuration, status, history, etc.,
which can lead to handover / takeover loops because the heartbeat
is not read while HA gets stuck when updating the instance table.
2021-11-12 17:46:54 +01:00
Eric Lippmann
e40d3d3828
Insert schema version last
2021-11-12 17:39:32 +01:00
Noah Hilverling
a938cfa175
Make NotificationRecipient struct readable
2021-11-12 16:33:33 +01:00
Eric Lippmann
222ece91ae
Docs: Fix default config file location
2021-11-12 16:29:59 +01:00
Eric Lippmann
8acc623412
Refine remote Redis installation docs chapter
2021-11-12 16:29:59 +01:00
Eric Lippmann
f21f50e958
Reduce max_hmget_connections to 8
2021-11-12 16:29:59 +01:00
Eric Lippmann
69a0897847
Change default configuration file path
2021-11-12 16:29:59 +01:00
Eric Lippmann
785fd425d9
Improve MySQL commands in installation docs
2021-11-12 16:29:59 +01:00
Eric Lippmann
8322ff7840
Fix whitespaces and too long lines in installation docs
2021-11-12 16:29:58 +01:00
Eric Lippmann
40932fa33d
Add upgrading docs
2021-11-12 16:29:58 +01:00
Henrik Triem
19043239f1
Change icinga-redis to icingadb-redis in remote Redis
2021-11-12 15:59:49 +01:00
Henrik Triem
b95e48f40b
Add Fedora, CentOS 8, dnf and some cleanup
2021-11-12 15:59:49 +01:00
Eric Lippmann
746dfa39f8
Comment out flat config keys that have a default value
...
There is a problem with logging.interval where the YAML decoder
resets the value to 0. Note that this is only a quick fix and
should be reverted once the YAML decoder has been fixed.
2021-11-12 15:59:49 +01:00
Eric Lippmann
b49422a010
Use localhost in our example config
2021-11-12 15:59:49 +01:00
Eric Lippmann
6181950620
docs: Replace warning log level with warn
...
warning is not a valid log level but warn is.
2021-11-12 15:59:49 +01:00
Julian Brost
9eb9643946
Merge pull request #399 from Icinga/feature/ha-history-tests
...
Integration tests for history sync in HA setups
2021-11-12 15:52:38 +01:00
Julian Brost
42f8390b21
Integration tests: test history sync with HA
2021-11-12 14:37:02 +01:00
Julian Brost
f710c48394
Merge pull request #408 from Icinga/retry-broken
...
Fix broken retry mechanics
2021-11-12 14:32:31 +01:00
Eric Lippmann
a811c43727
Merge pull request #394 from Icinga/bugfix/unbulk-rtu
...
RuntimeUpdates#Sync(): force FIFO for config updates
2021-11-12 12:56:34 +01:00
Yonas Habteab
611b68ca5a
MySQL: Add more indexes
...
Co-authored-by: Eric Lippmann <eric.lippmann@icinga.com>
2021-11-12 12:53:11 +01:00
Eric Lippmann
831542725f
Merge pull request #403 from Icinga/add-new-mysql-column
...
Add new mysql column `downtime.duration` & `service_state.host_id`
2021-11-12 12:40:58 +01:00
Julian Brost
66dfe7d73e
Add a regression test that ensures that runtime updates are executed in order
2021-11-12 12:39:24 +01:00
Eric Lippmann
6a8163cdbc
Runtime Updates: Use proper buffer channel sizes
2021-11-12 12:39:24 +01:00
Alexander A. Klimov
7d6474f6b5
Add special handling for entity bulks of size 1
...
Co-authored-by: Eric Lippmann <eric.lippmann@icinga.com>
2021-11-12 12:39:22 +01:00
Alexander A. Klimov
d356909edc
Add special handling for bulks of size 1
...
Co-authored-by: Eric Lippmann <eric.lippmann@icinga.com>
2021-11-12 12:38:33 +01:00
Alexander A. Klimov
fecf332b8e
RuntimeUpdates#Sync(): force FIFO for config updates
...
so they don't interfer.
Co-authored-by: Eric Lippmann <eric.lippmann@icinga.com>
2021-11-12 12:35:12 +01:00
Eric Lippmann
dae0bfb252
Set values for new host_id and downtime duration columns
2021-11-12 11:28:02 +01:00
Yonas Habteab
54c563d1c7
Add service_state.host_id column
2021-11-12 11:28:02 +01:00
Yonas Habteab
6faa84d94a
Downtime: Add duration & scheduled_duration columns
2021-11-12 11:28:02 +01:00
Eric Lippmann
66a36efc06
Merge pull request #407 from Icinga/bugfix/fix-schema-and-upgrade
...
Schema: Fix index typos + missing comment change
2021-11-12 11:27:37 +01:00
Noah Hilverling
8e8426da25
Schema: Fix index typos introduced by #385
2021-11-12 10:51:52 +01:00
Eric Lippmann
7f3621e980
Fix broken retry mechanics
...
dc7511c introduced a parent context check to suppress logging if
it was canceled.
If it was not canceled, the check overwrites the variable err,
which resets every previous real error to nil,
which then leads to fatals because the OnError callback or
the IsRetryable function expect a non-nil error.
Since I cannot reproduce which logs should have been suppressed by
the changes, I removed them completely.
2021-11-11 21:26:11 +01:00
Noah Hilverling
bb51bbb6f9
Merge pull request #385 from Icinga/bugfix/schema-prefix-command_id
...
Schema: Prefix command_id with command type (check, event, notification)
2021-11-11 11:51:25 +01:00
Eric Lippmann
b5017694fa
Merge pull request #379 from Icinga/feature/ci-compliance
...
GitHub actions: assert GPLv2 compatibility of all deps' licenses
2021-11-11 11:30:58 +01:00
Alexander A. Klimov
777fbe0a3c
.github/workflows/compliance.yml: assert GPLv2 compatibility of all deps' licenses
2021-11-09 15:12:41 +01:00
Alexander A. Klimov
6c02a8f30f
.github/workflows/compliance/anonymize-license.pl: replace redundant info in license text
2021-11-09 15:12:41 +01:00
Alexander A. Klimov
12a6d525e1
.github/workflows/compliance/ls-deps.pl: extract all 3rd-party deps
...
... from `go list -deps` input.
2021-11-09 15:12:41 +01:00
Eric Lippmann
9a47f50828
Raise expectedRedisSchemaVersion
2021-11-09 15:11:09 +01:00
Noah Hilverling
c19cfdf406
Schema: Prefix command_id with command type (check, event, notification)
...
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2021-11-09 15:11:09 +01:00
Eric Lippmann
94abcef7bf
Merge pull request #388 from Icinga/bugfix/gpl2
...
Replace Apache 2.0 licensed gopkg.in/yaml.v3 with MIT licensed github.com/goccy/go-yaml
2021-11-09 11:13:29 +01:00
Julian Brost
bfa4a27204
Merge pull request #396 from Icinga/logging
...
Logging
2021-11-08 18:14:27 +01:00
Eric Lippmann
ea74dc172a
Rename periodic.Stoper to periodic.Stopper
2021-11-05 17:57:27 +01:00
Eric Lippmann
886c60c95a
Use custom logger with 1 second interval for delta tests
2021-11-05 17:57:27 +01:00