synced from https://git.icinga.org/?p=icinga-core.git;a=summary