]> granicus.if.org Git - icinga2/log
icinga2
6 years agoMerge pull request #5964 from fedepires/fix/opentsdbwriter-host-tag-5963
Michael Friedrich [Sat, 20 Jan 2018 11:17:25 +0000 (12:17 +0100)]
Merge pull request #5964 from fedepires/fix/opentsdbwriter-host-tag-5963

OpenTSDB writer - Fix function for escaping host tag chars.

6 years agoMerge pull request #6017 from Icinga/fix/socketpair-windows
Gunnar Beutner [Fri, 19 Jan 2018 17:53:02 +0000 (18:53 +0100)]
Merge pull request #6017 from Icinga/fix/socketpair-windows

Remove build breaking include

6 years agoRemove build breaking include 6017/head
Jean Flach [Fri, 19 Jan 2018 14:44:52 +0000 (15:44 +0100)]
Remove build breaking include

This breaks the build for windows and does not seem to be required.

6 years agoMerge pull request #6015 from Icinga/fix/cmakelist-whitespace
Michael Friedrich [Fri, 19 Jan 2018 10:11:43 +0000 (11:11 +0100)]
Merge pull request #6015 from Icinga/fix/cmakelist-whitespace

Fix whitespaces in CMakeLists files

6 years agoFix whitespaces in CMakeLists files 6015/head
Jean Flach [Fri, 19 Jan 2018 08:18:52 +0000 (09:18 +0100)]
Fix whitespaces in CMakeLists files

Uses 2 space indentation as standard

6 years agoMerge pull request #6014 from Icinga/feature/docs-ido-tuning
Michael Friedrich [Thu, 18 Jan 2018 16:53:42 +0000 (17:53 +0100)]
Merge pull request #6014 from Icinga/feature/docs-ido-tuning

Docs: Add IDO DB tuning tips

6 years agoDocs: Add IDO DB tuning tips 6014/head
Michael Friedrich [Thu, 18 Jan 2018 16:50:39 +0000 (17:50 +0100)]
Docs: Add IDO DB tuning tips

fixes #5622

6 years agoMerge pull request #6010 from Icinga/feature/cluster-check-endpoints-long-output
Jean Flach [Thu, 18 Jan 2018 14:51:03 +0000 (15:51 +0100)]
Merge pull request #6010 from Icinga/feature/cluster-check-endpoints-long-output

Move the endpoint list into a new line for the 'cluster' check

6 years agoMove the endpoint list into a new line for the 'cluster' check 6010/head
Michael Friedrich [Thu, 18 Jan 2018 14:18:50 +0000 (15:18 +0100)]
Move the endpoint list into a new line for the 'cluster' check

If you have many satellites/clients, the list view in Icinga Web 2
will get overly long. Moving the list for connected/not connected
endpoints into a new line makes this check more beautiful.

fixes #5444

6 years agoMerge pull request #6009 from Icinga/fix/build-fix-gcc
Gunnar Beutner [Thu, 18 Jan 2018 14:29:50 +0000 (15:29 +0100)]
Merge pull request #6009 from Icinga/fix/build-fix-gcc

Build fix for ancient versions of GCC

6 years agoMerge pull request #6008 from Icinga/fix/cmake-3-0-compat
Jean Flach [Thu, 18 Jan 2018 14:26:10 +0000 (15:26 +0100)]
Merge pull request #6008 from Icinga/fix/cmake-3-0-compat

Fix compatibility with CMake < 3.1

6 years agoFix compatibility with CMake < 3.1 6008/head
Gunnar Beutner [Thu, 18 Jan 2018 12:50:38 +0000 (13:50 +0100)]
Fix compatibility with CMake < 3.1

6 years agoBuild fix for ancient versions of GCC 6009/head
Gunnar Beutner [Thu, 18 Jan 2018 13:45:47 +0000 (14:45 +0100)]
Build fix for ancient versions of GCC

6 years agoMerge pull request #6007 from Icinga/fix/include-6001
Gunnar Beutner [Thu, 18 Jan 2018 14:06:40 +0000 (15:06 +0100)]
Merge pull request #6007 from Icinga/fix/include-6001

Fix missing include

6 years agoMerge pull request #6006 from Icinga/fix/docs-nscp-local-include
Michael Friedrich [Thu, 18 Jan 2018 12:31:06 +0000 (13:31 +0100)]
Merge pull request #6006 from Icinga/fix/docs-nscp-local-include

Fix wrong nscp-local include in the docs

6 years agoFix wrong nscp-local include in the docs 6006/head
Michael Friedrich [Thu, 18 Jan 2018 12:25:23 +0000 (13:25 +0100)]
Fix wrong nscp-local include in the docs

6 years agoMerge pull request #6005 from Icinga/fix/mkunity-depends
Noah Hilverling [Thu, 18 Jan 2018 10:46:56 +0000 (11:46 +0100)]
Merge pull request #6005 from Icinga/fix/mkunity-depends

Fix incorrect dependencies for mkunity targets

6 years agoFix incorrect dependencies for mkunity targets 6005/head
Gunnar Beutner [Thu, 18 Jan 2018 10:32:06 +0000 (11:32 +0100)]
Fix incorrect dependencies for mkunity targets

6 years agoFix missing include 6007/head
Jean Flach [Thu, 18 Jan 2018 09:54:49 +0000 (10:54 +0100)]
Fix missing include

fixes #6001

6 years agoMerge pull request #5982 from dgoetz/fix/selinux-kill
Jean Flach [Thu, 18 Jan 2018 09:38:01 +0000 (10:38 +0100)]
Merge pull request #5982 from dgoetz/fix/selinux-kill

SELinux: Allows icinga2_t to send sigkill to all domains it transitions to

6 years agoMerge pull request #6000 from Icinga/fix/copying-newline
Noah Hilverling [Wed, 17 Jan 2018 14:47:00 +0000 (15:47 +0100)]
Merge pull request #6000 from Icinga/fix/copying-newline

Add newline to COPYING to fix Github license detection

6 years agoAdd newline to COPYING to fix Github license detection 6000/head
Noah Hilverling [Wed, 17 Jan 2018 14:25:27 +0000 (15:25 +0100)]
Add newline to COPYING to fix Github license detection

6 years agoMerge pull request #5999 from Icinga/fix/build-fix
Gunnar Beutner [Wed, 17 Jan 2018 14:31:57 +0000 (15:31 +0100)]
Merge pull request #5999 from Icinga/fix/build-fix

Build fix

6 years agoBuild fix 5999/head
Gunnar Beutner [Wed, 17 Jan 2018 14:08:44 +0000 (15:08 +0100)]
Build fix

6 years agoMerge pull request #5998 from Icinga/fix/obj-libs-gcc-ar
Gunnar Beutner [Wed, 17 Jan 2018 14:01:20 +0000 (15:01 +0100)]
Merge pull request #5998 from Icinga/fix/obj-libs-gcc-ar

Build all remaining libraries as object libraries

6 years agoBuild all remaining libraries as object libraries 5998/head
Gunnar Beutner [Wed, 17 Jan 2018 13:59:02 +0000 (14:59 +0100)]
Build all remaining libraries as object libraries

6 years agoMerge pull request #5997 from Icinga/fix/lto-ar
Gunnar Beutner [Wed, 17 Jan 2018 13:28:29 +0000 (14:28 +0100)]
Merge pull request #5997 from Icinga/fix/lto-ar

Use gcc-ar and gcc-ranlib when building with -flto

6 years agoUse gcc-ar and gcc-ranlib when building with -flto 5997/head
Gunnar Beutner [Wed, 17 Jan 2018 13:26:37 +0000 (14:26 +0100)]
Use gcc-ar and gcc-ranlib when building with -flto

6 years agoMerge pull request #5980 from Icinga/fix/db-ido-notification-filter
Gunnar Beutner [Wed, 17 Jan 2018 12:50:48 +0000 (13:50 +0100)]
Merge pull request #5980 from Icinga/fix/db-ido-notification-filter

Explicitly pass 1 or 0 for notification filters in DB IDO

6 years agoExplicitly pass 1 or 0 for notification filters in DB IDO 5980/head
Michael Friedrich [Mon, 15 Jan 2018 13:35:30 +0000 (14:35 +0100)]
Explicitly pass 1 or 0 for notification filters in DB IDO

6 years agoMerge branch 'support/2.8'
Gunnar Beutner [Wed, 17 Jan 2018 10:24:34 +0000 (11:24 +0100)]
Merge branch 'support/2.8'

6 years agoRelease version 2.8.1
Gunnar Beutner [Wed, 17 Jan 2018 10:20:38 +0000 (11:20 +0100)]
Release version 2.8.1

6 years agoRelease version 2.8.1 v2.8.1
Gunnar Beutner [Wed, 17 Jan 2018 10:20:38 +0000 (11:20 +0100)]
Release version 2.8.1

6 years agoFix check_service returning Warning instead of Critical
Jean Flach [Wed, 13 Dec 2017 16:48:16 +0000 (17:48 +0100)]
Fix check_service returning Warning instead of Critical

fixes #5849

6 years agoAdd some technical insights into the cluster-zone health check and log lag
Michael Friedrich [Wed, 3 Jan 2018 14:22:02 +0000 (15:22 +0100)]
Add some technical insights into the cluster-zone health check and log lag

As per @widhalmt request.

refs #5942

Signed-off-by: Gunnar Beutner <gunnar.beutner@icinga.com>
6 years agoEnable installing the init scripts on Solaris
Gunnar Beutner [Wed, 20 Dec 2017 07:44:06 +0000 (08:44 +0100)]
Enable installing the init scripts on Solaris

refs #5892

6 years agoMerge pull request #5995 from Icinga/fix/influxdb-requests
Gunnar Beutner [Wed, 17 Jan 2018 09:28:15 +0000 (10:28 +0100)]
Merge pull request #5995 from Icinga/fix/influxdb-requests

Fix InfluxDB requests

6 years agoMerge pull request #5994 from Icinga/fix/influxdb-template
Gunnar Beutner [Wed, 17 Jan 2018 09:27:55 +0000 (10:27 +0100)]
Merge pull request #5994 from Icinga/fix/influxdb-template

InfluxDBWriter: Fix macro in template

6 years agoMerge pull request #5993 from Icinga/feature/cmake-object-libs
Gunnar Beutner [Wed, 17 Jan 2018 09:26:59 +0000 (10:26 +0100)]
Merge pull request #5993 from Icinga/feature/cmake-object-libs

Use CMake object libraries for our libs

6 years agoAdd missing string escaping to InfluxDB-Writer 5995/head
Noah Hilverling [Wed, 17 Jan 2018 09:25:42 +0000 (10:25 +0100)]
Add missing string escaping to InfluxDB-Writer

fixes #5987

6 years agoFix HTTP response parsing for HTTP 1.1
Noah Hilverling [Wed, 17 Jan 2018 09:25:00 +0000 (10:25 +0100)]
Fix HTTP response parsing for HTTP 1.1

refs #5987

6 years agoInfluxDBWriter: Fix macro in template 5994/head
Noah Hilverling [Wed, 17 Jan 2018 08:23:48 +0000 (09:23 +0100)]
InfluxDBWriter: Fix macro in template

6 years agoUse CMake object libraries for our libs 5993/head
Gunnar Beutner [Wed, 17 Jan 2018 03:28:21 +0000 (04:28 +0100)]
Use CMake object libraries for our libs

6 years agoFix link format in documentation
Michael Insel [Fri, 29 Dec 2017 16:54:14 +0000 (17:54 +0100)]
Fix link format in documentation

refs #5922

6 years agoFix typo in SELinux documentation
Michael Insel [Thu, 28 Dec 2017 11:03:49 +0000 (12:03 +0100)]
Fix typo in SELinux documentation

refs #5918

6 years agoUpdate 08-advanced-topics.md
cstegm [Thu, 11 Jan 2018 15:48:40 +0000 (16:48 +0100)]
Update 08-advanced-topics.md

fixed typo

refs #5972

6 years agochangelog.py: Adjust categories and labels: Enhancement, Bug, ITL, Documentation...
Michael Friedrich [Tue, 16 Jan 2018 14:49:53 +0000 (15:49 +0100)]
changelog.py: Adjust categories and labels: Enhancement, Bug, ITL, Documentation, Support

This PR allows to adjust the categories and matching labels. If no label
matches, "Support" is the old hardcoded default.

Issues with the "Documentation" and "ITL" label will be put into their
respective category at the bottom before "Support". This increases readability
and allows users to focus on the core vs additional config and docs.

"Support" also applies to labels such as "code-quality", "Tests" and "Packages"/"Installation".

Note: Labels are case sensitive. The order of the categories dictionary is
important too.

Since issues and PRs are the same for GitHub, and we don't require an issue
for a PR anymore, we sometimes have duplicates. This patch adds an inline
label called "PR" to highlight these PRs in the Changelog.

refs #5989

6 years agoMerge pull request #5989 from Icinga/feature/changelog-categories-labels
Michael Friedrich [Tue, 16 Jan 2018 15:02:29 +0000 (16:02 +0100)]
Merge pull request #5989 from Icinga/feature/changelog-categories-labels

changelog.py: Adjust categories and labels: Enhancement, Bug, ITL, Documentation, Support

6 years agochangelog.py: Adjust categories and labels: Enhancement, Bug, ITL, Documentation... 5989/head
Michael Friedrich [Tue, 16 Jan 2018 14:49:53 +0000 (15:49 +0100)]
changelog.py: Adjust categories and labels: Enhancement, Bug, ITL, Documentation, Support

This PR allows to adjust the categories and matching labels. If no label
matches, "Support" is the old hardcoded default.

Issues with the "Documentation" and "ITL" label will be put into their
respective category at the bottom before "Support". This increases readability
and allows users to focus on the core vs additional config and docs.

"Support" also applies to labels such as "code-quality", "Tests" and "Packages"/"Installation".

Note: Labels are case sensitive. The order of the categories dictionary is
important too.

Since issues and PRs are the same for GitHub, and we don't require an issue
for a PR anymore, we sometimes have duplicates. This patch adds an inline
label called "PR" to highlight these PRs in the Changelog.

6 years agoMerge pull request #5983 from Icinga/feature/initializer-lists
Gunnar Beutner [Tue, 16 Jan 2018 11:40:29 +0000 (12:40 +0100)]
Merge pull request #5983 from Icinga/feature/initializer-lists

Use initializer lists for arrays and dictionaries

6 years agoUse initializer lists for arrays and dictionaries 5983/head
Gunnar Beutner [Thu, 11 Jan 2018 10:17:38 +0000 (11:17 +0100)]
Use initializer lists for arrays and dictionaries

6 years agoRevert "Fix performance issues for InfluxdbWriter"
Michael Friedrich [Tue, 16 Jan 2018 09:45:20 +0000 (10:45 +0100)]
Revert "Fix performance issues for InfluxdbWriter"

This reverts commit eea451ee94be7310e63ab6b7e5e94924b295e974.

refs #5764

6 years agoRevert "Fix incorrect socket handling for the HTTP client"
Michael Friedrich [Tue, 16 Jan 2018 09:43:16 +0000 (10:43 +0100)]
Revert "Fix incorrect socket handling for the HTTP client"

This reverts commit 59da943548c7c1be5f4b27dce73a0ad27cf0de5d.

refs #5760

6 years agoRevert "Make default getters and setters non-virtual"
Michael Friedrich [Tue, 16 Jan 2018 09:41:48 +0000 (10:41 +0100)]
Revert "Make default getters and setters non-virtual"

This reverts commit 50eb774a0f57c8a09c0583e2be204bcc5bfd58cf.

refs #5759

6 years agoFix wrong schema constraint for fresh 2.8.0 installations
Michael Friedrich [Tue, 16 Jan 2018 08:49:46 +0000 (09:49 +0100)]
Fix wrong schema constraint for fresh 2.8.0 installations

This fix is only needed for a fresh 2.8.0 setup, older versions
and upgrades to current do not need this (can be applied as idempotent
update).

fixes #5947

refs #5986

6 years agoMerge pull request #5986 from Icinga/fix/ido-schema-uq
Gunnar Beutner [Tue, 16 Jan 2018 09:13:21 +0000 (10:13 +0100)]
Merge pull request #5986 from Icinga/fix/ido-schema-uq

Fix wrong schema constraint for fresh 2.8.0 installations

6 years agoFix wrong schema constraint for fresh 2.8.0 installations 5986/head
Michael Friedrich [Tue, 16 Jan 2018 08:49:46 +0000 (09:49 +0100)]
Fix wrong schema constraint for fresh 2.8.0 installations

This fix is only needed for a fresh 2.8.0 setup, older versions
and upgrades to current do not need this (can be applied as idempotent
update).

fixes #5947

6 years agoMerge pull request #5985 from Icinga/feature/ido-check-thresholds
Gunnar Beutner [Tue, 16 Jan 2018 07:06:22 +0000 (08:06 +0100)]
Merge pull request #5985 from Icinga/feature/ido-check-thresholds

Add query thresholds for the 'ido' check: Rate and pending queries

6 years agoAdd query thresholds for the 'ido' check: Rate and pending queries 5985/head
Michael Friedrich [Mon, 15 Jan 2018 14:13:49 +0000 (15:13 +0100)]
Add query thresholds for the 'ido' check: Rate and pending queries

fixes #3924

6 years agoMerge pull request #5984 from Icinga/fix/db-ido-static-libraries
Michael Friedrich [Mon, 15 Jan 2018 15:06:29 +0000 (16:06 +0100)]
Merge pull request #5984 from Icinga/fix/db-ido-static-libraries

Fix missing static libraries for DB IDO

6 years agoFix missing static libraries for DB IDO 5984/head
Michael Friedrich [Mon, 15 Jan 2018 14:40:48 +0000 (15:40 +0100)]
Fix missing static libraries for DB IDO

refs #5927

6 years agoSELinux: Allows icinga2_t to send sigkill to all domains it transitions to 5982/head
Dirk Goetz [Mon, 15 Jan 2018 14:05:09 +0000 (15:05 +0100)]
SELinux: Allows icinga2_t to send sigkill to all domains it transitions to

Fixes #5916

6 years agoMerge pull request #5973 from Icinga/feature/api-checkresult-ttl
Michael Friedrich [Mon, 15 Jan 2018 13:25:15 +0000 (14:25 +0100)]
Merge pull request #5973 from Icinga/feature/api-checkresult-ttl

Add 'ttl' support for check result freshness via REST API

6 years agoAdd 'ttl' support for check result freshness via REST API 5973/head
Michael Friedrich [Thu, 11 Jan 2018 16:10:46 +0000 (17:10 +0100)]
Add 'ttl' support for check result freshness via REST API

The `process-check-result` action can now optionally set the
`ttl` parameter. This overrules the configured freshness
check (check_interval).

The main idea behind this is to allow the external sender
to specify when the next check result is coming in.

For example, a backup script which should be run every
24h can specify the exact expected next check result.

The addition to the CheckResult class is necessary to
forward the check result throughout the cluster and
calculate the `next_check` value on each node. This
allows us to send in a check result on a satellite,
and the master determines the freshness and possible
notifications/state changes for Icinga Web 2.

6 years agoMerge pull request #5903 from Icinga/fix/cleanup-compatutility
Michael Friedrich [Mon, 15 Jan 2018 12:51:07 +0000 (13:51 +0100)]
Merge pull request #5903 from Icinga/fix/cleanup-compatutility

Cleanup CompatUtility class and features

6 years agoRemove obsolete locks in Livestatus; apply style guide to DB IDO 5903/head
Michael Friedrich [Thu, 21 Dec 2017 14:45:11 +0000 (15:45 +0100)]
Remove obsolete locks in Livestatus; apply style guide to DB IDO

6 years agoEliminate time(NULL) in StatusDataWriter
Michael Friedrich [Thu, 21 Dec 2017 11:12:06 +0000 (12:12 +0100)]
Eliminate time(NULL) in StatusDataWriter

6 years agoMore cleanup for compat filters in DB IDO
Michael Friedrich [Thu, 21 Dec 2017 11:08:42 +0000 (12:08 +0100)]
More cleanup for compat filters in DB IDO

6 years agoClean up DB IDO events code
Michael Friedrich [Thu, 21 Dec 2017 11:00:42 +0000 (12:00 +0100)]
Clean up DB IDO events code

6 years agoDB IDO: Clean up code and group CompatUtility calls
Michael Friedrich [Thu, 21 Dec 2017 09:32:39 +0000 (10:32 +0100)]
DB IDO: Clean up code and group CompatUtility calls

6 years agoDB IDO: Don't send empty columns in queries
Michael Friedrich [Thu, 21 Dec 2017 08:57:21 +0000 (09:57 +0100)]
DB IDO: Don't send empty columns in queries

6 years agoDB IDO: Remove check_command_args column
Michael Friedrich [Thu, 21 Dec 2017 08:41:49 +0000 (09:41 +0100)]
DB IDO: Remove check_command_args column

The populated value is not entirely correct, and pulls in lots
of compat code.

6 years agoMove CompatUtility::GetCheckableInNotificationPeriod() logic into Livestatus feature
Michael Friedrich [Thu, 21 Dec 2017 08:36:51 +0000 (09:36 +0100)]
Move CompatUtility::GetCheckableInNotificationPeriod() logic into Livestatus feature

6 years agoMove CompatUtility::GetHostStateString() logic into DB IDO and CompatLogger features
Michael Friedrich [Thu, 21 Dec 2017 08:24:04 +0000 (09:24 +0100)]
Move CompatUtility::GetHostStateString() logic into DB IDO and CompatLogger features

6 years agoGelfWriter should write the host notification output
Michael Friedrich [Thu, 21 Dec 2017 08:13:47 +0000 (09:13 +0100)]
GelfWriter should write the host notification output

No idea why there was a hardcoded unreachable message inside.

6 years agoMove CompatUtility::GetHostCurrentState() logic into DB IDO and StatusData features
Michael Friedrich [Thu, 21 Dec 2017 08:12:12 +0000 (09:12 +0100)]
Move CompatUtility::GetHostCurrentState() logic into DB IDO and StatusData features

6 years agoMove the IDO specific compat notification filter logic into the feature
Michael Friedrich [Thu, 21 Dec 2017 07:57:36 +0000 (08:57 +0100)]
Move the IDO specific compat notification filter logic into the feature

6 years agoDrop CompatUtility::GetCheckable*Interval() and hardcode their minute representation...
Michael Friedrich [Wed, 20 Dec 2017 15:46:50 +0000 (16:46 +0100)]
Drop CompatUtility::GetCheckable*Interval() and hardcode their minute representation in compat features

6 years agoClean header includes in CompatUtility class
Michael Friedrich [Thu, 7 Dec 2017 10:42:39 +0000 (11:42 +0100)]
Clean header includes in CompatUtility class

6 years agoAdd inventory as comments where the left-over functions are actually used.
Michael Friedrich [Thu, 7 Dec 2017 10:29:39 +0000 (11:29 +0100)]
Add inventory as comments where the left-over functions are actually used.

6 years agoDrop CompatUtility::GetCheckableCheckPeriod()
Michael Friedrich [Wed, 6 Dec 2017 16:49:53 +0000 (17:49 +0100)]
Drop CompatUtility::GetCheckableCheckPeriod()

6 years agoMove CompatUtility::GetCheckableInCheckPeriod() into Livestatus feature
Michael Friedrich [Wed, 6 Dec 2017 16:34:09 +0000 (17:34 +0100)]
Move CompatUtility::GetCheckableInCheckPeriod() into Livestatus feature

6 years agoMove notification options wrapper into StatusDataWriter
Michael Friedrich [Wed, 6 Dec 2017 16:17:47 +0000 (17:17 +0100)]
Move notification options wrapper into StatusDataWriter

That's the only location which requires the old mapping.

6 years agoDrop CompatUtility::GetCheckResultPerfdata()
Michael Friedrich [Wed, 6 Dec 2017 16:03:56 +0000 (17:03 +0100)]
Drop CompatUtility::GetCheckResultPerfdata()

6 years agoMove more compatibility mappings into DB IDO
Michael Friedrich [Wed, 6 Dec 2017 15:39:22 +0000 (16:39 +0100)]
Move more compatibility mappings into DB IDO

6 years agoMove ConvertTimestamp functionality into DB IDO
Michael Friedrich [Wed, 6 Dec 2017 15:18:26 +0000 (16:18 +0100)]
Move ConvertTimestamp functionality into DB IDO

This is the only place where the timestamp is split into
sec and usec.

6 years agoDrop useless CompatUtility::GetCustomAttributeConfig() wrapper
Michael Friedrich [Wed, 6 Dec 2017 14:51:19 +0000 (15:51 +0100)]
Drop useless CompatUtility::GetCustomAttributeConfig() wrapper

6 years agoDrop dead CompatUtility::GetCustomAttributeConfig
Michael Friedrich [Wed, 6 Dec 2017 14:42:39 +0000 (15:42 +0100)]
Drop dead CompatUtility::GetCustomAttributeConfig

6 years agoDrop Freshness wrappers from CompatUtility class
Michael Friedrich [Wed, 6 Dec 2017 14:35:27 +0000 (15:35 +0100)]
Drop Freshness wrappers from CompatUtility class

6 years agoRemove more redundant wrappers from CompatUtility class
Michael Friedrich [Tue, 5 Dec 2017 18:51:34 +0000 (19:51 +0100)]
Remove more redundant wrappers from CompatUtility class

6 years agoDrop CompatUtility::*Command helpers
Michael Friedrich [Tue, 5 Dec 2017 18:30:45 +0000 (19:30 +0100)]
Drop CompatUtility::*Command helpers

6 years agoDrop dead code in Livestatus feature
Michael Friedrich [Tue, 5 Dec 2017 17:53:22 +0000 (18:53 +0100)]
Drop dead code in Livestatus feature

6 years agoReplace CompatUtility's enabled wrappers with native implementation getters
Michael Friedrich [Tue, 5 Dec 2017 14:28:08 +0000 (15:28 +0100)]
Replace CompatUtility's enabled wrappers with native implementation getters

Many conversions were not necessary, or could be dealt inside the actual
feature. libcompat and liblivestatus can take care about such specifics
on their own, lib_db_ido doesn't need boolean conversion in fields, that
is done inside the db driver.

6 years agoDrop CompatUtility::GetCheckableHasBeenChecked() and use Checkable::HasBeenChecked()
Michael Friedrich [Tue, 5 Dec 2017 13:23:15 +0000 (14:23 +0100)]
Drop CompatUtility::GetCheckableHasBeenChecked() and use Checkable::HasBeenChecked()

6 years agoDrop CompatUtility::GetCheckableAcknowledgementType()
Michael Friedrich [Tue, 5 Dec 2017 13:17:57 +0000 (14:17 +0100)]
Drop CompatUtility::GetCheckableAcknowledgementType()

This already returns an integer.

6 years agoMove CompatUtility::GetCheckableProblemHasBeenAcknowledged() into feature specific...
Michael Friedrich [Tue, 5 Dec 2017 12:35:09 +0000 (13:35 +0100)]
Move CompatUtility::GetCheckableProblemHasBeenAcknowledged() into feature specific dumps

6 years agoMove CompatUtility::GetCheckableCheckType() into IDO/Livestatus features
Michael Friedrich [Tue, 5 Dec 2017 10:34:38 +0000 (11:34 +0100)]
Move CompatUtility::GetCheckableCheckType() into IDO/Livestatus features

It is just boolean mapping to numbers, each modules does that in a sort of different way.

DB IDO automatically transforms boolean to numbers.
Livestatus would return JSON which keeps true booleans, but requires a number (just a guess,
there is no spec for this message format).

6 years agoMove CompatUtility::GetHostAlias into DB IDO host object method
Michael Friedrich [Mon, 4 Dec 2017 15:52:52 +0000 (16:52 +0100)]
Move CompatUtility::GetHostAlias into DB IDO host object method

This is the only place where this mapping is used.

6 years agoMerge pull request #5940 from Icinga/fix/chocolatey
Gunnar Beutner [Mon, 15 Jan 2018 10:36:54 +0000 (11:36 +0100)]
Merge pull request #5940 from Icinga/fix/chocolatey

Remove deprecated Chocolatey functions

6 years agoImplement AppLocal deployment support for UCRT
Gunnar Beutner [Wed, 13 Dec 2017 21:31:56 +0000 (22:31 +0100)]
Implement AppLocal deployment support for UCRT

refs #5856