1.6.0 - Nov 16 2026
===================
Breaking changes:
* increased CURRENT_NEB_API_VERSION, this means you have to recompile your NEB modules.
  check_result gained an object_ptr member; a module that submits check results may
  set it to the host/service the result belongs to, or leave it NULL to have naemon
  look the object up by name as before.
* The command file worker no longer runs as a separate process. The external
  command file is now polled directly by the main process event loop, so there
  is only one Naemon daemon process instead of an extra command worker.

Features:
* new NEBTYPE_HOSTSTATUS_SCHEDULE / NEBTYPE_SERVICESTATUS_SCHEDULE, sent when only
  the next check time changed, so modules can tell them apart from real status
  updates (#162)
* the 'timeout' field of check result spool files is now read, falling back to the
  object's configured timeout when the spool entry does not carry a valid value (#539)
* performance improvements for the main event loop.
* status.dat, retention.dat and objects.cache are written faster.

Changed:
* Naemon refuses to start or reload when the retention file exists but cannot be read
  completely.
* allow_empty_hostgroup_assignment had a different default in code and sample
  config and could not be set to its code default of 2. The code and the sample
  config now agree on 2 (allow empty hostgroups, show a warning), 2 can be set
  in the config, and invalid values are rejected (#556)
* a warning is now logged when trailing characters in a boolean object directive
  are ignored; the leading 0 or 1 remains authoritative for compatibility

Bugfixes:
* nsock_unix() rejects socket paths that do not fit in sockaddr_un.sun_path instead
  of overrunning the caller's stack; a query_socket path of 108 characters or more
  crashed naemon during startup
* reading a file that shrank or failed while being read crashed Naemon with a bus
  error, for example a check result spool file rewritten by another program
* expired check result files were not removed from check_result_path
* the perfdata file was opened even when no perfdata_file was configured, and the
  "could not be opened" warning was logged when the file opened successfully
* a retained next_check scheduled at startup could land a second late because
  the delay and the new check time used different clocks; acknowledgement
  expirations that fired up to a millisecond early were dropped instead of
  retried and never removed the acknowledgement
* check_result->timeout was not initialized, so check results could propagate
  an uninitialized value to the broker (#539)

1.5.2 - May 18 2026
===================
Bugfixes:
* Discarded-qualifiers errors in string searching functions (#531)

1.5.1 - Mar 19 2026
===================
Breaking changes:
* Due to object structure changes, it is recommended to recompile any NEB modules

Features:
* new attribute 'check_timeout' on `host` and `service` structs, overrides the global host / service check timeouts. (#525)

Bugfixes:
* fix memory corruption in `mkstr` caused by integer overflow (#527)

1.5.0 - Feb 03 2026
===================
Breaking changes:
* Due to object structure changes, it is recommended to recompile any NEB modules
  when upgrading to 1.5.0

Features:
* use timeval for last_update - this affects the `host` and `service` structs and could be a breaking change for NEB module developers. (#516)
* improve eventloop runtime performance (#519)

Changed:
* During startup, ensure downtimes are loaded before updating status (#502)
* rpm spec: add provides for user / group (#520)
* rpm: fix lto-no-text-in-archive (#515)
* rpm: do not install INSTALL file (#515)
* debian: remove obsolete dependency

Bugfixes:
* fix memory leak when using service parents (514)
* fix pending service dependencies (#509)
* skip over dependencies when the current time is not within the time period (#511)
* fix a theoretical root privilege escalation (CVE-2016-9566) as naemon does not start as root user by default (#507)


1.4.4 - Jun 03 2025
===================
Features:
* trim spaces from list of templates (#500)
* add support for configurable relative configuration paths (#491)
* postpone check until check period starts (#490)

Changed:
* make ascii control characters in object names illegal (#499)
* improve config parser performance (#488)
* launch command worker earlier (#470)
* remove backslashes before semicolons (#495)
* trim whitespace at end of plugin output (#495)

Bugfixes:
* fix handling performance data (#501)


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.
