Commit Graph

12566 Commits

Author SHA1 Message Date
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
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
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
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
Patrick Dolinic dc0193b4ea Docs: Change to reflect actual hoststate 2021-06-01 15:26:28 +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
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
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
Eric Lippmann c0cbc4533c Fix group member keys 2021-05-07 08:41:38 +02:00
Noah Hilverling 4005d81a43 Icinga DB: Sync state using runtime updates 2021-05-07 08:41:38 +02:00
Noah Hilverling ab04a4ee98 Icinga DB: Sync runtime updates using streams 2021-05-07 08:41:38 +02:00
Julian Brost a5dc52dea5 IcingaDB: use XADD MAXLEN instead of custom Lua script for heartbeats
The existing Lua script adds a new entry to a stream and then deletes all older
entries. The same can be achieved by using `XADD ... MAXLEN 1`.
2021-05-03 17:21:11 +02:00
Julian Brost 9dd210df84 IcingaDB: use XADD MAXLEN instead of custom Lua script for dump signals
The existing Lua script adds a new entry to a stream and then deletes all older
entries. The same can be achieved by using `XADD ... MAXLEN 1`.
2021-05-03 17:21:01 +02:00
Noah Hilverling aca8d063dc Icinga DB: Change redis key prefix to 'icinga:*' 2021-04-27 21:27:46 +02:00
Eric Lippmann b08b30ee80
Merge pull request #8684 from Icinga/feature/icingadb-signals-for-all-types
IcingaDB: Add dump signals for type dependencies and global keys and change signal pattern
2021-04-27 21:26:52 +02:00
Julian Brost 2d6d87d10f Convert::ToString(double): handle integral values too large for long long correctly
Even if a double represents an integer value, it might not be safe to cast it
to long long as it may overflow the type. Instead just use print the double
value with 0 decimals using std::setprecision.

Before:

    <1> => 18446744073709551616.to_string()
    "-9223372036854775808"

After:

    <1> => 18446744073709551616.to_string()
    "18446744073709551616"
2021-04-27 17:31:50 +02:00
Noah Hilverling 17c8e7a1f7
Merge pull request #8720 from Icinga/feature/xenial
GitHub actions: drop Ubuntu Xenial
2021-04-27 12:33:42 +02:00
Noah Hilverling 1e34aef9fd
Merge pull request #8729 from Icinga/feature/fedora34
GitHub actions: also build on Fedora 34
2021-04-27 12:33:15 +02:00
Noah Hilverling 60412dd991 Icinga DB: Add dump signals for type dependencies and global keys 2021-04-27 12:32:14 +02:00