]>
granicus.if.org Git - icinga2/log
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
Michael Friedrich [Mon, 15 Jan 2018 13:35:30 +0000 (14:35 +0100)]
Explicitly pass 1 or 0 for notification filters in DB IDO
Gunnar Beutner [Wed, 17 Jan 2018 10:24:34 +0000 (11:24 +0100)]
Merge branch 'support/2.8'
Gunnar Beutner [Wed, 17 Jan 2018 10:20:38 +0000 (11:20 +0100)]
Release version 2.8.1
Gunnar Beutner [Wed, 17 Jan 2018 10:20:38 +0000 (11:20 +0100)]
Release version 2.8.1
Jean Flach [Wed, 13 Dec 2017 16:48:16 +0000 (17:48 +0100)]
Fix check_service returning Warning instead of Critical
fixes #5849
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>
Gunnar Beutner [Wed, 20 Dec 2017 07:44:06 +0000 (08:44 +0100)]
Enable installing the init scripts on Solaris
refs #5892
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
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
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
Noah Hilverling [Wed, 17 Jan 2018 09:25:42 +0000 (10:25 +0100)]
Add missing string escaping to InfluxDB-Writer
fixes #5987
Noah Hilverling [Wed, 17 Jan 2018 09:25:00 +0000 (10:25 +0100)]
Fix HTTP response parsing for HTTP 1.1
refs #5987
Noah Hilverling [Wed, 17 Jan 2018 08:23:48 +0000 (09:23 +0100)]
InfluxDBWriter: Fix macro in template
Gunnar Beutner [Wed, 17 Jan 2018 03:28:21 +0000 (04:28 +0100)]
Use CMake object libraries for our libs
Michael Insel [Fri, 29 Dec 2017 16:54:14 +0000 (17:54 +0100)]
Fix link format in documentation
refs #5922
Michael Insel [Thu, 28 Dec 2017 11:03:49 +0000 (12:03 +0100)]
Fix typo in SELinux documentation
refs #5918
cstegm [Thu, 11 Jan 2018 15:48:40 +0000 (16:48 +0100)]
Update 08-advanced-topics.md
fixed typo
refs #5972
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
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
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.
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
Gunnar Beutner [Thu, 11 Jan 2018 10:17:38 +0000 (11:17 +0100)]
Use initializer lists for arrays and dictionaries
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
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
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
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
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
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
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
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
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
Michael Friedrich [Mon, 15 Jan 2018 14:40:48 +0000 (15:40 +0100)]
Fix missing static libraries for DB IDO
refs #5927
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
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.
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
Michael Friedrich [Thu, 21 Dec 2017 14:45:11 +0000 (15:45 +0100)]
Remove obsolete locks in Livestatus; apply style guide to DB IDO
Michael Friedrich [Thu, 21 Dec 2017 11:12:06 +0000 (12:12 +0100)]
Eliminate time(NULL) in StatusDataWriter
Michael Friedrich [Thu, 21 Dec 2017 11:08:42 +0000 (12:08 +0100)]
More cleanup for compat filters in DB IDO
Michael Friedrich [Thu, 21 Dec 2017 11:00:42 +0000 (12:00 +0100)]
Clean up DB IDO events code
Michael Friedrich [Thu, 21 Dec 2017 09:32:39 +0000 (10:32 +0100)]
DB IDO: Clean up code and group CompatUtility calls
Michael Friedrich [Thu, 21 Dec 2017 08:57:21 +0000 (09:57 +0100)]
DB IDO: Don't send empty columns in queries
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.
Michael Friedrich [Thu, 21 Dec 2017 08:36:51 +0000 (09:36 +0100)]
Move CompatUtility::GetCheckableInNotificationPeriod() logic into Livestatus feature
Michael Friedrich [Thu, 21 Dec 2017 08:24:04 +0000 (09:24 +0100)]
Move CompatUtility::GetHostStateString() logic into DB IDO and CompatLogger features
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.
Michael Friedrich [Thu, 21 Dec 2017 08:12:12 +0000 (09:12 +0100)]
Move CompatUtility::GetHostCurrentState() logic into DB IDO and StatusData features
Michael Friedrich [Thu, 21 Dec 2017 07:57:36 +0000 (08:57 +0100)]
Move the IDO specific compat notification filter logic into the feature
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
Michael Friedrich [Thu, 7 Dec 2017 10:42:39 +0000 (11:42 +0100)]
Clean header includes in CompatUtility class
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.
Michael Friedrich [Wed, 6 Dec 2017 16:49:53 +0000 (17:49 +0100)]
Drop CompatUtility::GetCheckableCheckPeriod()
Michael Friedrich [Wed, 6 Dec 2017 16:34:09 +0000 (17:34 +0100)]
Move CompatUtility::GetCheckableInCheckPeriod() into Livestatus feature
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.
Michael Friedrich [Wed, 6 Dec 2017 16:03:56 +0000 (17:03 +0100)]
Drop CompatUtility::GetCheckResultPerfdata()
Michael Friedrich [Wed, 6 Dec 2017 15:39:22 +0000 (16:39 +0100)]
Move more compatibility mappings 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.
Michael Friedrich [Wed, 6 Dec 2017 14:51:19 +0000 (15:51 +0100)]
Drop useless CompatUtility::GetCustomAttributeConfig() wrapper
Michael Friedrich [Wed, 6 Dec 2017 14:42:39 +0000 (15:42 +0100)]
Drop dead CompatUtility::GetCustomAttributeConfig
Michael Friedrich [Wed, 6 Dec 2017 14:35:27 +0000 (15:35 +0100)]
Drop Freshness wrappers from CompatUtility class
Michael Friedrich [Tue, 5 Dec 2017 18:51:34 +0000 (19:51 +0100)]
Remove more redundant wrappers from CompatUtility class
Michael Friedrich [Tue, 5 Dec 2017 18:30:45 +0000 (19:30 +0100)]
Drop CompatUtility::*Command helpers
Michael Friedrich [Tue, 5 Dec 2017 17:53:22 +0000 (18:53 +0100)]
Drop dead code in Livestatus feature
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.
Michael Friedrich [Tue, 5 Dec 2017 13:23:15 +0000 (14:23 +0100)]
Drop CompatUtility::GetCheckableHasBeenChecked() and use Checkable::HasBeenChecked()
Michael Friedrich [Tue, 5 Dec 2017 13:17:57 +0000 (14:17 +0100)]
Drop CompatUtility::GetCheckableAcknowledgementType()
This already returns an integer.
Michael Friedrich [Tue, 5 Dec 2017 12:35:09 +0000 (13:35 +0100)]
Move CompatUtility::GetCheckableProblemHasBeenAcknowledged() into feature specific dumps
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).
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.
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
Gunnar Beutner [Wed, 13 Dec 2017 21:31:56 +0000 (22:31 +0100)]
Implement AppLocal deployment support for UCRT
refs #5856
Gunnar Beutner [Mon, 15 Jan 2018 09:04:22 +0000 (10:04 +0100)]
Merge pull request #5888 from Icinga/feature/mariadbclient
FindMySQL: Support mariadbclient implementation
Gunnar Beutner [Fri, 12 Jan 2018 20:37:41 +0000 (21:37 +0100)]
Merge pull request #5972 from cstegm/patch-2
Update 08-advanced-topics.md
Michael Friedrich [Fri, 12 Jan 2018 10:39:50 +0000 (11:39 +0100)]
Merge pull request #5974 from Icinga/fix/icingachecktask-buildfix
Fix non-unity builds with the icinga check
Michael Friedrich [Fri, 12 Jan 2018 10:03:49 +0000 (11:03 +0100)]
Fix non-unity builds with the icinga check
refs #5958
cstegm [Thu, 11 Jan 2018 15:48:40 +0000 (16:48 +0100)]
Update 08-advanced-topics.md
fixed typo
Michael Friedrich [Thu, 11 Jan 2018 12:52:01 +0000 (13:52 +0100)]
Merge pull request #5971 from Icinga/feature/remove-demo
Remove libdemo and libhello
Michael Friedrich [Thu, 11 Jan 2018 12:50:23 +0000 (13:50 +0100)]
Merge pull request #5970 from Icinga/feature/stack-allocate-configitembuilder
Allocate ConfigItemBuilder objects on the stack
Michael Friedrich [Thu, 11 Jan 2018 12:38:40 +0000 (13:38 +0100)]
Merge pull request #5969 from Icinga/feature/wq-stats-mutex
Remove the WorkQueue::m_StatsMutex instance variable
Michael Friedrich [Thu, 11 Jan 2018 12:37:35 +0000 (13:37 +0100)]
Merge pull request #5968 from Icinga/feature/ringbuffer-mutex
Update the RingBuffer class to use a regular mutex instead of ObjectLock
Michael Friedrich [Thu, 11 Jan 2018 12:36:29 +0000 (13:36 +0100)]
Merge pull request #5967 from Icinga/feature/lazy-accessors
Avoid accessing attributes for validators where not necessary
Gunnar Beutner [Thu, 11 Jan 2018 12:29:11 +0000 (13:29 +0100)]
Remove libdemo and libhello
Gunnar Beutner [Wed, 10 Jan 2018 16:20:33 +0000 (17:20 +0100)]
Allocate ConfigItemBuilder objects on the stack
Gunnar Beutner [Thu, 11 Jan 2018 09:47:55 +0000 (10:47 +0100)]
Remove the WorkQueue::m_StatsMutex instance variable
Gunnar Beutner [Wed, 10 Jan 2018 15:44:48 +0000 (16:44 +0100)]
Update the RingBuffer class to use a regular mutex instead of ObjectLock
Michael Friedrich [Thu, 11 Jan 2018 08:37:19 +0000 (09:37 +0100)]
Merge pull request #5965 from Icinga/feature/json-casts
Avoid unnecessary casts in the JSON encoder
Gunnar Beutner [Thu, 11 Jan 2018 06:08:09 +0000 (07:08 +0100)]
Avoid accessing attributes for validators where not necessary
Gunnar Beutner [Thu, 11 Jan 2018 06:29:34 +0000 (07:29 +0100)]
Avoid unnecessary casts in the JSON encoder
Michael Friedrich [Tue, 9 Jan 2018 08:33:07 +0000 (09:33 +0100)]
Merge pull request #5961 from Icinga/fix/min-version-warning
Fix macro warning from the icinga check
Gunnar Beutner [Tue, 9 Jan 2018 08:16:59 +0000 (09:16 +0100)]
Fix macro warning from the icinga check
Gunnar Beutner [Tue, 9 Jan 2018 04:32:17 +0000 (05:32 +0100)]
Merge pull request #5958 from Icinga/feature/icinga-check-min-version
Add minimum version check to the built-in icinga command
Gunnar Beutner [Tue, 9 Jan 2018 04:12:31 +0000 (05:12 +0100)]
Merge pull request #5959 from Icinga/feature/api-pretty
API: Add 'pretty' parameter for beautified JSON response bodies
Gunnar Beutner [Tue, 9 Jan 2018 03:58:25 +0000 (04:58 +0100)]
Merge pull request #5957 from mcktr/fix/year-2017-reference
Change a bunch more copyright headers for 2018
Michael Friedrich [Wed, 20 Dec 2017 14:31:05 +0000 (15:31 +0100)]
API: Add 'pretty' parameter for beautified JSON response bodies
fixes #5877
Michael Friedrich [Mon, 8 Jan 2018 18:44:54 +0000 (19:44 +0100)]
Add minimum version check to the built-in icinga command
fixes #3998
Michael Insel [Mon, 8 Jan 2018 17:05:12 +0000 (18:05 +0100)]
Change a bunch more copyright headers for 2018
This changes more copyright headers for 2018.
Michael Friedrich [Mon, 8 Jan 2018 16:11:43 +0000 (17:11 +0100)]
Merge pull request #5955 from Icinga/feature/workqueue-lock-contention
Avoid mutex contention in the config parser
Gunnar Beutner [Sat, 6 Jan 2018 03:36:58 +0000 (04:36 +0100)]
Avoid mutex contention in the config parser
Michael Friedrich [Mon, 8 Jan 2018 13:24:24 +0000 (14:24 +0100)]
Merge pull request #5954 from Icinga/feature/itl-mongodb-authdb
ITL: Add mongodb --authdb parameter support
Michael Friedrich [Mon, 8 Jan 2018 13:14:04 +0000 (14:14 +0100)]
ITL: Add mongodb --authdb parameter support
fixes #5260