Commit graph

1972 commits

Author SHA1 Message Date
Alexander A. Klimov
305172463e Make *_flapping_history oneshots 2019-10-22 15:00:52 +02:00
Alexander A. Klimov
715e068f5d Config: add redis.pool_size 2019-10-22 14:35:01 +02:00
Alexander A. Klimov
7b5939d988 Config: add mysql.max_open_conns 2019-10-22 14:22:58 +02:00
Alexander A. Klimov
a49fcd140c Replace is_fixed with is_flexible 2019-10-21 15:41:01 +02:00
Noah Hilverling
c4c38ceee0 RuntimeUpdates: Fix redis subscription leak 2019-10-14 17:28:51 +02:00
Noah Hilverling
a55d588aab Insert "NULL" rows on startup 2019-10-10 16:27:53 +02:00
Noah Hilverling
94dff9279a Merge branch 'feature/integration-tests' 2019-10-10 13:40:42 +02:00
Noah Hilverling
5312867642 Add more MySQL tests 2019-10-10 13:40:29 +02:00
Noah Hilverling
c1842145a2 Add configsync integration tests 2019-10-10 13:33:29 +02:00
Noah Hilverling
e9403ef864 Do not split up comments/downtimes into host/service tables 2019-10-10 13:30:57 +02:00
Noah Hilverling
9eff41359a Fix runtime updates 2019-10-10 10:12:43 +02:00
Noah Hilverling
c8c50cea82 History: Add correct downtime event types 2019-10-09 15:48:08 +02:00
Noah Hilverling
d3ae05039f *comment: Fix EntryType not using enum types 2019-10-09 13:57:09 +02:00
Noah Hilverling
c1183a649d Add history 2019-10-09 13:56:52 +02:00
Noah Hilverling
c228d04f57 SQL-Schema: Fix some column data types 2019-10-09 13:54:59 +02:00
Noah Hilverling
c9bc00bb0d Merge branch 'feature/history-schema' into 'master'
Schema: add history tables

See merge request icingadb/icingadb-main!18
2019-10-09 10:07:09 +02:00
Noah Hilverling
68ba73d761 StateSync: Add missing mutex for sync counter map 2019-10-08 12:30:55 +02:00
Noah Hilverling
7e48515382 Fix customvar_flat naming 2019-10-08 10:41:14 +02:00
Alexander A. Klimov
bedcabcab9 Schema: make *_*_history.{deletion_time,end_time} NULL DEFAULT NULL 2019-10-02 15:45:20 +02:00
Alexander A. Klimov
b7ed29c095 Schema: make *_downtime_history.triggered_by_id NULL DEFAULT NULL 2019-10-02 14:02:22 +02:00
Noah Hilverling
87441820a9 StateSync: Wait one second if no EnvId is set 2019-10-02 12:06:31 +02:00
Noah Hilverling
63f01d202b HA: Fix notificationListeners not getting messages in order 2019-10-02 12:00:40 +02:00
Alexander A. Klimov
4f36cb3ae4 Schema: add service history tables 2019-10-02 10:38:04 +02:00
Alexander A. Klimov
0f25474b5a Schema: add host history list tables 2019-10-02 10:30:46 +02:00
Alexander A. Klimov
36219615bb Schema: change the primary keys of some host history details tables 2019-10-02 10:25:54 +02:00
Alexander A. Klimov
4d272f6729 Schema: let each row of some host history details tables represent an ongoing state 2019-10-01 18:12:12 +02:00
Alexander A. Klimov
9d82b47b19 Schema: add host history details tables as in the IDO 2019-10-01 17:30:36 +02:00
Noah Hilverling
8f3450512a StateSync: Improve error handling 2019-10-01 15:17:54 +02:00
Noah Hilverling
7c55093f5c StateSync: Always read instead of once per second 2019-10-01 14:36:51 +02:00
Noah Hilverling
f539417d0f Merge branch 'feature/dep' into 'master'
Lock deps

See merge request icingadb/icingadb-main!17
2019-10-01 10:18:16 +02:00
Alexander A. Klimov
ed6cac9a44 Lock deps 2019-10-01 10:11:29 +02:00
Noah Hilverling
d2aafcf011 Rename check_period to check_timeperiod 2019-09-30 14:30:30 +02:00
Noah Hilverling
0e73b41e88 Merge branch 'feature/managed-redis-mysql' into 'master'
Tests: connect to temporary Redis and MySQLd

See merge request icingadb/icingadb-main!16
2019-09-30 12:04:15 +02:00
Alexander A. Klimov
35d6f48125 ha/ha_test.go: connect to temporary Redis and MySQLd 2019-09-30 11:34:49 +02:00
Noah Hilverling
c8b16b4d88 Redis: Use temporary redis while testing 2019-09-30 11:30:22 +02:00
Alexander A. Klimov
88359e841d Temporary MySQLd: support MariaDB 10.4 2019-09-30 11:30:22 +02:00
Alexander A. Klimov
c9bcfd7729 Temporary MySQLd: support MacOS 2019-09-30 11:30:22 +02:00
Alexander A. Klimov
fa9941d0c9 Tests: connect to temporary MySQLd 2019-09-30 11:30:22 +02:00
Alexander A. Klimov
d9717d5bbb Tests: connect to temporary Redis 2019-09-30 11:29:26 +02:00
Noah Hilverling
5d9e459bcd Tests: Use require instead of assert if test depends on it 2019-09-30 10:46:25 +02:00
Noah Hilverling
363ae23656 Host/Service-State: Add next_update
fixes #15
2019-09-26 13:14:53 +02:00
Noah Hilverling
245f66ff1e Utils: Improve function names 2019-09-26 12:58:16 +02:00
Noah Hilverling
0486bfcaf2 Update redis tests 2019-09-26 10:39:32 +02:00
Noah Hilverling
685c2e53f1 IcingaHeartbeatListener: Use chErr instead of error return value 2019-09-26 08:30:16 +02:00
Noah Hilverling
5d0691cb1a Improve HA tests 2019-09-26 08:29:47 +02:00
Noah Hilverling
e7fa88cf9f Streamline database column names
fixes #13
2019-09-25 11:02:46 +02:00
Noah Hilverling
1789db1f04 Split up HA.Run() into smaller methods 2019-09-25 08:50:28 +02:00
Noah Hilverling
12dfce6791 HA: Add unit tests 2019-09-23 15:48:15 +02:00
Noah Hilverling
b8745869c6 ConnectionLib: Update unit tests 2019-09-23 15:47:55 +02:00
Johannes Meyer
bb0e768348 Update .gitignore to ignore all hidden files by default 2019-09-23 13:45:52 +02:00