Commit Graph

12697 Commits

Author SHA1 Message Date
Julian Brost 4273f30157 LegacyTimePeriod: Prevent modification of input parameters
Many functions of LegacyTimePeriod take a tm pointer as an input parameter and
then pass it to mktime() which actually modifies it. This causes problems if
tm_isdst was intentionally set to -1 (to automatically detect whether DST is
active at some time) and then a function is called that implicitly sets
tm_isdst and then the values of tm are modified in a way that crosses a DST
change. This resulted in 1 hour offsets with ScheduledDowntimes on days with
DST changes.
2021-07-22 15:17:06 +02:00
Alexander Aleksandrovič Klimov 2b04e0a754
Merge pull request #8894 from Icinga/bugfix/icinga-db-redis-connection-logging-spam-8883
RedisConnection: log info messages only once
2021-07-21 18:00:24 +02:00
Alexander Aleksandrovič Klimov d073d2268e
Merge pull request #8719 from Icinga/feature/influxdb-2-8711
Introduce Influxdb2Writer
2021-07-21 17:59:58 +02:00
Alexander Aleksandrovič Klimov 0ddffb194f
Merge pull request #8721 from Icinga/feature/bullseye
GitHub actions: also build on Debian Bullseye
2021-07-21 17:59:27 +02:00
Alexander A. Klimov da922ca157 RedisConnection: log info messages only once
refs #8883
2021-07-20 17:52:12 +02:00
Alexander Aleksandrovič Klimov 2fbaf933bc
Merge pull request #8634 from Icinga/feature/icingadb-stats-log
RedisConnection: log actual query performance
2021-07-20 17:46:57 +02:00
Alexander A. Klimov f924800853 GitHub actions: also build on Debian Bullseye 2021-07-20 16:47:32 +02:00
Alexander A. Klimov 9d4b0f1268 Introduce Influxdb2Writer
refs #8711
2021-07-20 16:21:36 +02:00
Alexander A. Klimov d26aa9fb34 InfluxdbCommonWriter: abstract InfluxdbWriter
refs #8711
2021-07-20 16:21:36 +02:00
Michael Insel da394b2ab0
Implement scheduling_source attribute (#6326)
* Implement scheduling_source attribute

This implements the attribute `scheduling_source` for hosts and services to show which endpoint is running the scheduler for the check.

refs #4814
2021-07-20 11:10:26 +02:00
Alexander A. Klimov 67c4ebedd3 Combine all Redis connections' logs 2021-07-16 18:50:41 +02:00
Alexander A. Klimov e6a9631a02 Icinga DB: silence WorkQueue performance 2021-07-16 18:50:41 +02:00
Alexander A. Klimov 82c3827b66 RedisConnection: log actual query performance 2021-07-16 18:50:41 +02:00
Alexander Aleksandrovič Klimov 89472a9e51
Merge pull request #8425 from Icinga/bugfix/hosts-128-characters-7472
IDO MySQL: support larger host and service names
2021-07-16 18:34:29 +02:00
Alexander Aleksandrovič Klimov b077752589
Merge pull request #8907 from Icinga/probot/sync-changelog/421a2141a61316bbe7b518bd80a07117e08a7e4b
CHANGELOG.md: add v2.12.5
2021-07-16 11:08:42 +02:00
Julian Brost ab3e71fe70 CHANGELOG.md: add v2.12.5 2021-07-15 14:30:37 +00:00
Alexander Aleksandrovič Klimov 421a2141a6
Merge pull request #8905 from Icinga/probot/sync-changelog/b881d799ffddbf4f9130130a627f6566cbabb796
CHANGELOG.md: add v2.11.10
2021-07-15 16:30:26 +02:00
Julian Brost 54624292f2 CHANGELOG.md: add v2.11.10 2021-07-15 10:27:02 +00:00
Alexander Aleksandrovič Klimov b881d799ff
Merge pull request #8903 from Icinga/Al2Klimov-patch-2
Update .mailmap
2021-07-15 12:26:50 +02:00
Alexander Aleksandrovič Klimov de6038b8d8
Update .mailmap 2021-07-15 11:24:30 +02:00
Alexander A. Klimov e4bfb4898d IDO MySQL: support larger host and service names
refs #7472
2021-07-15 11:16:13 +02:00
Julian Brost 9f43c143d7
Merge pull request from GHSA-98wp-jc6q-x5q5
API: hide ApiListener#ticket_salt
2021-07-15 11:13:35 +02:00
Julian Brost f17b97fd7e
Merge pull request from GHSA-wrpw-pmr8-qgj7
Remove passwords from API
2021-07-15 11:12:29 +02:00
Alexander Aleksandrovič Klimov b63eb2aa3d
Merge pull request #8855 from Icinga/bugfix/inconsistent-ido-schema-versions-8852
Fix IDO MySQL schema version (as in v2.11 upgrade)
2021-07-14 18:09:27 +02:00
Julian Brost 2de551aaad
Merge pull request #8884 from Icinga/feature/windows-build-scripts-32-bit
Windows build scripts: allow setting BITS=32 to use 32 bit dependency paths by default
2021-07-07 14:11:26 +02:00
Julian Brost 14245d87a5 Windows build scripts: allow setting BITS=32 to use 32 bit dependency paths by default 2021-07-07 13:24:11 +02:00
Alexander Aleksandrovič Klimov bad8059969
Merge pull request #8761 from Icinga/feature/icingadb-perfdata
Icinga DB: introduce icinga:*:state#normalized_performance_data
2021-07-07 12:29:21 +02:00
Noah Hilverling ef73136076
Merge pull request #8830 from Icinga/feature/idb-passive-overdue
Icinga DB: no active checks? Not overdue!
2021-07-07 11:15:04 +02:00
Julian Brost 7d2a1bbffe
Merge pull request #8310 from Icinga/feature/scheduleddowntime-change-remove-downtimes-8309
On ScheduledDowntime change: remove downtimes created before change
2021-07-07 10:44:08 +02:00
Julian Brost 6d6844c102
Merge pull request #8874 from Icinga/bugfix/fixed-dt-end-notify
Checkable::NotifyDowntimeEnd(): don't send Downtime end notification unless triggered
2021-07-07 10:43:28 +02:00
Alexander Aleksandrovič Klimov bee83ead8b
Merge pull request #8730 from Icinga/bugfix/ido-stop-progstat-8727
IDO: update program status on stop
2021-07-06 18:07:38 +02:00
Alexander Aleksandrovič Klimov 627401678a
Merge pull request #8875 from Icinga/feature/boost176-openssl111k
Bump build deps
2021-07-06 14:22:32 +02:00
Alexander A. Klimov 43e4ab4760 Checkable::NotifyDowntimeEnd(): don't send Downtime end notification unless triggered
... for fixed Downtimes as well.
2021-07-06 12:50:44 +02:00
Alexander A. Klimov e9118d6b09 Fix IDO MySQL schema version (as in v2.11 upgrade) 2021-07-05 19:17:53 +02:00
Alexander A. Klimov 4373acf8ed Ido*sqlConnection::Reconnect(): de-couple MySQL and Postgres schema versions 2021-07-05 19:17:51 +02:00
Alexander A. Klimov 9e2f58ea9f IdoCheckTask: de-couple MySQL and Postgres schema versions 2021-07-05 19:14:07 +02:00
Alexander A. Klimov 9d1a112edf Icinga DB: introduce icinga:*:state#normalized_performance_data 2021-07-05 19:05:32 +02:00
Alexander A. Klimov ea5411a6e0 PluginUtility::FormatPerfdata(): normalize UoMs if desired 2021-07-05 19:05:32 +02:00
Alexander A. Klimov 7363710b1e Bump OpenSSL to 1.1.1k 2021-07-05 18:27:58 +02:00
Alexander A. Klimov 31fa4ef033 Bump Boost to v1.76 2021-07-05 18:25:42 +02:00
Julian Brost 401d3cdc9e Remove passwords from API
IdoMysqlConnection, IdoPgsqlConnection, IcingaDB, and ElasticsearchWriter
require passwords in their configuration to authenticate against external
services. This commit ensures that these can no longer be accessed using the
API.
2021-07-05 15:09:54 +02:00
Julian Brost 83cfb84fe0
Merge pull request #8858 from Icinga/bugfix/ci-cancel-only-pr
Cancel previous HEAD's jobs only for PRs
2021-07-05 08:03:05 +02:00
Alexander Aleksandrovič Klimov b7efbd0bba
Merge pull request #8626 from Icinga/bugfix/recreate-object-invisible-ido-8584
Ido*sqlConnection#InternalDeactivateObject(): mark object inactive also in memory
2021-07-02 16:34:28 +02:00
Alexander A. Klimov 07d768f166 API: hide ApiListener#ticket_salt 2021-07-02 16:29:53 +02:00
Alexander A. Klimov 666c5818bb On ScheduledDowntime change: remove future downtimes created before change
refs #8309
2021-07-02 10:37:29 +02:00
Alexander Aleksandrovič Klimov e180241e4a
Merge pull request #8842 from Icinga/feature/provision-bs
RELEASE.md: Re-provision Build Server
2021-07-01 16:02:13 +02:00
Alexander A. Klimov 8c75710d9a RELEASE.md: Re-provision Build Server 2021-07-01 12:16:30 +02:00
Alexander A. Klimov 7673892a9d Cancel previous HEAD's jobs only for PRs 2021-07-01 11:25:29 +02:00
Alexander Aleksandrovič Klimov b07d181c4a
Merge pull request #8631 from Icinga/feature/icingadb-scheduleddowntime
Icinga DB: introduce icinga:downtime#scheduled_by
2021-06-30 19:03:53 +02:00
Julian Brost 70c5f4c27a
Merge pull request #8853 from Icinga/fix/docs-generate-ticket-typo
Fix typo
2021-06-30 14:31:08 +02:00