# LConf Changelog

NOTE: Please read doc/upgrading.md for detailed information on changes and
upgrade information!

## 1.5.1 - 13/05/2015

### FIXES

* Bug #2904: additional SERVICEgroups are eported with a + and missing whitespace

## 1.5.0 - 15/04/2015

### CHANGES

* Schema: Additional object attributes (see below) requiring update
* Import: Skip already existing objects, set address to host name if not defined

### FEATURES

* Feature #1432: add inherits_parent attribute for host/service dependency
* Feature #1480: add first_notification_delay as schema attribute to host/service
* Feature #1886: contact attributes address1-6 missing
* Feature #2082: Add ldap_person and allow auxiliary objectClass in ldap schema
* Feature #2429: Add the attribute "address6" for ipv6 dual stack to the host-settings
* Feature #2495: Add attribute contactgroup_members and servicegroup_members
* Feature #2690: Complete LDAP schema
* Feature #2889: LConfImport: Skip already existing objects and continue import
* Feature #2891: LConfImport: Set host address to name if not existing

### FIXES

* Bug #2192: LConfImport.pl doesn't ignore comments in objects.cache
* Bug #2240: hostgroup alias/display_name is overridden with cn
* Bug #2761: Escalations are no longer exported
* Bug #2857: LConf 1.5.0-rc1: additional hostgroups are exported with a "+"
* Bug #2859: Default User filter for Icinga2 is too restrictive
* Bug #2887: str2arr_by_delim_without_excludes() must not return empty array values
* Bug #2899: customvars with value 0 are not exported


## 1.5.0 RC1 - 24/02/2015

### CHANGES

* #424: Add icon_image and icon_image_alt to ldap schema
* #2680: Rewritten TreeBuilder export

### FEATURES

* Feature #424: Add attributes icon_image, statusmap_image to ldap schema
* Feature #2639: LConfDeployIcinga2.sh: add zones.d support
* Feature #2843: Run LConfExport with '-v' in LConfDeploy scripts

### FIXES

* Bug #2680: dclone wastes too much time / TreeBuilder algorithm is exponential

## 1.5.0 Beta2 - 10/02/2015

### FIXES

* Bug #2823: Type of arg 1 to keys must be hash


## 1.5.0 Beta1 - 19/12/2014

### CHANGES

* #2680: Rewritten TreeBuilder export

## 1.4.4 - 24/02/2015

### CHANGES

* Feature #2845: Icinga2: Use the default NotificationCommand if the contact does not provide {host,service}_notification_commands

### FIXES

* Bug #2819: Icinga 2: Flap Detection Enable not exported
* Bug #2829: Notifications are not exported when contacts use 'contactgroups' attribute
* Bug #2831: Icinga2: Notifications are not generated when multiple contactgroups are assigned to Host/Service objects
* Bug #2833: Icinga2: Notifications are not exported when the contactgroup is prefixed with an "+"
* Bug #2835: Icinga2: lconfServiceCheckInterval is not exported
* Bug #2837: Icinga2: lconfServiceCheckRetryInterval is not exported
* Bug #2847: icinga2: prefer hostdisplayname over hostalias
* Bug #2849: icinga2: custom notification commands (mail-service-notification) which do not exist in ldap do not work
* Feature #2845: Icinga2: Use the default NotificationCommand if the contact does not provide {host,service}_notification_commands


## 1.4.3 - 19/12/2014

### CHANGES

* Bug #2777: Add support for Icinga2 2.2
* Bug #2678: Hostgroupmembers property of hostgroup objects are not exported
* Bug #2664: icinga2: multiple service contacts generate duplicate notification objects
* Feature #2773: Add doc/export.md explaining the 2.x migration differences in detail
* Feature #2783: icinga2: export should trim whitespaces in interval values
* Feature #2789: icinga 2: Add default enable_* attribute to generic-* templates in default-templates.conf

### FIXES

* Bug #2499: Export ignores ou containing !
* Bug #2663: icinga2: Wrong State filter for Hosts generated
* Bug #2664: icinga2: multiple service contacts generate duplicate notification objects
* Bug #2668: Icinga 2: Notifications are not generated if contact notification command is missing
* Bug #2670: icinga2: Additive groups without parent cause empty group array entry
* Bug #2678: Hostgroupmembers property of hostgroup objects are not exported
* Bug #2702: icinga2: enable_active_checks isn't exported
* Bug #2708: Icinga2: processperfdata is not exported
* Bug #2748: Icinga2: Contact members of contactgroups are not exported
* Bug #2750: Icinga2: Host & ServiceCheckPeriod, Host & ServiceNotificationPeriod, Host & ServiceNotificationInterval don't get exported
* Bug #2759: Icinga2: lconfhostcontacts notification filter wrong
* Bug #2763: icinga2: "+Hostgroupname" without parent group attribute generates empty Hostgroup
* Bug #2765: Icinga2: lconfhostnotificationoptions do not work
* Bug #2769: icinga2: Add missing groups attribute for 1.x contacts
* Bug #2777: Add support for Icinga2 2.2
* Bug #2781: Icinga2: Missing host event handlers
* Bug #2787: icinga2: lconfHostCheckMaxCheckAttempts isn't exported
* Bug #2791: icinga2: Change default export location to /etc/icinga2/lconf
* Bug #2795: icinga2: lconfHostNotificationsEnabled/lconfServiceNotificationsEnabled are not exported
* Bug #2797: icinga2: lconfServiceDisplayName isn't exported
* Feature #2767: icinga2: lconfserviceeventhandler using command arguments
* Feature #2773: Add doc/export.md explaining the 2.x migration differences in detail
* Feature #2779: Add docs for el7 installation
* Feature #2783: icinga2: export should trim whitespaces in interval values
* Feature #2789: icinga 2: Add default enable_* attribute to generic-* templates in default-templates.conf

## 1.4.2 - 18/06/2014

### ENHANCEMENTS
* Update Icinga 2 export for 2.0.0 #2557

### FIXES
* SlaveExportRules: remove host dependencies from slave export too (Oliver Kaiser) #2635
* Fix missing '.' in regexp for clients in cleanup #2302
* Icinga 2: fix wrong notification types #2557
* Remove deprecated retry_check_interval, normal_check_interval from default-templates.cfg #2653
* Fix Export ignores activation of servicechecks on slave #2575
* Icinga 2: Fix wrong dependency state filter #2557
* Icinga 2: Fix action_url, notes_url, notes attribute export #2557
* Icinga 2: Fix notification period #2557
* Icinga 2: Convert commandline runtime macros automatically #2557
* Icinga 2: Fix error on non-existing contact notification commands #2557
* Re-implement legacy $USER1$ detection support in Icinga 2 *Commands #2557
* Fix Icinga 2 CheckCommand definition. Requires PluginDir + "/check..." by convention #2557
* Silence uninitialized custom var warning #2557
* Suppress debug log if variable is empty #2557
* Fix unique event command name in Icinga 2 Export #2557
* LConfDeployIcinga2.sh: Fix itl/plugin includes #2557
* Icinga 2 Export: Fix missing host notifications/escalations #2557


## 1.4.1 - 13/03/2014

Special thanks to Jörg Monpetain (VHV) for bug hunting and tests!

### FIXES
* Icinga 2: Changed host/service dependency export for Icinga 2 0.0.8 export #2374 #2503
* Icinga 2: Fix checkcommand vs servicecheckcommand #2392
* Icinga 2: Fix missing host event_command attribute #2394
* Icinga 2: Fix custom macro export #2400 #2416 #2418 #2455
* Icinga 2: Fix regexp for {host,service}groups (Thomas Gebhardt) #2443
* Icinga 2: Fix missing host checks #2402
* Icinga 2: Sanitize trailing whitespaces on timeperiod keys #2406
* Icinga 2: Fix CV prefix for _HOST/_SERVICE macros #2414
* Icinga 2: Fix parents not exported as host dependencies #2441
* Icinga 2: Fix reload command in LConfDeployIcinga2.sh #2384
* Fix host dependency export (Alexander Leisentritt) #2370
* Fix link to a service adds all other services on the same level #2453
* Fix spec file #2382 #2386


## 1.4.0 - 04/12/2013

### ENHANCEMENTS
* add Icinga 2 export format #2364
* add config option for ldap port #1753
* allow multiple customvars in the service description for replacement #2224
* re-add services below hostgroup linked to hosts #2136
* add --with-treerewrite-method=MainOverLink|None to configure #2286
* add debug verbosity level to LConfExport #2288
* add debug out if service is disabled on export #2366

### FIXES
* fix customvar in service name gets replaced, but causes duplicates #2148
* fix attributes resolved in links get pulled into main tree (MainOverLink) #2268
* fix service data returning from a link walk is messed up #2270
* fix objects are not exported if multiple objectclasses are defined #2276

### SUPPORT
* add TreeBuilder processing level to debug output #2290


## 1.3.0 - 27/05/2013

### ENHANCEMENTS
* add TreeRewrite (None or MainOverLink)
* add LConfSlaveExportRules
* LDAP Paging support #796
* add display_name in schema #1115
* add notes in schema #1117
* add new host- and service-linker #1245
* LCONF->EXPORT->MODIFY->SERVICE/HOST inheritance #1249
* Add contactgroup_members attribute to contactgroup objectclass #1291
* More and better Debugging Output during import / export #1404
* add Service Flag is_volatile #1448
* Diff-Export #1765
* make path to custom/{pre,mid,post} scripts configurable #1788
* add spec file #1790
* make path to default-templates.cfg configurable #1802
* rename contrib/lconf_deploy.sh to contrib/LConfDeploy.sh; add make install option #1828
* add service parameter flap_threshold #1856
* SlaveSync: allow icinga perfdata* dirs and command pipe to be set through configure #1864
* distributed passive master: enable master config change on export (cfg option), introduce mid-master.pl #1866
* LConfSlaveExportRules: do not export parents/dependencies (opt-in cfg option) #1872
* LConfExport: redesign export strategy in regard of external scripts (mid.pl etc) #1874
* Possibility to delete a lconf property #1914
* add startTLS support #1916
* add tools for converting old to new ldap config format #2028
* add a note about the template tree to docs #2072
* add initscript for LConfSlaveSync to contrib/ #2076
* create a doc section describing config options for 1.3.0 #2088
* LConfSlaveSync: add configure options for pidfile and debug log #2090
* add make-tarball script, and make create-tarball option #2092

### FIXES
* Inheritance of disable values #589
* dash in customvars #736
* LConfSlaveExport.pl and Template Directory #879
* docs: install on suse #1187
* Import a NagiosQL filled objects.cache doesnt work #1189
* docs: installation of schema file #1191
* make output #1241
* Error in lconf_deploy.sh #1243
* missing attributes when exporting escalations #1572
* LConfImport does not create directories #1685
* Escalations in Servicegroups are not exported #1761
* LConfImport.pl.in missing semicolon #1767
* LConfImport does not allow contacts without alias #1769
* use etc::config / lib::... only works with /usr/local/LConf prefix #1798
* add m4/version.m4 macro and remove hardcoded versions #1830
* replace bare install call in Makefile with AC_PROG_INSTALL and install-sh #1832
* LConfSlaveSync: checkresult spool dir directIO does not work #1868
* Hostgroup/servicegroup generation broken #1898
* Hashes like "description" are overwritten (change to additive inheritance) #1992
* LConfImport: fails on timeperiod exclude definition #2006
* create Changelog #2030

### CHANGES
* perl module Parallel::ForkManager (>= 0.7.6) is needed
* create doc/ and add README, move LICENSE there #1834
* move *.pl to $prefix/bin #1836
* contrib/lconf_deploy.sh is renamed to contrib/LConfDeploy.sh
* changed/new config.pm options, check doc/UPGRADING
* lconfcheckcommand is deprecated. use lconf{host,service}checkcommand instead.
* new configure options for easier packaging #1788 #1864 #2090
	** --with-export-script-dir
	** --with-temp-dir
	** --with-slavesync-local-dir
	** --with-slavesync-remote-dir
	** --with-slavesync-checkresult-spool-dir
	** --with-slavesync-extcmd-pipe-path
	** --with-slavesync-pid-file
	** --with-slavesync-log-dir


## 1.2.0 - 18/11/2011

### ENHANCEMENTS
* missing support for notification escalation #295
* LConfSlaveExport - check target dir #311
* Export LDAP functions to a perl lib #325
* Exclude for LConfSlaveExport.pl #330
* Import of Customvars #363
* Improve LConfImport.pl's CleanUp Mode #364
* Hostgroups in hostgroups #392
* service attribute "obsess_over_service" #396
* Exporting configuration to a satellite to a non standard SSH/SCP port #686
* LConf-Testing and Documentation #983

### FIXES
* Empty attributes will be ignored on Import Cleanup #174
* host link target search #331
* LConfImport.pl can not create objects with special characters #397
* Schema Import openldap 2.4.x #489
* hostgroups assign services from a host to all other hosts #570
* LCONF->EXPORT->CLUSTER and real host names #684
* Export leaves new hosts in PENDING state #766
* Check for mid.pl is path related #963

### CHANGES
* Schema definition change: nagiosCheckcommand -> nagiosHostCheckcommand and nagiosServiceCheckcommand #240

## 1.0.0 - 06/10/2010

### ENHANCEMENTS
* Possibility to make LConf Exports audit-/revision-proof #326
* renaming ldap attributes and objectclasses #328

### FIXES
* Wrong ldap objectclass names in base.ldif #415

## 0.9.0

### ENHANCEMENTS
* lock LConfExport.pl if already running #275
* Host Filer (for debug?) #202
* freshness_threshold #313
* can_submit_commands for contacts #314
* notifications_enabled #329

### FIXES
* check for writeable destination directory on export #307
* ServiceNotificationOptions not settable in StructuralObject #315
* Bug during export of timeperiods #327

## 0.8.0 - 15/03/2010

### ENHANCEMENTS
* Host / Service Dependencies #175
* LConf Installer #230
* config export for slave cluster #232
* Additive Inheritance of String Values #236

### FIXES
* Settings inheritance on Profiles are not working #167
* Can't import and export parents #168
* Export of hostgroups does not work #231
* comment function does not work any more #235

