Alexander A. Klimov
aed0e9124f
Avoid SQL syntax Postgres doesn't understand
...
refs #136
2022-03-09 18:49:45 +01:00
Alexander A. Klimov
b2618dee85
Port MySQL schema to Postgres
...
refs #136
2022-03-09 18:49:45 +01:00
Alexander Aleksandrovič Klimov
dece98e3e9
Merge pull request #449 from Icinga/bugfix/intermittent-test-failures
...
Fix intermittent test failures
2022-03-09 18:48:20 +01:00
Julian Brost
9b3e52913e
Remove parallelism from history test
...
This is done to prevent intermittent test failures caused by another sub-test
still running that submits check results while the state history stream is
checked for consistency.
2022-03-09 16:59:58 +01:00
Julian Brost
c9e3596386
Bump icinga-testing version
2022-03-09 16:51:38 +01:00
Julian Brost
17b891dc10
Merge pull request #446 from Icinga/document-icinga-redis-password-option
...
doc: Document the password option for Redis
2022-03-07 15:35:11 +01:00
Julian Brost
dfdced9a3b
Merge pull request #441 from Icinga/bugfix/typo
...
Fix typo
2022-03-07 15:34:20 +01:00
Johannes Meyer
c5a5c9f62c
doc: Document the password option for Redis
2022-03-03 13:57:24 +01:00
Julian Brost
6e3bfd7722
Merge pull request #439 from Icinga/feature/add-previous_soft_state-to-host_state-and-service_state-437
...
Add previous_soft_state to host_state and service_state
2022-02-18 14:10:06 +01:00
Alexander A. Klimov
f5733526d0
Fix typo
2022-02-17 13:58:35 +01:00
Alexander A. Klimov
879b683041
Add previous_soft_state to host_state and service_state
...
refs #437
2022-02-17 13:48:17 +01:00
Julian Brost
09f34f3467
Merge pull request #440 from Icinga/Al2Klimov-patch-3
...
Docs: don’t explain MySQL installation
2022-02-17 13:38:11 +01:00
Julian Brost
fffe176988
Merge pull request #420 from Icinga/bugfix/notification_history-text-longtext
...
Schema: make notification_history#text longtext
2022-02-17 13:37:09 +01:00
Alexander Aleksandrovič Klimov
4cdd9831d9
Docs: don’t explain MySQL installation
2022-02-15 14:52:45 +01:00
Alexander Aleksandrovič Klimov
6ce21cacd1
Merge pull request #438 from Icinga/dependabot/go_modules/go.uber.org/zap-1.21.0
...
Bump go.uber.org/zap from 1.20.0 to 1.21.0
2022-02-14 11:34:51 +01:00
dependabot[bot]
7b6dcdc1a0
Bump go.uber.org/zap from 1.20.0 to 1.21.0
...
Bumps [go.uber.org/zap](https://github.com/uber-go/zap ) from 1.20.0 to 1.21.0.
- [Release notes](https://github.com/uber-go/zap/releases )
- [Changelog](https://github.com/uber-go/zap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/uber-go/zap/compare/v1.20.0...v1.21.0 )
---
updated-dependencies:
- dependency-name: go.uber.org/zap
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-02-14 10:00:52 +00:00
Eric Lippmann
b65e427232
Merge pull request #432 from Icinga/bugfix/crash-after-interuption-of-mysql-connection-427
...
HA#realize(): re-try transaction on temporary error
2022-02-03 16:58:29 +01:00
Eric Lippmann
ccde290c8a
Merge pull request #436 from Icinga/tls-options-not-applied
...
Fix currently not able to enable TLS
2022-02-03 16:56:37 +01:00
Eric Lippmann
bf92290507
Don't embed TLS config
...
When embedding TLS, the field name is implicitly specified as TLS,
which conflicts with the YAML key tls,
which currently does not allow TLS to be enabled.
I'm not entirely sure if this is a bug in goccy/go-yaml,
but if a struct field name other than TLS is specified,
the configuration works again.
2022-02-03 13:10:16 +01:00
Eric Lippmann
59cf6ccc41
Rename TLS.Tls to TLS.Enable
...
Enable is more self-documenting.
2022-02-03 10:03:46 +01:00
Alexander A. Klimov
943133a4ac
HA#realize(): re-try transaction on temporary error
...
and don't just crash.
refs #427
2022-02-02 13:23:37 +01:00
Eric Lippmann
c928b21dab
Merge pull request #434 from Icinga/Al2Klimov-patch-3
...
GHA: use latest staticcheck version
2022-01-31 19:45:51 +01:00
Alexander A. Klimov
eb46325744
GHA: use latest staticcheck version
...
not a hardcoded one.
This action takes care of that.
2022-01-31 18:17:46 +01:00
Eric Lippmann
c3ee108539
Merge pull request #423 from Icinga/feature/gha-go-mod-tidy
...
GHA: go mod tidy
2022-01-31 16:25:24 +01:00
Alexander A. Klimov
3213d18249
Schema: make notification_history#text longtext
2022-01-28 11:51:58 +01:00
Julian Brost
68a9f7faba
Merge pull request #422 from Icinga/feature/test-ha-history-consistency
...
Integration tests: test that both icinga2 instances write identical history streams
2022-01-21 12:03:55 +01:00
Alexander A. Klimov
6f54f94e99
GHA: go mod tidy
...
If this changes go.*, complain about the non-perfect file(s).
2022-01-21 11:02:13 +01:00
Julian Brost
9b9e120b60
Merge pull request #431 from Icinga/feature/daily-integration-tests
...
Run daily integration tests
2022-01-11 15:17:27 +01:00
Julian Brost
8bacc4dd96
Run daily integration tests
...
As those also implicitly test code in the icinga2 repo, it makes sense to run them periodically to notice if we break something over there.
2022-01-11 14:38:10 +01:00
Alexander Aleksandrovič Klimov
e436590690
Merge pull request #430 from Icinga/bugfix/update-dependabot-reviewers
...
Update dependabot reviewers
2022-01-10 12:28:44 +01:00
Julian Brost
e02948d98a
Merge pull request #429 from Icinga/dependabot/go_modules/go.uber.org/zap-1.20.0
...
Bump go.uber.org/zap from 1.19.1 to 1.20.0
2022-01-10 12:14:02 +01:00
Julian Brost
241b925aeb
Update dependabot reviewers
...
Remove N-o-X due to https://github.com/Icinga/icingadb/pull/429#issuecomment-1008709856
2022-01-10 12:09:47 +01:00
dependabot[bot]
f8739b4a26
Bump go.uber.org/zap from 1.19.1 to 1.20.0
...
Bumps [go.uber.org/zap](https://github.com/uber-go/zap ) from 1.19.1 to 1.20.0.
- [Release notes](https://github.com/uber-go/zap/releases )
- [Changelog](https://github.com/uber-go/zap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/uber-go/zap/compare/v1.19.1...v1.20.0 )
---
updated-dependencies:
- dependency-name: go.uber.org/zap
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-01-10 10:02:14 +00:00
Eric Lippmann
1bc7f137cd
Merge pull request #417 from Icinga/bugfix/docs-mysql-user-create-commands
...
Docs: Replace GRANT + IDENTIFIED BY command incompatible with newer MySQL versions
2021-12-09 16:09:43 +01:00
Eric Lippmann
97e8ad513c
Merge pull request #416 from Icinga/bugfix/docs-fix-foreground-command
...
Docs: Fix foreground command config parameter
2021-12-09 16:09:30 +01:00
Eric Lippmann
0f64125af3
Merge pull request #426 from Icinga/bugfix/redis-connection-pool-timeout
...
Make sure Redis connection pool is large enough
2021-12-09 16:09:18 +01:00
Noah Hilverling
12b99eda89
Make sure Redis connection pool is large enough
...
The default Redis PoolSize is 10 * CPU, which isn't enough to run Icinga DB on machines with only 1 CPU.
Most of our open connections come from blocking XREADs. (e.g. Heartbeat, Runtime, Overdue, History)
2021-12-09 15:55:24 +01:00
Julian Brost
a9ecdea92d
Integration tests: test downtime expiry history
2021-12-08 12:46:40 +01:00
Julian Brost
51d8836ee5
Integration tests: text comment expiry history
2021-12-08 12:46:40 +01:00
Julian Brost
731849371c
Integration tests: test comment removal history
2021-12-07 10:31:24 +01:00
Julian Brost
de7b16cf22
Integration tests: add author/removed_by to downtime cancellations
...
This is implicitly checked in the history consistency tests in HA setups.
2021-12-03 10:56:48 +01:00
Julian Brost
02a36ad8b5
Integration tests: test that both icinga2 instances write identical history streams
...
refs https://github.com/Icinga/icinga2/issues/9101
2021-12-03 10:56:48 +01:00
Noah Hilverling
73ef038dfa
Docs: Replace GRANT command incompatible with newer MySQL versions
2021-11-23 13:48:08 +01:00
Noah Hilverling
ed92dc22cb
Docs: Fix foreground command config parameter
2021-11-23 13:45:51 +01:00
Julian Brost
4705619329
Merge pull request #415 from Icinga/feature/goccy-yaml-pr
...
go.mod: remove redundant replacement
2021-11-18 16:15:47 +01:00
Alexander A. Klimov
5f77189ad1
go.mod: remove redundant replacement
2021-11-18 10:57:32 +01:00
Eric Lippmann
27c7ea20ab
Merge pull request #404 from Icinga/feature/runtime-relationship-tests
...
Integration tests: Add notifications and improve user runtime updates
2021-11-12 19:10:27 +01:00
Noah Hilverling
40c3c29af2
Integration tests: Add notifications and improve user runtime updates
2021-11-12 18:49:43 +01:00
Eric Lippmann
6e5da59219
Merge pull request #313 from Icinga/authors
...
Update authors and remove authors whose code is no longer in the repo
2021-11-12 18:23:39 +01:00
Eric Lippmann
eb468af318
Merge pull request #397 from Icinga/introduce-more-indexes
...
Add more MySQL indexes
2021-11-12 18:19:42 +01:00