Commit graph

1972 commits

Author SHA1 Message Date
Noah Hilverling
f7ca393d29 Merge branch 'feature/pre-create-observers-5' into 'master'
Pre-create all prometheus.Observers

Closes #5

See merge request icingadb/icingadb-main!13
2019-09-23 11:23:15 +02:00
Alexander A. Klimov
82956a139c Pre-create all prometheus.Observers
refs #5
2019-09-23 10:56:25 +02:00
Alexander A. Klimov
8316349cf8 Pre-create prometheus.Observers with constant labels
refs #5
2019-09-23 10:54:52 +02:00
Noah Hilverling
1c1c43c236 Merge branch 'feature/test-redis-addr' into 'master'
Tests: connect to Redis specified by ICINGADB_TEST_REDIS

See merge request icingadb/icingadb-main!15
2019-09-23 10:52:44 +02:00
Noah Hilverling
3902bcd0a2 host_state & service_state: Fix primary keys 2019-09-23 10:46:42 +02:00
Alexander A. Klimov
ac082e6886 Tests: connect to MySQLd specified by ICINGADB_TEST_MYSQL 2019-09-20 17:31:26 +02:00
Noah Hilverling
c6b361eaee Heartbeat: Add nodeName & remove configDumpInProgress 2019-09-20 17:25:52 +02:00
Alexander A. Klimov
8780ac15b3 Tests: connect to Redis specified by ICINGADB_TEST_REDIS 2019-09-20 17:24:49 +02:00
Noah Hilverling
078999fa0d Fix MySQL unit tests 2019-09-20 17:11:15 +02:00
Noah Hilverling
12b623a2a5 NewRDBWrapper: Remove unused error return value 2019-09-20 17:02:40 +02:00
Noah Hilverling
d062c45b87 StateSync: Do not sync until EnvId is set 2019-09-20 15:16:53 +02:00
Noah Hilverling
bf2e68dbfd Fix redis tests 2019-09-20 14:39:41 +02:00
Noah Hilverling
e75754d3d9 Config: Add log level 2019-09-20 14:29:07 +02:00
Noah Hilverling
484ac02d59 Merge branch 'bugfix/icingadb-not-starting-without-db-and-redis-connection' into 'master'
Fix IcingaDB not starting without MySQL & Redis connection

Closes #9 and #10

See merge request icingadb/icingadb-main!12
2019-09-20 13:09:08 +02:00
Noah Hilverling
0a7324b491 Merge branch 'new-redis-schema' into 'master'
New redis schema

Closes #4 and #7

See merge request icingadb/icingadb-main!11
2019-09-20 13:08:46 +02:00
Noah Hilverling
59b11d6c11 HA: Use prepared statements to fix unescaped UUIDs 2019-09-18 16:54:22 +02:00
Noah Hilverling
449ab7d8cb Fix HA not resuming after being responsible again 2019-09-18 15:34:47 +02:00
Noah Hilverling
ca217ebfe0 Implement runtime updates 2019-09-18 15:29:13 +02:00
Noah Hilverling
e2eb43ec4d Fix IcingaDB not starting without MySQL & Redis connection
fixes #9
fixes #10
2019-09-17 15:41:51 +02:00
Noah Hilverling
35a1080879 Improve tests 2019-09-17 14:00:48 +02:00
Noah Hilverling
a3b7ac5af6 Rename IcingaEventsBroker to IcingaHeartbeatListener 2019-09-17 13:47:03 +02:00
Noah Hilverling
3968f6b3c8 Remove wrong JSON tag 2019-09-17 13:17:00 +02:00
Noah Hilverling
34b75b4f19 Improve state sync 2019-09-17 11:18:01 +02:00
Noah Hilverling
041c27dd13 Fix duplicate HA instances in database 2019-09-17 09:34:25 +02:00
Noah Hilverling
3dbfc8ae72 Implement new event system in object types 2019-09-16 11:00:37 +02:00
Noah Hilverling
8bde33e09e Improve event system 2019-09-16 10:28:00 +02:00
Noah Hilverling
1dbd299e12 Only log if something was inserted/updated/deleted 2019-08-09 15:08:08 +02:00
Noah Hilverling
798cf05dde Fix module-dev password 2019-08-09 14:16:06 +02:00
Noah Hilverling
3623b41a2e Make RegisterNotificationListener() thread safe 2019-08-07 16:50:50 +02:00
Noah Hilverling
a33054b0b7 Fix indentation 2019-08-07 16:01:00 +02:00
Noah Hilverling
dd3f0ab9e8 Add customvar_flat 2019-08-07 16:01:00 +02:00
Noah Hilverling
618ea21571 Row: Add GetFinalRows() 2019-08-07 16:01:00 +02:00
Noah Hilverling
bc1c4b1c0f ConfigObject: Add DeltaMySqlField attribute 2019-08-07 14:50:09 +02:00
Noah Hilverling
d0e485b42a Add StringToSha1String() 2019-08-07 14:43:22 +02:00
Noah Hilverling
3c7a2afda6 Delta: Allow ID duplicates 2019-08-07 14:43:06 +02:00
Noah Hilverling
8b6e8b5c9d Host/Service: Commandline should not be restricted to 255 chars 2019-08-07 09:45:11 +02:00
Noah Hilverling
ab0e4b7344 Fix heartbeat tests 2019-08-07 09:45:11 +02:00
Noah Hilverling
da564c0c97 Fix statesync 2019-08-07 09:45:11 +02:00
Noah Hilverling
15fd419d5e Fix *commandargument argument_key_override 2019-08-07 09:45:11 +02:00
Noah Hilverling
d0f29d36bb Add depth to zone schema and remove zone_tree 2019-08-07 09:45:11 +02:00
Noah Hilverling
2161ce88fa Add host and service downtimes and comments 2019-08-07 09:45:11 +02:00
Noah Hilverling
ca3992fab6 Add *command object types 2019-08-07 09:45:11 +02:00
Noah Hilverling
ce33671bc4 Add timeperiod 2019-08-07 09:45:11 +02:00
Noah Hilverling
fb804bd4e3 Add notification 2019-08-07 09:45:11 +02:00
Noah Hilverling
583289280e Add NotificationStatesToBitMask() and NotificationTypesToBitMask() 2019-08-07 09:45:11 +02:00
Noah Hilverling
932a69a902 Add usergroupmember 2019-08-07 09:45:11 +02:00
Noah Hilverling
0ae0b5251a Add service- and hostgroupmember 2019-08-07 09:45:11 +02:00
Noah Hilverling
56c46f22a8 Add notesurl, actionurl and iconimage 2019-08-07 09:45:11 +02:00
Noah Hilverling
103607e967 Add object customvar 2019-08-07 09:45:11 +02:00
Noah Hilverling
827a748ab8 Add various customvars 2019-08-07 09:45:11 +02:00