Commit Graph

12758 Commits

Author SHA1 Message Date
Julian Brost 6de9f58810 Add WindowsEventLogLogger 2021-06-21 15:15:54 +02:00
Julian Brost 118df982f1 GetObjectConfigPath: only truncate and hash comment and downtime filenames
This partially reverts 68a0079c26 and keeps the
fix only for comment and downtime objects for now. For reasoning, please see
the comment in the code.
2021-06-17 16:21:01 +02:00
Julian Brost e079762c8e GetObjectPath: ensure use of escaped name in all cases and use TruncateUsingHash()
68a0079c26 introduced two problems that are fixed
with this commit:
1. The new truncated/hashed name did not use EscapeName()
2. There was a possible collision of names when creating objects with a full
   name of format "[80 characters]...[40 hex digits]" (i.e. the same as the
   truncated/hashed variant but short enough that it isn't hashed)
2021-06-17 16:21:01 +02:00
Julian Brost 97d6876803 Utility: add a function to truncate strings while avoiding collisions 2021-06-17 16:21:01 +02:00
Julian Brost 5a114a6bf2
Merge pull request #8836 from lyknode/bugfix/doc-fix-match-signature
Fix match function signature to match its description
2021-06-17 15:00:13 +02:00
Baptiste Beauplat 905a1dd474
Fix match function signature to match its description 2021-06-17 14:37:51 +02:00
Julian Brost 61a93fdc0d
Merge pull request #8833 from Icinga/probot/update-authors/master/46743f9b138b05943bce1490190f126b0d15172e
Update AUTHORS
2021-06-15 12:33:08 +02:00
icinga-probot[bot] 2bbc1ad8c4
Update AUTHORS 2021-06-15 10:31:08 +00:00
Julian Brost 46743f9b13
Merge pull request #8625 from XnS/feature/itl-ssl_cert-ignore-stc
Added new option ignore-sct for ssl_cert to ITL
2021-06-15 12:31:03 +02:00
Julian Brost e6993da809
Merge pull request #8814 from Napsty/esxi-hardware-sslproto
Add new -S parameter for esxi_hardware ITL
2021-06-15 12:30:27 +02:00
Julian Brost 005fac0a23
Merge pull request #8742 from Icinga/bugfix/double-to-string
Convert::ToString(double): handle integral values too large for long long correctly
2021-06-15 12:28:15 +02:00
Julian Brost c40b18ef61 ConfigPackageUtility::ValidateName: replace broken regex
The old validation regex matched if the name consists only of invalid
character, not that it does not contain them, i.e. something like "foo/bar" was
considered valid.

This commit replaces the regex with a check that all characters in the name are
allowed characters.
2021-06-15 12:16:54 +02:00
Julian Brost b8218a3c0e IcingaDB::UpdateAllConfigObjects: explicitly capture variables in lambda 2021-06-15 11:52:53 +02:00
Alexander Aleksandrovič Klimov 02fc01bca4
Merge pull request #8829 from Icinga/probot/update-authors/master/b09d16a385fb33e5b0c6f640c86c0d43d3577a61
Update AUTHORS
2021-06-09 10:07:21 +02:00
Alexander A. Klimov 9c567c0bde Icinga DB: no active checks? Not overdue! 2021-06-08 19:17:03 +02:00
icinga-probot[bot] 07ff84d237
Update AUTHORS 2021-06-08 16:00:12 +00:00
Alexander Aleksandrovič Klimov b09d16a385
Merge pull request #8827 from Icinga/bugfix/perfdata-e-exponent-unit-prefix
Allow using E in perfdata both as exponent and unit prefix
2021-06-08 18:00:02 +02:00
Alexander A. Klimov d1e15a220c Icinga DB: use one Redis connection per config object type 2021-06-08 17:52:04 +02:00
Julian Brost 06999faf25 Allow using E in perfdata both as exponent and unit prefix 2021-06-08 12:37:13 +02:00
Julian Brost 0a362937b3
Merge pull request #8818 from pdolinic/fix/doc-api_process-check-results
Docs: Change to reflect actual hoststate
2021-06-07 16:12:15 +02:00
Julian Brost f346a9eea4
Merge pull request #8652 from Icinga/bugfix/l_appversionint-0-8628
l_AppVersionInt: respect versions like r2.12.0, not just v2.12.0
2021-06-07 16:07:04 +02:00
Julian Brost 62cbe72cdb
Merge pull request #8492 from Icinga/bugfix/perfdata-scientific-notation
Fix perfdata parser not recognize scientific notation
2021-06-07 15:29:52 +02:00
Julian Brost 275ba6d1df
Merge pull request #8823 from Icinga/probot/sync-changelog/1ec158f9f1fb3687dda152957c6a388bb74046a7
CHANGELOG.md: add v2.12.4
2021-06-04 14:04:11 +02:00
Julian Brost 917ed59bb7 CHANGELOG.md: add v2.12.4 2021-06-04 11:54:32 +00:00
Julian Brost 1ec158f9f1
Merge pull request #8822 from Icinga/probot/sync-changelog/9f6cbc38f2734697d3bd1e464b1597f11138b291
CHANGELOG.md: add v2.11.9
2021-06-04 13:54:20 +02:00
Julian Brost d24cca143f CHANGELOG.md: add v2.11.9 2021-06-04 11:52:44 +00:00
Julian Brost 9f6cbc38f2
Merge pull request #8754 from Icinga/feature/icingadb-replace-lua-with-xadd-maxlen
Icinga DB: Use XADD ... MAXLEN 1 instead of a custom Lua script
2021-06-04 13:52:30 +02:00
Alexander Aleksandrovič Klimov ee4fad54dd
Merge pull request #8391 from Icinga/feature/gha-windows
GitHub actions: build Windows
2021-06-02 14:32:04 +02:00
Alexander A. Klimov e98a7a9140 icinga2.service: add NotifyAccess=all
refs #7329
2021-06-01 18:07:42 +02:00
Alexander A. Klimov f0c763465b sd_notify() systemd about what we're doing right now
refs #7329
2021-06-01 18:07:39 +02:00
Patrick Dolinic dc0193b4ea Docs: Change to reflect actual hoststate 2021-06-01 15:26:28 +02:00
Julian Brost 7012774f57 Make base_value/format test easier to understand
The old test looked really strange where it reads 3 into a Value and then
checks that it's not 3. However, what's going on there is that operator>> for
Value actually always reads a String, so instead check for what v should be,
not what it should not be.
2021-05-31 17:28:35 +02:00
Napsty d5672dbb3c Add new -S parameter for esxi_hardware ITL 2021-05-28 11:06:59 +02:00
Julian Brost 8b516f0c08
Merge pull request #8811 from Icinga/probot/update-authors/master/53fa6b8dd3d3bb05aa216e5ebb563135312d151a
Update AUTHORS
2021-05-26 16:53:16 +02:00
icinga-probot[bot] 8bf8b560b3
Update AUTHORS 2021-05-26 14:48:56 +00:00
Feu Mourek 53fa6b8dd3
Add a blank issue template with a link to the forum (#8807) 2021-05-26 16:48:50 +02:00
Alexander Aleksandrovič Klimov dbcb2549aa
Merge pull request #8708 from Icinga/bugfix/reminder-notification-after-timeperiod-with-interval-0
Make sure not to send reminder notification, if problem notification has been suppressed by TimePeriod
2021-05-25 16:09:36 +02:00
Alexander Aleksandrovič Klimov 2584779a89
Merge pull request #8352 from Icinga/bugfix/gha-support
GitHub actions: build also support/*
2021-05-20 18:08:03 +02:00
Alexander Aleksandrovič Klimov 0156434b2e
Merge pull request #8677 from Icinga/bugfix/mysql-one-transaction-for-programstatus
IDO: Use own transaction for program status and make sure InternalNewTransaction() gets executed
2021-05-20 11:49:07 +02:00
Noah Hilverling 8150b0656e
Merge pull request #8764 from Icinga/bugfix/icingadb-change-id-fields-to-match-sql-schema
Icinga DB: Change ID fields to match SQL schema
2021-05-20 10:44:55 +02:00
Noah Hilverling f551e95338 IDO-MySQL: Make sure InternalNewTransaction() and FinishAsyncQueries() get executed during high load 2021-05-19 17:28:11 +02:00
Noah Hilverling 15786baf3d IDO: Use own transaction for programstatus 2021-05-19 17:26:32 +02:00
Noah Hilverling 898e7fdf35 Icinga DB: Change ID fields to match SQL schema 2021-05-19 17:01:08 +02:00
Alexander A. Klimov f28b9fb7f3 ScheduledDowntime: ignore not related Downtimes while creating Downtimes 2021-05-19 16:10:57 +02:00
Julian Brost f5948b9182
Merge pull request #8763 from Icinga/bugfix/icingadb-global-keys-wrong-spacer
Icinga DB: Replace global keys spacer '_' with ':' to fit new schema
2021-05-19 12:11:50 +02:00
Noah Hilverling 34e50f2620
Merge pull request #8767 from Icinga/bugfix/fedora32
GitHub actions: don't build on Fedora 32
2021-05-19 09:28:55 +02:00
Alexander A. Klimov 1eeb93a8fb GitHub actions: don't build on Fedora 32 2021-05-18 13:10:16 +02:00
Noah Hilverling fb89c88ca9 Icinga DB: Replace global keys spacer '_' with ':' to fit new schema 2021-05-18 08:58:52 +02:00
Alexander A. Klimov 3bc9969acb UoM doc: clarify Am, Ah, Wm and Ws for non-electricians and where normalization happens 2021-05-10 19:16:06 +02:00
Noah Hilverling a8f98cf721
Merge pull request #8733 from Icinga/feature/icingadb-runtime-updates-via-streams
Icinga DB runtime updates and state via streams
2021-05-07 14:38:23 +02:00