]> granicus.if.org Git - icinga2/commit
Add activation priorities for config object types 6270/head
authorJean Flach <jean-marcel.flach@icinga.com>
Thu, 26 Apr 2018 13:53:11 +0000 (15:53 +0200)
committerMichael Friedrich <michael.friedrich@icinga.com>
Fri, 4 May 2018 09:25:47 +0000 (11:25 +0200)
commitc54e042942f6149a02a4f86354cc415fb237dbb5
treeae58bb5e23e43c5e510f92c7ec12c965532137ee
parent69f339d2297a6166e1c557e1112cd6d3bf531126
Add activation priorities for config object types

This patch ensures that specific configuration types
are pre-activated and post-activated. In general,
logging is first, then common configuration objects
like host/service, downtimes, etc.
In the end, all features are activated after to ensure
that notifications are only sent once downtimes are applied.
A similar thing happens for starting with checks too early.
The ApiListener feature runs first to allow cluster connections
at first glance.

fixes #6057
fixes #6231
25 files changed:
lib/base/filelogger.ti
lib/base/sysloglogger.ti
lib/base/type.cpp
lib/base/type.hpp
lib/checker/checkercomponent.ti
lib/compat/checkresultreader.ti
lib/compat/compatlogger.ti
lib/compat/externalcommandlistener.ti
lib/compat/statusdatawriter.ti
lib/config/configitem.cpp
lib/db_ido_mysql/idomysqlconnection.ti
lib/db_ido_pgsql/idopgsqlconnection.ti
lib/livestatus/livestatuslistener.ti
lib/notification/notificationcomponent.ti
lib/perfdata/elasticsearchwriter.ti
lib/perfdata/gelfwriter.ti
lib/perfdata/graphitewriter.ti
lib/perfdata/influxdbwriter.ti
lib/perfdata/opentsdbwriter.ti
lib/perfdata/perfdatawriter.ti
lib/remote/apilistener.ti
tools/mkclass/class_lexer.ll
tools/mkclass/class_parser.yy
tools/mkclass/classcompiler.cpp
tools/mkclass/classcompiler.hpp