-
Notifications
You must be signed in to change notification settings - Fork 63
/
NEWS
366 lines (298 loc) · 11.9 KB
/
NEWS
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
354
355
356
357
358
359
360
361
362
363
364
365
366
1.4.3 - Nov 19 2024
===================
Features:
* add global notifications handler (#477)
* add external command to add log entries (#477)
* add hint of previous object when duplicate detection fails (#479)
* add options to keep services running as long as they are up (#459)
* add problem timestamps and duration (#447)
Changed:
* clean up output of naemon -V (#484)
* change problem_id and notification_id to uuids (#362)
* change service parents suppressing only normal notifcations (#446)
Bugfixes:
* fix leaking object.cache file references (#462)
* fix host not being in hard state with max_check_attempts=1 (#473)
* throw config errors if boolean values cannot be parsed (#478)
* fix retrieving comments after deleting first (#474)
* fix rpm installation race condition (#456)
* fix resetting modified_attributes (#449)
1.4.2 - Jan 03 2024
===================
Features:
* remove size limit on external command argument length
* performance improvements when having lots of comments
* respawn dead core worker
Changed:
* write objects.precache into a tmp file first
* increased CURRENT_NEB_API_VERSION to 6 (neb modules need to be rebuild)
Bugfixes:
* fix build error on fedora
* fix latency calculation having negative value sometimes
1.4.1 - Feb 01 2023
===================
Features:
* none
Changed:
* use /run/naemon instead of /var/run/naemon (#410)
Bugfixes:
* fix bashisms in scripts (#407)
* fix fg: no job control output (#405)
* fix memory leak in cmd parser (#404)
* fix closing worker filehandles (#401)
1.4.0 - Nov 11 2022
===================
Breaking changes:
* Due to object structure changes, it is recommended to recompile any NEB modules
when upgrading to 1.4.0
Features:
* Support for expiring acknowledgements
Changed:
* Improvements to Debian packaging, including multiarch installs
Bugfixes:
* Fix a crash for external command: CHANGE_CONTACT_HOST_NOTIFICATION_TIMEPERIOD
* Fix a crash for external command: CHANGE_HOST_CHECK_TIMEPERIOD
1.3.1 - Apr 26 2022
===================
Changed:
* change default url to https://www.naemon.io
Bugfixes:
* fix running commands containing tilde sign
* improve updating last_update attribute
1.3.0 - Nov 03 2021
===================
Features:
* new vault broker api
* secure environment variables
Changed:
* none
Bugfixes:
* none
1.2.4 - Mar 03 2021
===================
Features:
* improve config check when having lots of servicegroups
Changed:
* migrate ci tests to github actions
* change header file location in deb/rpm packages
Bugfixes:
* fix check_command in svc neb broker call
1.2.3 - Dec 07 2020
===================
Bugfixes:
* fix package update on debian / ubuntu
1.2.2 - Nov 13 2020
===================
Features:
* none
Changed:
* improved sample configuration
* improved external command help
* debian package source format changed
* debian packages changed to systemd
Bugfixes:
* fix scheduling flexible service downtime
* fix setting last_update whenever next_check changes
* fix worker crashing
1.2.1 - Jul 13 2020
===================
Changed:
* nothing
Bugfixes:
* fix executing commands with pipes (#319)
* fix external command to remove downtimes by filter
1.2.0 - Feb 17 2020
===================
Features:
* Add new skip check options to set a particular state on skipped checks
Bugfixes:
* Retain flap detection option over restarts
* Don't process perfdata file if perfdata is disabled
1.1.0 - Sep 02 2019
===================
Features:
* add internal last_update timestamp to track host/service changes
* speed up configuration check when using lots of dependencies
Changed:
* increased CURRENT_NEB_API_VERSION, this means you have to recompile your NEB modules
Bugfixes:
* bail out config check if parent host cannot be resolved
* bail out config check if group members cannot be resolved (#300)
* fix calculating group on demand macros
* fix last_hard_state when using neb modules (#287)
* fix loading neb modules multiple times
1.0.10 - Mar 12 2019
===================
Features:
* allow NEBERROR_CALLBACKCANCEL from NEBTYPE_*CHECK_INITIATE neb callbacks
Changed:
* nothing
Bugfixes:
* fix newline handling in spoolfile results
1.0.9 - Dec 18 2018
===================
Features:
* Add host_down_disable_service_checks config option
* Add retained_scheduling_randomize_window setting
Changed:
* No on-demand host checks when service is in hard critical
* Log successful save of retention data
* Init: Increase time till SIGKILL is sent
Bugfixes:
* Make naemon-core depend on libnaemon
* Add conflicts/replaces tags for naemon-tools
* parse_check: Don't escape already escaped newlines
* Reload: Fix defuct for debian/ubuntu packaging (#150)
* Retain next_check schedule on restart (#156, 224)
* el6: use correct logrotate script
* fix pending dependencies
* fix orphaned checks logic
* reset is_executing flag when processing active host check result (#154)
* set CHECK_OPTION_ORPHAN_CHECK flag if check is scheduled from the orphan event handler
* fix memory leak when overriding checks
* fix query handler not returning command response
* Fix heap corruption when callback dereigsters itself
1.0.8 - Jul 16 2018
===================
Features:
* source defaults file if exists (#241)
Changed:
* _nothing_
Bugfixes:
* Fix naemon-tools conflict (#242)
* Fix reload command on el6 (#239)
1.0.7 - Jun 01 2018
===================
Features:
* Allow circular dependencies in Naemons host graph (experimental)
Changed:
* Do not verify config when starting daemon
* first_notification_delay starts on last hard change instead of last ok
Bugfixes:
* Fix various memory leaks (#200, #189)
* Fix newline escaping for check results (#153)
* Fix segfault when there is no eventbroker
* Fix segfault on invalid host_notification_commands (#213)
* Fix external command CHANGE_SVC_MODATTR (#174)
* Fix compilation with GCC 7 & 8 (#184, #228, #229)
* Fix notification is sent even if a service is in a schedule flexible downtime
* Fix triggered scheduled downtime is removed
* Fix downtime comment ids increment on reload
* Output an error exit code if daemonization fails instead OK
* Restart Naemon on SIGHUP instead of killing (#192)
* Fix Naemon killing wrong processes if PID wrap-around is too short (#211)
* Reload: fix defunct processes after reload (#150)
* Fix quoting in systemd startpre command (#204)
* Make systemd startup cleaner
* Fix logrotate on EL7
* Do not use errno set by function calls in a library
* Documentation fix for Sticky Acknowledgments
* Make nm_g_log_handler_id extern. Fixes issue when including logging.h in external modules
Removed:
* shadownaemon
* distributed-monitoring from the contrib/eventhandlers folder
Other:
* Decouple core, livestatus and thruk
* Add more timing points
* Undeprecate check_result_path
* Remove NICE from systemd
* Format service timeout print to use the same format as host timeouts (#168)
* Lower wproc log level to debug_info
* Do not log timeouts 3 times for every timeout
* Add log message that explains why a service changes directly hard down state when the host is down
* make buildopts.h depend on Makefile
* version: append date to daily git builds
1.0.6 - Jan 23 2017
===================
Bugfixes:
* Fix CVE-2016-9566 by removing drop_privileges. Note: naemon cannot be started as root anymore.
* Fix shell command parsing for some special cases when defining environment variables in a command
* Fix custom variables persistence accros restarts for single byte values
* Fix writing to already rotated logfile
* Fix memory leak in broker_notification_data
* Fix notification commands being reaped to early (#137)
1.0.5 - Jun 21 2016
===================
Bugfixes:
* Fix segfault when trying to log to null pointer (#140)
* Fix naemon exiting on USR1 signal (#138, #139)
1.0.4 - Jun 03 2016
===================
Features:
* Downtimes can now be scheduled to start before their time of their scheduling
* Naemon can now start without any configured objects
* Add new NEB callback API version with better support for communicating cancellation and override reasons
* Naemon now consistently logs when a notification is suppressed, along with
the reason why (very useful for troubleshooting notification issues!). This
feature is enabled by default, and can be overridden by setting
enable_notification_suppression_reason_logging=0 in naemon.cfg.
* Scheduling logic completely overhauled to not depend on wallclock time,
which makes it much more reliable (no more lost or orphaned events!)
* It is now possible to disable status data updates completely
(status_update_interval=0)
* GLib messages are now logged to the regular outputs.
Bugfixes:
* Fix segfault which would happen when a plugin's output is one or more
newlines only
* Shadownaemon: fix segfault if plugin output contains csv separator
* Fix an ancient bug where reconstructing a downtime from retention data
would result in double downtime alerts being emitted
* Fix another ancient race condition where a rapidly reload and starting
naemon would leave you with two instances running
* Stop logging if check_result_path (deprecated) is not available even
if it's set
* Strings in retention data are now properly escaped, fixing various bugs
* Various init script fixes
* Fix a race condition that would sometimes lead to complete deadlock
* Fix a bug where Naemon would allow duplicate objects to be created
* Replace in-tree (ha-ha) rbtree with GLib's GTree, to get rid of incorrect
node removal behaviour in the former
* Fix a race condition that would sometimes occur during a reload
* Fix a bug in signal handling code which would sometimes cause the command
file worker to become defunct
* Fix a bug where the specified retry_interval of a service or host
would not be properly respected, and the check_interval would be used instead
* Fix a potential crash (segfault) when freeing parent/child references
* Fix a bug where "stale" objects would only have one freshness check executed
* Fix improper handling of CHECK_OPTION_FORCE_EXECUTION, which would lead to
checks not being run, despite being forcibly scheduled
* Fix a bug where Naemon wouldn't properly initialize its lock file, but
start regardless
Other:
* Grafted Nagios git history onto Naemon's for easier code archeology
* Lots of code cleanup, typo fixes, new test cases, new assertions &
error handling, fixed memory leaks, logging and refactoring
* Removed an undocumented, experimental, untested "load control" feature
* Decoupled Thruk packages, we now use the official upstream Thruk packages
1.0.3 - Mar 29 2015
===================
* shadownaemon: fix request counter
1.0.2 - Mar 28 2015
=================
* shadownaemon: remove external commands from shadownaemon (#104)
* shadownaemon: propagate last_hard_* values (Michael Kraus)
1.0 - Feb 13 2015
=================
* Fix shadownaemon comment and downtime synchronization
* Fix spelling errors
0.9 - Jan 08 2015
=================
* livestatus module name change to livestatus.so, path changed to libdir/naemon/naemon-livestatus/livestatus.so
* External commands are now validated
* Query handler supports commands now
* Added shadownaemon tool to locally shadow a remote core via livestatus
* Naemon now starts after reboot on Debian
0.8 - Feb 13 2014
=================
* Based on nagios 4.0.2
* Rename a lot of things, replace build system, etc.
* The CGIs are gone - use Thruk instead.
* Remove the upstream version check - use your package manager instead.
* New NEB callback, NEBATTR_CHECK_ALERT, when a check generates an alert.
* Allow contactgroups without members but having contactgroup_members.
* No longer spam Naemon log when checks time out.
* All positive values for ACKNOWLEDGE_{HOST,CHECK} means TRUE.
* Check output parsing rewritten.
- Fixes crashes, bugs, and improves performance.
* Log rotation is done by logrotate instead of in-core log rotation.
* Fix misc crashes, speed up misc areas, and other bug fixes.