Commit graph

1972 commits

Author SHA1 Message Date
Noah Hilverling
3fe35d9226
Merge pull request #87 from Icinga/bugfix/ci-go-test-race
CI: add -race to go test
2019-12-10 14:02:49 +01:00
Alexander A. Klimov
ee0526fc0a CI: add -race to go test 2019-12-10 13:58:05 +01:00
Noah Hilverling
10c7bf1c6b Flapping/Acknowledgement history: Use one row instead of two 2019-12-09 16:01:26 +01:00
Alexander Aleksandrovič Klimov
6cdb07bc0e
Merge pull request #84 from Icinga/feature/history-removed-by-and-cancelled-by
History: Add cancelled_by & removed_by to downtime & comment history
2019-12-09 14:09:42 +01:00
Noah Hilverling
1e24a60ff8 History: Add cancelled_by & removed_by to downtime & comment history 2019-12-09 10:29:16 +01:00
Alexander Aleksandrovič Klimov
28ca90ac00
Merge pull request #65 from Icinga/feature/schema-version-info-59
Schema: add table icingadb_schema
2019-12-06 17:08:16 +01:00
Alexander A. Klimov
9f8cebfe41 Schema: add table icingadb_schema
refs #59
2019-12-06 15:57:56 +01:00
Alexander A. Klimov
d80bd7b4cb Schema: include consistent IDs, start time and end time in flapping and acknowledgement history
refs #81
2019-12-05 18:28:06 +01:00
Noah Hilverling
cb229a0429
Merge pull request #71 from Icinga/feature/version-68
CLI: add -version flag
2019-12-04 14:51:50 +01:00
Alexander A. Klimov
d380d2a47d CLI: add -version flag
refs #68
2019-12-04 14:12:27 +01:00
Alexander Aleksandrovič Klimov
0d63446f9f
Merge pull request #79 from Icinga/feature/fix-mysql-formatting
HA: Fix MySQL formatting
2019-12-04 14:11:31 +01:00
Alexander Aleksandrovič Klimov
9e789d2fd6
Merge pull request #78 from Icinga/feature/populate-environment-table
HA: Populate environment table
2019-12-04 14:09:13 +01:00
Noah Hilverling
51bc6c2ea8 HA: Fix MySQL formatting 2019-12-04 13:37:25 +01:00
Noah Hilverling
3c3d2230ca HA: Populate environment table 2019-12-04 13:36:25 +01:00
Alexander Aleksandrovič Klimov
1912c2a8dd
Merge pull request #72 from Icinga/feature/configsync-worker-debug-logging
ConfigSync: Add worker debug logging
2019-12-04 13:30:22 +01:00
Noah Hilverling
62aaa8a365 Remove useless log messages 2019-12-04 13:20:21 +01:00
Noah Hilverling
d195177993
Merge pull request #80 from justinmueller05082000/bugfix/make-counters-atomic
Make counters atomic
2019-12-04 13:13:45 +01:00
Noah Hilverling
b744943aca
Merge pull request #62 from Icinga/feature/icinga-2-info-58
Schema: add endpoint_id, icinga2_version and icinga2_start_time to icingadb_instance
2019-12-04 13:12:23 +01:00
Alexander Aleksandrovič Klimov
57eea297be
Merge pull request #57 from Icinga/feature/notification-recipients
Add notification recipients
2019-12-04 12:24:31 +01:00
Alexander A. Klimov
c5934664bb Schema: add endpoint_id, icinga2_version and icinga2_start_time to icingadb_instance
refs #58
2019-12-04 12:14:48 +01:00
Alexander A. Klimov
3bef8e1c28 IcingaHeartbeatListener(): json.Unmarshal() into a concrete type
refs #58
2019-12-04 12:10:04 +01:00
Justin Müller
d25443859c Make counters atomic
refs #50
2019-12-04 11:59:49 +01:00
Noah Hilverling
525ec37ce1 Add notification recipients 2019-12-04 11:20:31 +01:00
Noah Hilverling
448c3b4b0d
Merge pull request #56 from Icinga/feature/acks-history-19
Schema: add acknowledgement_history
2019-12-03 16:34:26 +01:00
Alexander A. Klimov
0c67b41aa9 Sync acknowledgement_history
refs #19
2019-12-03 16:15:33 +01:00
Alexander A. Klimov
4672a97834 Schema: add acknowledgement_history
refs #19
2019-12-03 16:08:32 +01:00
Noah Hilverling
cc26c878ca
Merge pull request #75 from justinmueller05082000/bugfix/replace-maps-with-hardcoded-keys-48
Replace maps with hardcoded keys with structs
2019-12-03 15:53:37 +01:00
Noah Hilverling
a2a9321b34
Merge pull request #47 from Icinga/feature/overdue-38
Schema: introduce {host,service}_state#is_overdue
2019-12-03 15:38:52 +01:00
Justin Müller
6e1ef512b9 Replace maps with hardcoded keys with structs
refs #48
2019-12-03 13:44:39 +01:00
Noah Hilverling
65521b4446
Merge pull request #77 from Icinga/feature/stats-stream
XREAD from icinga:stats
2019-12-03 12:53:55 +01:00
Alexander A. Klimov
486af84c3e Update {host,service}_state#is_overdue
refs #38
2019-12-03 12:16:40 +01:00
Alexander A. Klimov
894fb81de4 Schema: introduce {host,service}_state#is_overdue
refs #38
2019-12-03 12:03:47 +01:00
Alexander A. Klimov
29301e4d9e XREAD from icinga:stats 2019-12-02 18:40:34 +01:00
Noah Hilverling
af65d6ee67 Actions: Also run on PR 2019-12-02 16:01:34 +01:00
Noah Hilverling
d5fe9de0f8
Merge pull request #61 from Icinga/bugfix/customvar_-group_checksum-30
Get rid of not used checksums
2019-12-02 15:27:39 +01:00
Noah Hilverling
6074e1b46d
Merge pull request #60 from Icinga/feature/signal-handling-10
Handle SIGTERM and SIGINT
2019-12-02 11:40:32 +01:00
Noah Hilverling
fefeb156c2
Merge pull request #64 from justinmueller05082000/jmbranch
Correct and complete code docs
2019-12-02 10:41:44 +01:00
Noah Hilverling
afbfe16540
Merge pull request #67 from justinmueller05082000/bugfix/replace-timer-with-sleep
Replace timers with sleeps
2019-12-02 10:40:40 +01:00
Justin Müller
9994306945 Correct and complete code docs
refs #52
2019-12-02 10:29:53 +01:00
Justin Müller
e6dc686b63 Replace timers with sleeps
refs #51
2019-12-02 09:30:46 +01:00
Noah Hilverling
5d14f48995 ConfigSync: Add worker debug logging 2019-12-02 08:22:05 +01:00
Noah Hilverling
509ba9623a Fix integration tests 2019-11-29 13:54:23 +01:00
Alexander A. Klimov
eef7abd8c9 Get rid of not used checksums
refs #30
2019-11-29 11:27:14 +01:00
Alexander A. Klimov
98204d0800 Handle SIGTERM and SIGINT
refs #10
2019-11-29 10:42:47 +01:00
Noah Hilverling
28743ca4d3
Merge pull request #18 from Icinga/feature/github-actions
Create github action for go build
2019-11-28 14:44:28 +01:00
Markus Frosch
9216aa3d95 ci: Import schema for tests 2019-11-28 14:38:46 +01:00
Noah Hilverling
f8eb69f5e5
Merge pull request #17 from Icinga/feature/packaging
Updates for packaging
2019-11-28 14:36:45 +01:00
Markus Frosch
a8b43531c4 mysql: Remove deprecated NO_AUTO_CREATE_USER
This setting does no longer exist in MySQL 8.0
2019-11-28 14:31:21 +01:00
Markus Frosch
29b777ecd0 Create github action for go build 2019-11-28 14:25:16 +01:00
Markus Frosch
92cd0e3b94 Change default port for redis to 6380
Also mention the default in config.
2019-11-28 14:25:15 +01:00