[icinga-checkins] icinga.org: New commits on branch feature/configconvert-2743

git at icinga.org git at icinga.org
Fri May 3 13:33:19 CEST 2013


URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=e9aafbfd3df514fc2696741ba0786e0016b2e087
Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Fri May 3 13:32:14 2013 +0200

    configconvert: code cleanup

URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=e4d366c62488cafc12539b179e050374f43052e3
Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Fri May 3 12:54:48 2013 +0200

    configconvert: drop config file prefix 'icinga2'
    
    just makes it hard to work with.
    
    refs #4036

URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=423ea9fd9c9a0a1d1cb8191c518683a88899ff6c
Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Fri May 3 11:33:35 2013 +0200

    configconvert: make host->service linked service a template object, referenced by the host
    
    this is not the best solution, as it it creates a service template for
    each host-service relation. if you have many host_name entries defined
    in your Icinga 1.x config for a service, this will create duplicates
    then. requires some more code refactoring, therefore leaving the issue
    open.
    
    refs #3933

URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=7cf6cd370d4b8c1a8e65ee0759786c80726aba8c
Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Fri May 3 10:46:23 2013 +0200

    configconvert: add notification_interval|period
    
    and refactor check|retry_interval vs normal|retry_check_interval
    
    refs #4008

URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=6a38bebb33c2cef168e5c90e2de84c523380f706
Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Thu May 2 23:23:29 2013 +0200

    configconvert: add getopts and pod2usage incl help
    
    fixes #4041

URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=0befb44ff7ca4d15155d8a67e85cbb67c0fe988f
Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Thu May 2 22:43:18 2013 +0200

    configconvert: fix import parser - timeperiods require regex (thx LConfImport)
    
    somehow, the Icinga2 import still fails with us holiday definitions. bug
    that's not yet determined whose bug that is.
    
    refs #4039
    refs #4013

URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=c4e7b89b35657835caec0ab0cccf8814789deb25
Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Thu May 2 22:21:29 2013 +0200

    configconvert: update requirements, perl deps
    
    refs #2743

URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=7156bff29396945f4799db4a49043098935908a1
Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Thu May 2 22:13:11 2013 +0200

    configconvert: fix timeperiod ranges, add template support for ITL inherits
    
    refs #4037
    refs #4013

URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=283d9feb8bc068eda2818253543ad61db32b6cbc
Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Thu May 2 21:31:28 2013 +0200

    configconvert: add ITL templates automatically (for services, notifications)
    
    this currently only makes sense for services and notifications.
    
    refs #4037

URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=e2ba9734be1efa58afda9c968405cd4cbebd14b0
Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Thu May 2 21:02:59 2013 +0200

    configconvert: add README

URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=01239751429a60b78b86b9e228cfacee6dbc7814
Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Thu May 2 20:55:35 2013 +0200

    configconvert: s/usergroups/groups/ for User config dump

URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=4916951c029487a747f0988ae06c4c729824dec6
Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Thu May 2 20:45:02 2013 +0200

    configconvert: add small main config file for standalone tests
    
    refs #2743

URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=6888c7c7c955b00881f8532017cfceeb3418da1f
Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Thu May 2 20:36:44 2013 +0200

    configconvert: fix service description handling, it's now an inner conversion value
    
    previously, i've just re-used 'service_description' which isn't a valid
    2.x attribute either. the lookup of service_description attribute in 1.x
    templates works already, but populated __I2CONVERT_SERVICEDESCRIPTION
    instead. in favor of having a generated value for all our objects, we'll
    use that one, also for dumping the configuration.
    
    even further, this is also changed for the service->hostgroup<-hosts
    conversion then.
    
    this also avoids writing empty service names into host->service objects.
    
    fixes #4019

URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=dcfad73399456afc451a4885e05ab6cb5af7e1ea
Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Thu May 2 20:10:24 2013 +0200

    configconvert: write config files, refactor how objects are exported
    
    structure is currently hardcoded, but may be changed to getopts later
    on. all files are overridden into conf/ (testing only right on).
    
    refactored export code, removed everything from Convert.pm, and export
    is now called from the script directly, wrapped all dump loops and added
    more function layers in betweed. open/close file handles take care of
    everything, next to a header on top of the files for getting to know
    their origin better (our hard work, ey?).
    
    refs #4036

URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=dd7fe54d4823422f6609f6ad136a99f07903642b
Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Thu May 2 18:54:18 2013 +0200

    configconvert: final stage, rework notification type handling, fix naming amd template output
    
    the config dump must take care of which notification type is dumped,
    otherwise there would be yet another look required. Instead we are just
    passing a reference from users to hosts/services with all prepared
    notification attributes, and check them lazy on dump then.
    
    further fixe on the notification names - they are not unique by their
    command (now used on host/service scope, not user/contact) so we'll add
    some magic number as suffix.
    
    fixed template name dumping due to changed conversion vars too.
    
    refs #4008

URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=1388c69157aa9550cddd55dea75d07295b1e9bd1
Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Thu May 2 18:15:17 2013 +0200

    configconvert: WIP notifications, how service/hosts relate to users and notifications
    
    there may be more than one notification for the user, and we already had
    the type in place. currently, that type is not taken into account (bug
    to fix).
    
    the rest with service -> user -> notification linking works in the first
    implementation.
    
    refs #4008

URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=bcf8a4b96762896e6a75e5796c68cd2143a8d648
Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Thu May 2 14:32:04 2013 +0200

    configconvert: WIP notification conversion
    
    - refactored notification_commands parsing and storage
    - do not add duplicated notification_command names to the 2x
      notification object hive
    - create notifications based on the notification command linked from
      users
    - move host->service link magic to the end again
    
    refs #4008

URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=665a5a08ec28e9f737835cadbe6b00b470007065
Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Tue Apr 30 19:48:17 2013 +0200

    configconvert: refactor how services without host_name are handled
    
    this is mainly the cause when using hostgroup relations, or other object
    tricks. we still need the single loop run to convert all 2.x object
    attributes in one run, and deal with the missing attributes later on.

URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=22a029bf35f9727c86eedac84c2d1e2e9a6e0dd4
Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Tue Apr 30 19:28:26 2013 +0200

    configconversion: explicitely check __I2CONVERT_USES_TEMPLATE == 1 when dumping service templates
    
    refs #4020

URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=9f8c9ff143e58b52402857f16ff8ba1cf459e7fa
Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Tue Apr 30 19:16:15 2013 +0200

    configconvert: code cleanup

URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=5329abd6e1dac707a627de829d5ff8cac8afdc74
Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Tue Apr 30 18:48:17 2013 +0200

    configconvert: only dump macros if there are key-val pairs

URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=8403e04421167ccc10b615422868b3c12a89f3e0
Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Tue Apr 30 18:44:41 2013 +0200

    configconversion: remove debug output

URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=53d1ce835ba400c349cf9dfd4f0cc07ec81f5f55
Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Tue Apr 30 18:31:28 2013 +0200

    configconvert: refactor service-hg-hosts for one hosthg template and multiple services
    
    we need to first loop over all services, getting the key ids, collecting
    them for each hostgroup_name (this is the unique identifier, because
    this is our hosthg template later on).
    
    then we loop over the collected unique hostgroups and build the 2.x
    template logic. the difference here is now, that the code is refactored,
    and loops over the service keys (getting their objects) only once,
    pushing their templates plus a relation to a single (1) hosthg-template.
    
    there's still some space for enhancements - the service template names
    as well as hosthg template names as well as service object names are
    generated with some hardcoded strings/numbers.
    
    refs #2743
    refs #4016

URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=a7d9bb1d9041c37cdf5679354160ccad34abf744
Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Tue Apr 30 17:28:25 2013 +0200

    configconvert: add service->hostgroup<-hostmembers conversion to template support
    
    WIP: there's multiple service->hostgroup relations - duplicated hosthg
    templates. must be fixed.
    
    refs #2743
    refs #4016

URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=779a69d4009377d3a4ce0969ca3e8444f438b490
Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Tue Apr 30 14:22:53 2013 +0200

    configconvert: support 'name' for groups' if *group_name is not set
    
    this is a fallback for broken configs only, and since i got some, added
    a small fix.
    
    refs #2743

URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=70f50ecb35307dbf58dabcfe0cf4f53c49b4a45c
Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Tue Apr 30 14:04:49 2013 +0200

    configconvert: dump modular timperiod attr and values
    
    we need to ignore all other attributes which are to be cleaned sooner,
    just for safety.
    
    minor flaw: the keys are not sorted by weekdays now, but dumped like the
    hash provides them.
    
    fixes #4013

URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=c6a753a80e21de2112580f4eb0ac3591e06a4202
Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Mon Apr 29 20:46:38 2013 +0200

    configconvert: fix multiple templates usage, template object lookup error
    
    multiple host/service templates seperated by commas will cause some
    irritation, therefore this is treated as array internally, like group
    members. for the config export and "inherits", this is easy to fix. for
    the actual host_name lookup for service objects, this unveiled another
    bug when looping through all available templates - they are unique by
    'name' and not by hostname/servicedesc, and require their very own
    getter - obj_get_tmpl_obj_by_tmpl_name() - which makes sure to return
    the object which is then looked into recursively if there's a host_name
    provided.
    
    possible bug for now - multiple service templates used and the host_name is
    defined in one of them. but that's not the usual case, and won't be
    supported for now.
    
    refs #2743
    fixes #3932

URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=69dfca7446cb2d3cad398e6ea885b37d89b71a87
Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Mon Apr 29 18:49:25 2013 +0200

    configconvert: properly escape strings with double quotes
    
    * command_line and command_args
    * notification commands
    * action_url, notes_url
    * notes
    * icon_image, icon_image_alt
    
    fixes #3931

URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=fa9b3078167b961d961d957a6477160e55714e26
Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Mon Apr 29 18:32:54 2013 +0200

    configconvert: fix leftover from rename

URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=4a8921cace31c099f474b7dbddb5bc04757f50e7
Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Mon Apr 29 18:24:02 2013 +0200

    configconvert: use special prefix for internal attributes
    
    __I2CONVERT_ should do the trick, not to interfere with existing custom
    variables.

URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=574d7abd3cc88021125ba86dce46ac7cc2958d55
Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Mon Apr 29 16:49:56 2013 +0200

    s/DumpIcinga2Cfg/ExportIcinga2Cfg/g
    
    just for Import/Export clarification.

URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=26385f8c324e60ab67fb005f4599dc618c39ecd9
Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Fri Apr 5 17:52:49 2013 +0200

    ConfigConvert: fix undocumented contact templates conversion
    
    refs #2743

URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=850d022c771ae21ee10b7dcddb0f6f9eca6bdc39
Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Fri Apr 5 17:30:20 2013 +0200

    ConfigConvert: *interval, max_check_attempts dumped as numbers
    
    see
    https://git.icinga.org/?p=icinga2.git;a=blob_plain;f=lib/icinga/icinga-type.conf;hb=HEAD
    
    refs #2743

URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=a2b16a1abfab4d7d821700a0e37807bf8f357160
Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Fri Apr 5 17:20:56 2013 +0200

    ConfigConvert: refactor host-svc links, add full service/usergroup relinking
    
    due to the relinking afterwards we actually modify the service objects
    already prepared for 2x. since the *group magic depends on the
    host/services/users already prepared, we get a perpetuum mobile here
    with the host loop and resolving service relations.
    
    in order to safely fix the issue, there's a seperate host-service link
    loop after resolving all the other needed objects, which may cost a
    little bit more performance, but is safe and standalone, getting all
    previous modifications, migrations and also hacks.
    
    next to the refactored flow, the issue with resolving the correct
    servicegroups and stashing them into an array is solved, as well as
    converting the existing contactgroups to usergroups, as well as
    re-linking existing contactgroup->members to their new home,
    user->usergroups.
    
    note: when parsing the servicegroup members into an array, it must not
    be sorted afterwards, because we will shift 2 objects (host, service) in
    order to identify the correct service object for adding the servicegroup
    item.
    
    some code reorganisation too, plus a minor comma fix for the host
    address macro.
    
    the used 1x configuration will be addressed in 2743.cfg on
    icinga-core.git, with all future additions.
    
    refs #2743

URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=7f585f8292e0fc9e6c11637f22c813752c1ce46b
Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Thu Apr 4 23:16:38 2013 +0200

    ConvertConfig: disable debug output, some reformatting of dump

URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=fbd471c600077a8afb11590877037871038c72cd
Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Thu Apr 4 23:06:03 2013 +0200

    ConfigConvert: refactor multiple host_name's on service object detection
    
    this is ugly. a service object may contain 'host_name' with
    'host1,host2,host3' and so on. treating this as string won't allow us to
    look into the template tree for valid host attributes, so we need to
    rewrite the getter function, allowing some special treatment on
    host_name arrays.
    
    for the service object preparation this means: while in the service
    loop, we need to loop again over all hosts, then dclone the hashref
    object for the service, and add the unique host_name attribute again.
    
    we might require some loop unrolling later, but for now this works as
    expected.
    
    refs #2743

URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=fd2a1b1f54a822e0dd205b7708bef24f3928a320
Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Thu Apr 4 22:11:10 2013 +0200

    ConfigConvert: basic servicegroup parsing method

URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=2aa1fabd487d312555d53c9ceed4ee799e61f31c
Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Thu Apr 4 21:33:54 2013 +0200

    ConfigConvert: fix service linking not unique, add hostgroup->members re-link to host->hostgroups
    
    while working on the missing servicegroups and their facepalm members
    syntax (host1,svc1,host2,svc2 - awesome to parse), i figured that the
    whole detection of services by their attribute 'service_description' is
    not uniquely implemented. now the getter functions are duplicated, and
    not modular anymore, for the sake of having a service identified by its
    host_name + service_description. since that lookup is recursive, we must
    pass the host_name from the very beginning - otherwise we could
    accidently overwrite that with a template entry.
    
    the hostgroup re-linking works, also thanks to the fact that the inner
    object structure is just an array in the hashref, which allows smart
    push.
    
    contact/user groups are tricky again due to the different naming.
    
    further todo: sort all macros and hostservice links. right now this
    looks like chaos.
    
    refs #2743

URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=52b1dab60f5621169e9b0bf94efff9e2c0e9c293
Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Thu Apr 4 20:33:29 2013 +0200

    ConfigConvert: add more host/service attributes, groups
    
    *_interval are automatically mapped, while the *groups attribute it
    converted into an array in order to easily stash more groups on it.
    
    still a todo - loop over existing groups and re-link their members into
    the respective objects, as 2.x only supports that location.
    
    fix for the host->service relation - use the already processed service
    2x hashref in order to do some magic with host->{'SERVICE'} = service
    
    all 2x attributes are now encapsulated with "", to stay safe.
    todo - more generic config 2x dump.
    
    furthermore, add some more code comments for the respective sections.
    
    refs #2743

URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=40e2a7551315844f330ab811ba3719b01c7329e0
Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Wed Apr 3 21:45:06 2013 +0200

    ConfigConvert: fix 4 little big thinkos on import/convert/dump
    
    1) do not skip lines containing ;.* - there may actually be a comment on
    attr->val line. rather clean the line safely, and let the magic happen.
    
    2) the type counter was implemented in order to have unique object ids
    by type, since 1x config does not provide us with such. problem - the
    function had a local var, saving the counter for each file, overwriting
    the hash attributes later on, starting again with 0. nasty bug, hard to
    figure out. fixed by feeding the type_cnt into the cfg_obj hive for now.
    revamped the state machine logic as well, like so
    
    I: define TYPE { 	--> __TYPE = TYPE
    II: attr val		--> {type}->{type_cnt->cnt}->{attr} = val
    III: }			--> type_cnt->cnt++
    IV: <empty/comment>
    
    3) also skip service templates (__IS_TEMPLATE) sooner, and do not try to
    calculate some host_name/service_description magic out of them - they
    just can't go down one level to the host, but only up with 'use'.
    
    4) host and service templates on 2x config dump must check if
    __USES_TEMPLATE is actually set to 1, checking for defined is not
    enough.
    
    whatthecommit.com:
    
    A long time ago, in a galaxy far far away...
    
    refs #2743

URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=60bb76c0b088a0504ffb4ed9e36812387d798ab5
Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Wed Apr 3 19:08:00 2013 +0200

    ConvertConfig: add basic support for users, timeperiods, *groups
    
    as well as display_name as attribute to print something.
    
    contact => user mapping is added as well, manipulating the __TYPE var
    too. furthermore display_name on the host will be overwritten by the
    alias, if set.
    
    the groups don't dump much, only the display_name if set. their dump
    function is implemented generic, based on the __TYPE

URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=5f64d68f4de934afad35854f774d52abb120627c
Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Wed Apr 3 17:01:11 2013 +0200

    ConfigConvert: refactor host_name/service_description link resolving
    
    previous algorithm was buggy, as well get_host_name always looked up
    host template objects, even if the template object was a service. this
    is now fixed by re-using the __TYPE attribute (set on Icinga 1x config
    read).
    
    the algorithm is now like
    
                           |---------------------------------|
                          \/                                 |
                       svc_desc?                             |
                    0 /        \ 1                           |
                  use tmpl?    END -------> [svc_desc]       |
                 0 /   \ 1                                   |
    [undef] <- BROKEN  getobjbyattr(['use'], __TYPE, svcdesc |
                        |                                    |
                     getsvcdesc(obj)                         |
                        |                                    |
                        --------------------------------------
    
    refs #2743

URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=15aaff4a739044574c520c8ff13a5495bf43e192
Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Wed Apr 3 15:06:06 2013 +0200

    ConfigConvert: improved template handling, host/service dump 2x
    
    refactored code again, removed nested loop bottlenecks. still, the
    resolval of host_name/service_description requires more love.
    
    templates are now correctly detected, linked, and printed in 2x syntax.
    service templates are _not_ linked against host definitions in 2x as
    this is not possible.
    
    commands for hosts do not exist in 2x, therefore the command_name of an
    1x host will be taken and guessed against its related services. if
    there's a match, the service will be linked as 2x 'hostcheck'.
    
    *_interval still needs proper handling, as the default interval is 1m,
    but 2x requires the identifier.

URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=c423be49bbddd939df8710a93d085fe7599f89e8
Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Wed Apr 3 10:10:25 2013 +0200

    ConfigConvert: fix hash keys for convert/dump in perl 5.14

URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=1186f13010e5886a8e7a6ec81f4c905ab33bd67a
Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Tue Apr 2 18:54:41 2013 +0200

    ConfigConvert: split into modules, add objects.cache read, dump cmd line
    
    basically it works with
    
    - dumping a host with all services, using templates
    - check_command and all arguments/user macros translation
    - reading the objects.cache file location from icinga.cfg
    => this is reserved only for getting dedicated relations
    => we do not want to duplicate the work of xodtemplate.c in perl here
    - all important functions have been split up into their respective
      modules in order to support better re-usage (i.e. lconfexport)
    
    still missing important bits:
    
    - detect service->group<-host links and build templates
    - detect other ugly template methods
    - dump templates
    - the ugly deprecated normal|retry_check_interval mapping
    - timeperiod mapping
    - contact => user mapping
    - notifications rework (dedicated object)
    - dependencies, escalations (to be documented/implemented)
    - the infamous rest

URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=566c8f829db29b05a52033809fdd098dd3725997
Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Fri Mar 15 17:09:56 2013 +0100

    WIP configconversion: rewrite recursive lookup of linked host_name/service_description
    
    this is a mess. configs may just use "name" instead of "host_name" on
    type "host", same goes for service and service_descriptions. well, and
    if it's a template, "name" is populated too.
    
    the algorithm is not clean enough, and does not scale at all. there are
    bugs, and the hostgroup linking is not yet taken into account too.
    
    basics host -> service dumping of v2 config is implemented.
    
    refs #2743

URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=47caba63a1196a4a392c2a08f194ac38234c7acc
Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Thu Mar 14 17:22:45 2013 +0100

    WIP: try resolving the host->svc relation from templates and tricks
    
    not finished yet, there's heavy recursion required

URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=9f002a0557c61e46f0a63040f87dc44c7d5e20bc
Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Tue Mar 12 21:48:29 2013 +0100

    Config Conversion: command macros, templates
    
    refs #2743

URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=dbe41df2a3a4abd6eb97b1e023ead2dcb70dc6bf
Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Tue Mar 12 17:40:53 2013 +0100

    convertv1->v2 initial import
    
    refs #2743

URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=1d6e1c205f5abf4c686b1885217179f197479ab2
Author: Gunnar Beutner <gunnar.beutner at netways.de>
Date:   Fri May 3 12:44:27 2013 +0200

    Fix uninitialized variables.

URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=1e9dcb35b49215dfc1e33841acafb6266a785cca
Author: Gunnar Beutner <gunnar.beutner at netways.de>
Date:   Fri May 3 12:31:11 2013 +0200

    Fix parsing <MONTH> <DAY> time defs (e.g. "december 25").
    
    Fixes #4040

URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=3457e2d476734616233a5be56fe173b1e60b97bc
Author: Gunnar Beutner <gunnar.beutner at netways.de>
Date:   Fri May 3 12:30:57 2013 +0200

    Fix DST bug in LegacyTimePeriod::ParseTimeSpec().

URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=10dff1d8c1b4273f7117b722c7b315e4b38a10c7
Author: Gunnar Beutner <gunnar.beutner at netways.de>
Date:   Fri May 3 11:26:18 2013 +0200

    Removed dependency on boost/uuid.

URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=cf18ac6debf4941a38aa9c351835590e9edd0687
Author: Gunnar Beutner <gunnar.beutner at netways.de>
Date:   Fri May 3 11:23:42 2013 +0200

    Add missing comma.

URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=d21d6d7111839dccd67d3b9fc99e737ba5c7d7f5
Author: Gunnar Beutner <gunnar.beutner at netways.de>
Date:   Fri May 3 11:10:32 2013 +0200

    Tutorial: Add section about time periods.

URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=288a87762538500a2f2257efbd3d42a95ce75053
Author: Gunnar Beutner <gunnar.beutner at netways.de>
Date:   Fri May 3 10:48:28 2013 +0200

    Implement new validation type: name(Type)





More information about the icinga-checkins mailing list