Commit graph

1972 commits

Author SHA1 Message Date
Markus Frosch
9f18cd1261
Add icingadb.service (#54)
Add icingadb.service
2019-11-28 11:39:36 +01:00
Noah Hilverling
45eaa0e582 Add icingadb.service 2019-11-28 11:30:27 +01:00
Noah Hilverling
24af10c9dd
Merge pull request #40 from Icinga/feature/host_id-32
Schema: make *history#host_id NOT NULL
2019-11-27 14:40:09 +01:00
Alexander A. Klimov
1edf43d116 Merge branch 'bugfix/fix-import-order' 2019-11-27 14:26:42 +01:00
Alexander A. Klimov
65eab2244b Merge branch 'bugfix/drop-last-remains-of-null-rows' 2019-11-27 14:25:25 +01:00
Noah Hilverling
c97b80a33e Fix import order 2019-11-27 14:23:41 +01:00
Noah Hilverling
c23bccfd87 History: Drop last remains of null rows
fixes #39
2019-11-27 14:15:34 +01:00
Noah Hilverling
79981aac07
Merge pull request #36 from Icinga/bugfix/notification-user-states-types
Correct translation of nulls in {Notification,User}#{types,states}
2019-11-27 10:51:50 +01:00
Noah Hilverling
695d418960
Merge pull request #37 from Icinga/bugfix/comment_types-downtime-flapping-35
Comment_history: Remove comment_types downtime & flapping
2019-11-27 10:50:45 +01:00
Noah Hilverling
826f8aaad6
Merge pull request #41 from Icinga/bugfix/environment_id-id-31
Schema: place environment_id always next to id
2019-11-27 10:47:59 +01:00
Noah Hilverling
a45cb87f46
Merge pull request #43 from Icinga/bugfix/flapping_history-event_type-33
Flapping_history: Remove event_type
2019-11-27 10:47:09 +01:00
Noah Hilverling
15ad6e8b42
Merge pull request #42 from Icinga/bugfix/notification_history-send_time-34
Notification_history: Rename event_time to send_time
2019-11-27 10:46:16 +01:00
Alexander A. Klimov
1736392c0c Flapping_history: Remove event_type
refs #33
2019-11-26 18:17:47 +01:00
Alexander A. Klimov
d94ba0939c Notification_history: Rename event_time to send_time
refs #34
2019-11-26 18:11:48 +01:00
Alexander A. Klimov
44d9863f88 Schema: place environment_id always next to id
refs #31
2019-11-26 18:02:48 +01:00
Alexander A. Klimov
1c28c7d5e9 Schema: make *history#host_id NOT NULL
refs #32
2019-11-26 17:52:55 +01:00
Alexander A. Klimov
9c5277aa76 Comment_history: Remove comment_types downtime & flapping
refs #35
2019-11-26 16:27:47 +01:00
Alexander A. Klimov
b6403531d0 Correct translation of nulls in {Notification,User}#{types,states} 2019-11-26 16:19:55 +01:00
Noah Hilverling
7cb68fba76
Merge pull request #29 from Icinga/bugfix/downtime_history-start_time-end_time
Schema: make downtime_history#{start,end}_time NOT NULL
2019-11-26 14:16:54 +01:00
Alexander A. Klimov
8f78e83fd5 Schema: make downtime_history#{start,end}_time NOT NULL 2019-11-26 11:56:38 +01:00
Noah Hilverling
39438df700
Merge pull request #27 from Icinga/bugfix/notification-author-text-null
Schema: make notification_history#{author,text} NOT NULL
2019-11-26 10:20:23 +01:00
Noah Hilverling
2767885d3f
Merge pull request #26 from Icinga/bugfix/environment_id-null
Schema: make all environment_id columns NOT NULL
2019-11-26 10:19:58 +01:00
Alexander A. Klimov
8c53a4bc0f Schema: make notification_history#{author,text} NOT NULL 2019-11-25 17:07:43 +01:00
Alexander A. Klimov
22272a3e26 Schema: make all environment_id columns NOT NULL 2019-11-25 17:01:40 +01:00
Noah Hilverling
e3b9b27d9c
Merge pull request #25 from Icinga/feature/no-manage-mysql
Don't manage MySQL server
2019-11-25 15:16:16 +01:00
Noah Hilverling
5303937aca
Merge pull request #24 from Icinga/feature/no-manage-redis
Don't manage Redis server
2019-11-25 15:14:22 +01:00
Alexander A. Klimov
8e2495d0d1 Don't manage MySQL server 2019-11-25 15:03:19 +01:00
Alexander A. Klimov
a6ace14d02 Don't manage Redis server 2019-11-25 14:49:32 +01:00
Alexander A. Klimov
ad7c7f621d Merge branch 'bugfix/host-fix-missing-binary-address-representation' 2019-11-25 13:24:10 +01:00
Noah Hilverling
4a82b4603e Host: Fix missing binary address representation 2019-11-25 12:57:03 +01:00
Alexander A. Klimov
d18475f02b Merge branch 'feature/go-mod' 2019-11-22 14:57:42 +01:00
Markus Frosch
837c62154c Switch to go mod for vendored packages 2019-11-22 13:37:05 +01:00
Alexander A. Klimov
114a46dfe6 Merge branch 'feature/remove_last_state_field' 2019-11-14 12:08:24 +01:00
Noah Hilverling
b4aaa4ed3c Remove unused and redundant last_{hard/soft}_state 2019-11-14 10:55:11 +01:00
Alexander A. Klimov
52c4defe6a Merge branch 'bugfix/read-hard_state-and-last_hard_state-only-once' 2019-11-11 15:29:45 +01:00
Noah Hilverling
fe4b453ca2 State: Read hard_state/last_hard_state only once 2019-11-11 13:20:48 +01:00
Alexander A. Klimov
2b0088e132 Merge branch 'feature/user-notification-history' 2019-11-08 11:14:20 +01:00
Noah Hilverling
4e57cb4e01 History: Add user notification history 2019-11-07 16:20:31 +01:00
Noah Hilverling
792129e7e5 SQL: Do not log error on connection error, if retrying 2019-11-05 14:17:43 +01:00
Noah Hilverling
adf1da2dd6 Update convert tests 2019-11-05 12:25:24 +01:00
Noah Hilverling
8356c9238b Update dev_update_schema.sh to fit default icingadb.ini 2019-11-05 12:00:10 +01:00
Noah Hilverling
c90280998c Remove unused dev files 2019-11-05 11:14:14 +01:00
Noah Hilverling
9415c90fa6 Populate state HardState 2019-11-05 10:44:15 +01:00
Noah Hilverling
501e92b1a5
Merge pull request #11 from Icinga/Feature/align-config-example
Config example: Use icingadb db user as default
2019-11-05 09:43:46 +01:00
Michael Friedrich
746d60e926
Config example: Use icingadb db user as default 2019-11-04 23:55:12 +01:00
Noah Hilverling
746a1f035c Fix wrong state type convertion 2019-11-04 17:03:30 +01:00
Alexander A. Klimov
f92b2ecee2 Merge branch 'feature/improve-sql-error-handling' 2019-11-04 14:26:33 +01:00
Noah Hilverling
8f892c149a
Merge pull request #9 from Icinga/feature/license-5
Add license
2019-11-04 14:25:06 +01:00
Alexander A. Klimov
5f905c60f4 Add license headers
git ls-files -z |grep -zEe '\.go$' |xargs -0 perl -p0i -e 's~^~// IcingaDB | (c) 2019 Icinga GmbH | GPLv2+\n\n~g'
git ls-files -z |grep -zEe '\.sql$' |xargs -0 perl -p0i -e 's~^~-- IcingaDB | (c) 2019 Icinga GmbH | GPLv2+\n\n~g'

refs #5
2019-11-04 14:22:27 +01:00
Noah Hilverling
417990c9a7 Improve SQL error handling 2019-11-04 14:14:38 +01:00