-
Notifications
You must be signed in to change notification settings - Fork 31
/
Changes
353 lines (287 loc) · 14.3 KB
/
Changes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
This file documents the revision history for the Livestatus Multitool Daemon (LMD)
next:
- add lb benchmark tool
2.2.4 Tue Nov 12 16:33:35 CET 2024
- fix more index based filters
- update dependencies
2.2.3 Wed Oct 23 14:32:15 CEST 2024
- fix index based filter using regex
2.2.2 Mon Oct 14 14:49:49 CEST 2024
- fix !>= operator on integerlists
- fix sorting by custom variables
- add support for filtering *_with_info columns
2.2.1 Fri Jul 12 17:12:43 CEST 2024
- go build dependency changed to v1.22
- fix crash on log stat queries
2.2.0 Tue Mar 12 15:03:31 CET 2024
- synchronize naemon more efficient based on last_update column
- reduce number direct dependencies (build tools moved into separate pkg)
- performance improvements
- fix crash in mixed core version setups
- fix crash on type assertion (#142)
- migrate test framework
2.1.9 Wed Jan 24 20:50:13 CET 2024
- performance improvements
- fix regexp filter using case sensitive index
2.1.8 Mon Jan 22 08:55:02 CET 2024
- submit pending commands as soon as syncing started
- accept python3 outputformat (#128)
- go build dependency changed to v1.21
- fix regexp filter using case sensitive index
2.1.7 Fri Oct 20 10:08:38 CEST 2023
- improve full scan sync, less delta scan timestamp filter too complex messages
- add more contacts columns (id, host/service_notification_commands, in_host/service_notification_period,in_host_notification_period)
- fix modified attributes with icinga 2
- fix data corruption during update
2.1.6 Fri Jul 14 08:44:27 CEST 2023
- add support for setting expected tls servername
- performance improvements
- fix service parents type
2.1.5 Tue Mar 21 15:23:39 CET 2023
- fix stats query optimizer when using Or aggregation
- add support for contacts groups column
- add support for multiple column headers (#137)
- print errors on config parse errors (#135)
- add logmode "stdout-journal" (#136)
2.1.4 Mon Feb 20 09:35:17 CET 2023
- add StatsNegate support (#133)
- fix reusing keepalive connections
- retry on temporary network problems
- improve error logging on http errors
- reduce amount of connections
- add request duration histogram to prometheus metrics
- drop golang 1.18 support
2.1.2 Fri Nov 11 10:40:28 CET 2022
- fix trailing Or: in update query
2.1.1 Tue Sep 27 15:08:02 CEST 2022
- update dependencies
2.1.0 Fri Aug 12 19:17:52 CEST 2022
- improve synchronization and locking
2.0.9 Thu Jul 21 14:29:20 CEST 2022
- fix wait condition queries always waiting 10seconds
2.0.8 Mon Jul 4 08:59:06 CEST 2022
- use sub second precision timestamps
- fix regex search if host name contains uppercase characters
2.0.7 Tue Mar 1 10:50:46 CET 2022
- fix crash when using wrong data index
2.0.6 Tue Feb 22 16:07:38 CET 2022
- fix installing v2 version with go install
- fix data corruption with overlapping optional attributes
2.0.5 Tue Feb 22 10:33:47 CET 2022
- add address1 to address6 fields to contacts (#122)
- always sort incoming data
- improve bad input data handling
2.0.4 Mon Dec 13 12:52:23 CET 2021
- add MaxQueryFilter option to prevent to complex queries
- fix panic while accessing none-existing custom variable
- fix reading connections from multiple config files
- fix synchronization by is_executing flag
2.0.3 Wed Oct 13 11:47:03 CEST 2021
- add process pid to log
- improve handling of duplicate or conflicting backend ids
- fix removing stale sockets on startup
2.0.2 Tue Aug 31 17:26:18 CEST 2021
- rework comment/downtime id handling
- improve error logging on clock errors
- improve status table waitcondition queries during backend reloads
- fix crash after recover from short outage
- fix sending errored results
- fix crash on http timeouts
- fix crash on some wait conditions
- detect peer support for the following columns:
- services.check_freshness
- hosts.event_handler
- (services|hosts).staleness
- services.parents
2.0.1 Thu Jun 10 19:27:05 CEST 2021
- add --export option to export all backends into json file structure
- add --import option to run lmd based on export file
- support <= as alternative to !>= group operator
2.0.0 Mon Apr 26 11:41:42 CEST 2021
- use index to speed up hosts/services queries with hostname/group filter
- improve stats query performance
- fetch initial tables in parallel for quicker startup
- add config option TLSMinVersion
- add support for listen / connection parameters in -o
- add LogQueryStats option to log top 3 queries every minute
1.9.5 Mon Feb 1 18:46:43 CET 2021
- fix negated group filters, ex host_groups !~~ ...
- fix accessing thruks configtool
1.9.4 Mon Jan 25 11:15:51 CET 2021
- fix version string
1.9.3 Fri Jan 22 15:34:01 CET 2021
- increase default update interval from 5 to 7 sec
- improve icinga2 sync
- fix icinga2 crash because it has no custom_variable_names column for contacts
- add support to check remote clock
- add localtime column to return the local unix timestamp
- add UpdateOffset option
1.9.2 Mon Dec 14 11:02:02 CET 2020
- add hard service count columns (num_services_hard_X)
- fix syncing configtool options
- fix potential race condition when reloading backends
1.9.1 Sat Sep 26 21:39:50 CEST 2020
- add generic -o option to set arbitrary parameters
1.9.0 Tue Sep 8 10:32:12 CEST 2020
- add support for regex filter for number typed columns
- improve comments/downtimes synchronization
- improve slow query log when using wait conditions
- improve query performance when using regular expressions
- improve keepalive handling
- add open connections prometheus metric
- add optional connection flags, ex. to set a connection to type icinga2
- fix recovering broken peers
- add custom variables support for contacts
1.8.3 Mon Jun 8 11:06:13 CEST 2020
- improve reload detection with icinga2
- sort incoming hosts and services for icinga2, since they seem to be in random order
- improve connection timeout handling
- improve backend error messages
- improve query performance
1.8.2 Tue Mar 10 10:11:50 CET 2020
- improve synchronization when cascading LMDs by filtering by lmd_last_cache_update
- improve regex matching performance
1.8.1 Thu Jan 16 17:05:44 CET 2020
- fix potential dead lock when updating comments
1.8.0 Fr 10. Jan 10:22:20 CET 2020
- performance improvements
- add new configuration options:
- LogLockTimeout
- LogSlowQueryThreshold
- LogHugeQueryThreshold
- SyncIsExecuting
- SaveTempRequests
- CompressionMinimumSize
- CompressionLevel
- export some settings as metrics
- support globs in config files, ex.: --config=lmd.ini.d/*.ini
1.7.1 Fri 18 Oct 2019 05:01:20 PM CEST
- fix comment handling
1.7.0 Thu 17 Oct 2019 06:45:57 PM CEST
- support faster updates if client has a last_update column
- fix negate header in filter groups (#82)
1.6.1 Thu Jul 4 13:58:48 CEST 2019
- remove not parsable characters from json input
- add support for the negate header (#79)
- add new columns (#81)
- improve memory usage
1.6.0 Fri Jun 14 16:04:22 CEST 2019
- restructure internal data storage
- use string deduplication to use less memory
- add support for the AuthUser header (#71)
- add new columns:
- members_with_state (#74)
- <table>_<colum-name> (#73)
- check_source
1.5.0 Fri Mar 29 17:39:22 CET 2019
- add new columns:
- (host_)comments_with_info
- host dependencies
- service dependencies
- service parents
- services_with_info
- services_with_state
- Use keepalive for backend peer connections
1.4.3 Mon Jan 14 10:57:05 CET 2019
- fix parsing http results
1.4.2 Mon Jan 7 09:19:37 CET 2019
- fix returning command errors
1.4.1 Fri Jan 4 23:24:02 CET 2019
- limit number of command retries
- send command errors for http backends as well
1.4.0 Thu Jan 3 16:53:39 CET 2019
- buffer commands over short outages and reloads
- add proxy support for http backends
- fix panics on icinga2 host comments
- fix shinken specific columns (danirod)
1.3.7 Tue Dec 18 14:12:03 CET 2018
- send back external command result if supported by core
- add more naemon specific columns (sidhartha-sankar)
- add more shinken specific columns (David Gil)
1.3.6 Thu Nov 15 11:02:21 CET 2018
- fix parsing peers remote_name attribute
1.3.5 Mon Oct 15 14:26:06 CEST 2018
- add version information to prometheus metrics
1.3.4 Sat Oct 13 21:59:40 CEST 2018
- add support for http federation mode
- support regular expressions in list filter context, ex.: GET hosts\nFilter: groups ~~ name
1.3.3 Wed Jul 25 13:29:58 CEST 2018
- support WaitConditionAnd and WaitConditionOr
- support WaitConditionNegate
- fix using WaitTrigger without WaitCondition (#14)
- fix requesting unknown columns for log table
1.3.2 Tue Jun 19 09:55:56 CEST 2018
- fix typo in wrapped_json output
1.3.1 Mon Jun 18 14:09:13 CEST 2018
- support sort by non-requested columns
- changed `total` into `total_count` to be compatible with the naemon format
- sync custom variables not only on start, they can be changed by external commands
1.3.0 Tue Mar 13 10:39:03 CET 2018
- add tls listener support (including client certificate authorization)
- support client tls connections (with optional client authorization)
- only restart listeners and peers on SIGHUP if really changed
- provide thruk config tool settings for http backends
- fix overwriting svc accept_passive_checks (#20)
- fix evenly distribution in cluster mode (#18)
1.2.0 Mon Feb 5 17:03:36 CET 2018
- support lmd federation mode with cascading lmd instances
- return empty result for unknown columns for better backwards compatibility
- fix blocking requests if there are long running queries
1.1.5 Tue Dec 5 11:04:00 CET 2017
- add column lmd_last_cache_update to dynamic tables
- fix issue with using wrong key for http backends
- fix issue with icinga2 api added objects
1.1.4 Mon Nov 27 13:54:07 CET 2017
- fix locking issue
1.1.3 Sun Nov 26 23:12:20 CET 2017
- log last query on crash
- improved performance
- improved error handling when clients return incomplete results
- add ConnectTimeout option to distinguish between initial connection and transfer timeout
1.1.2 Wed Aug 16 15:56:04 CEST 2017
- fix issue with broken pipes on http backends
1.1.1 Sun May 14 10:58:28 CEST 2017
- fix issue with multiple config files
1.1.0 Fri May 12 16:30:55 CEST 2017
- add support for keepalive requests
- add support for grouped stats queries
- add support for hostsbygroup, servicesbygroup and servicesbyhostgroup table
- fix empty custom variable filters
1.0.3 Tue Mar 14 16:54:41 CET 2017
- use listeners from all config files instead of only the last config file
- add num_hosts_* columns to host-, servicegroups
- display better error message if http site is down
- icinga 2 peers automatically reload after changes through their api (Magnus Norden)
- add cluster mode
- reload/sighub only replaces changed peers now instead of restarting all of them
1.0.2 Sat Nov 5 22:34:40 CET 2016
- recover without recreating objects on short outages
- add sorting by custom variables
- add new column last_query/idling for backends table
- fix custom variables handling with icinga2 backend
1.0.1 Sat Oct 15 12:14:49 CEST 2016
- wait for the next update to complete after a WaitTrigger query
- send commands in a single bulk request
- add new column has_long_plugin_output for hosts/services
- better handling of empty values in filters
- make custom variables filter work with icinga2 style json
- fix issue with inverted regular expression filter
1.0.0 Tue Oct 11 00:06:03 CEST 2016
- add missing columns in downtimes/comments in order to filter by contacts
- use faster json library to decode results
- fix crash when sending commands
- fix sending results for half-populated pending sites
- fix putting sites offline when http returns broken pipe error
- log panics properly
0.0.3 Thu Oct 6 13:26:11 CEST 2016
- add sites table as alias for backends table
- add columns table with all columns with a description
- add tables table as alias for columns table
- improve host/service updates to ensure no host/service update is missed
0.0.2 Mon Sep 19 16:41:38 CEST 2016
- add fullupdateinterval config option
- add stale backend timeout config option
- internal performance tuning
- optimize host / service updates
0.0.1 Thu Sep 15 23:59:59 CEST 2016
- initial release