Commit Graph

12499 Commits

Author SHA1 Message Date
Alexander Aleksandrovič Klimov ee705bb110
Merge pull request #8547 from Icinga/bugfix/unable-to-toggle-notifications-from-icingaweb2-8533
Fix runtime config updates not working for objects without zone
2021-03-26 17:18:22 +01:00
Alexander Aleksandrovič Klimov ca9ce92b69
Merge pull request #8698 from Icinga/feature/icingadb-cache-environment-id
Icinga DB: cache environment ID instead of recomputing it every time
2021-03-26 17:16:42 +01:00
Alexander Aleksandrovič Klimov 0ee93754ee
Merge pull request #8691 from Icinga/bugfix/retry-rename-on-windows
Retry file rename operations on Windows for some errors
2021-03-26 17:16:25 +01:00
Alexander Aleksandrovič Klimov 65a77d4955
Merge pull request #8702 from Icinga/bugfix/missing-iostream-include
Add missing #include <iostream>
2021-03-26 17:16:01 +01:00
Julian Brost 180132806f
Merge pull request #8696 from Icinga/feature/improve-redisconnection-write-performance
RedisConnection::WriteRESP: Use one asio::async_write instead of many
2021-03-26 12:36:44 +01:00
Julian Brost 8813b74c9f
Merge pull request #8693 from Icinga/bugfix/stringbuilder-malloc
PackObject(): avoid one malloc()
2021-03-25 18:02:12 +01:00
Julian Brost b34818d3fc Add missing #include <iostream>
Fixes the following build error:

    /home/jbrost/dev/icinga2/lib/base/stdiostream.cpp: In member function ‘virtual size_t icinga::StdioStream::Read(void*, size_t, bool)’:
    /home/jbrost/dev/icinga2/lib/base/stdiostream.cpp:28:15: error: invalid use of incomplete type ‘std::iostream’ {aka ‘class std::basic_iostream<char>’}
       28 |  m_InnerStream->read(static_cast<char *>(buffer), size);
          |               ^~
2021-03-25 11:30:02 +01:00
Julian Brost e1c6e53458
Merge pull request #8697 from Icinga/bugfix/json-int
JsonEncode(): serialize integers w/o trailing .0
2021-03-25 11:12:53 +01:00
Noah Hilverling 5c8b32618c RedisConnection::WriteRESP: Use one asio::async_write instead of many 2021-03-24 13:14:01 +01:00
Alexander A. Klimov 9531de3835 JsonEncode(): serialize integers w/o trailing .0
... so Icinga DB can parse them as integers.
2021-03-23 17:52:37 +01:00
Julian Brost 41f7124692 Icinga DB: cache environment ID instead of recomputing it every time 2021-03-23 17:09:32 +01:00
Alexander A. Klimov 070b4f9d06 Drop StringBuilder 2021-03-23 13:13:47 +01:00
Alexander A. Klimov f89f35c798 PackObject(): avoid one malloc()
... for performance reasons.
2021-03-23 13:13:47 +01:00
Julian Brost 05c8e7f36f Retry file rename operations on Windows for some errors 2021-03-23 09:54:01 +01:00
Alexander Aleksandrovič Klimov 9830dc194b
Merge pull request #8688 from Icinga/feature/sha1-without-sprintf
Speed up SHA1 function by removing calls to sprintf
2021-03-22 18:46:08 +01:00
Alexander Aleksandrovič Klimov 1c0ce89cb3
Merge pull request #8681 from Icinga/bugfix/problem-notification-at-downtime-end
Send problem notifications after downtime end for checkables in child zones
2021-03-22 17:56:25 +01:00
Julian Brost 2a2229a49b Don't use sprintf for SHA1 to hex conversion 2021-03-19 10:31:01 +01:00
Julian Brost 49cfda833e Add tests for SHA1 function 2021-03-19 10:31:01 +01:00
Alexander Aleksandrovič Klimov ef8619f76b
Merge pull request #8601 from Icinga/feature/replace-std-boost-bind-with-lambdas-7006
Feature: Replace std/boost::bind() with lambdas
2021-03-18 17:56:13 +01:00
Julian Brost 29727e06c0 Only handle event::SetSuppressed{Notifications,NotificationTypes} within the local zone
Note that even when passing `nullptr` as target zone to `RelayMessage()`, the
cluster message will still be sent to the parent zone. These incoming messages
will now be rejected by the parent nodes. At the moment, there's no way to only
send within the local zone.
2021-03-17 15:05:12 +01:00
Yonas Habteab 43ba2da39c Replace std/boost::bind() function with lambda expression 2021-03-10 16:29:40 +01:00
Julian Brost 160d0ea371
Merge pull request #8676 from Icinga/bugfix/icingadb-delta-segv
IcingaDB#UpdateAllConfigObjects(): don't modify map concurrently
2021-03-09 09:12:03 +01:00
Alexander A. Klimov 31dacb8390 IcingaDB#UpdateAllConfigObjects(): don't modify map concurrently 2021-03-08 18:11:24 +01:00
Julian Brost a4cf81194a
Merge pull request #8650 from Icinga/feature/icingadb-delta
Icinga DB: re-insert only changed object attributes
2021-03-08 15:11:21 +01:00
Julian Brost b779b34fde
Merge pull request #8675 from Icinga/probot/sync-changelog/221e088be9117a65385b32dc3d2cf395356979d6
CHANGELOG.md: add v2.12.3
2021-03-08 11:11:57 +01:00
Noah Hilverling 5ee88fb2c8 CHANGELOG.md: add v2.12.3 2021-03-08 10:10:49 +00:00
Julian Brost 221e088be9
Merge pull request #8674 from Icinga/probot/sync-changelog/9060b05c7f69ca74d32c4fb0a5559b22985bad6e
CHANGELOG.md: add v2.12.2
2021-03-08 11:10:38 +01:00
Julian Brost b7c4e9e0db CHANGELOG.md: add v2.12.2 2021-03-08 10:04:49 +00:00
Julian Brost 9060b05c7f
Merge pull request #8673 from Icinga/probot/sync-changelog/d169abc22c7a4c553b4523f536b7d887367907b6
CHANGELOG.md: add v2.12.1
2021-03-08 11:04:37 +01:00
Alexander A. Klimov 764301d541 CHANGELOG.md: add v2.12.1 2021-03-08 09:56:09 +00:00
Alexander Aleksandrovič Klimov d169abc22c
Merge pull request #7968 from Icinga/bugfix/jsonrpcconnection-disconnect-log
JsonRpcConnection: always log errors
2021-03-08 10:55:55 +01:00
Julian Brost 02fd60934f
Merge pull request #8008 from Icinga/bugfix/ascii-tables-in-plugin-output-8006
PluginUtility::ParseCheckOutput(): if it doesn't look like perfdata, it's not perfdata
2021-03-05 17:19:38 +01:00
Julian Brost 6f531c5c5d
Merge pull request #8619 from Icinga/feature/opensuse152
GitHub actions: build openSUSE v15.2
2021-03-05 16:40:30 +01:00
Julian Brost 5ec66cea46
Merge pull request #8003 from Icinga/feature/snmp-interface-a-7963
check_snmp_int: support -a
2021-03-05 16:11:02 +01:00
Julian Brost 014dbb3bc0
Merge pull request #8621 from Icinga/feature/sles152
GitHub actions: build SLES v15.2
2021-03-05 09:01:57 +01:00
Alexander Aleksandrovič Klimov c2be914e21
Merge pull request #8663 from Icinga/probot/sync-changelog/d8c01f4a7ab56dff0fbfd392cd2ca7c9c63b49c8
CHANGELOG.md: add v2.11.8
2021-03-04 18:03:45 +01:00
Noah Hilverling 909dcc4a4d CHANGELOG.md: add v2.11.8 2021-03-04 17:02:43 +00:00
Alexander Aleksandrovič Klimov d8c01f4a7a
Merge pull request #8662 from Icinga/probot/sync-changelog/1dbc42eea6e034ee9b5832c488812a6cc0d1662f
CHANGELOG.md: add v2.11.7
2021-03-04 18:02:31 +01:00
Julian Brost 13b63882b6 CHANGELOG.md: add v2.11.7 2021-03-04 17:01:31 +00:00
Alexander Aleksandrovič Klimov 1dbc42eea6
Merge pull request #8661 from Icinga/probot/sync-changelog/a3daae442a792b5ff63af560f9a3dc1c77d5d45b
CHANGELOG.md: add v2.11.6
2021-03-04 18:01:18 +01:00
Julian Brost b4774f4836 CHANGELOG.md: add v2.11.6 2021-03-04 17:00:16 +00:00
Alexander Aleksandrovič Klimov a3daae442a
Merge pull request #8660 from Icinga/probot/sync-changelog/52f82b2e898473281d4d70f25569af0d6ce60dc3
CHANGELOG.md: add v2.11.5
2021-03-04 18:00:01 +01:00
Alexander A. Klimov aa386b6aaa CHANGELOG.md: add v2.11.5 2021-03-04 16:59:06 +00:00
Alexander Aleksandrovič Klimov 52f82b2e89
Merge pull request #8659 from Icinga/probot/sync-changelog/4c722b20a44dd882b549b4c29b8e28e13025ad33
CHANGELOG.md: add v2.11.4
2021-03-04 17:58:54 +01:00
Noah Hilverling 4606edc69d CHANGELOG.md: add v2.11.4 2021-03-04 16:57:52 +00:00
Alexander Aleksandrovič Klimov 4c722b20a4
Merge pull request #8658 from Icinga/probot/sync-changelog/2581a465366fab9f16bfa5876d4b4e230c26ba65
CHANGELOG.md: add v2.10.7
2021-03-04 17:57:36 +01:00
Michael Friedrich c7cae4ec14 CHANGELOG.md: add v2.10.7 2021-03-04 16:55:13 +00:00
Alexander Aleksandrovič Klimov 2581a46536
Merge pull request #8657 from Icinga/probot/sync-changelog/faa513a1793558dd54004cac3c84e60be151a12a
CHANGELOG.md: add v2.10.6
2021-03-04 17:55:00 +01:00
Michael Friedrich 64b0220cc1 CHANGELOG.md: add v2.10.6 2021-03-04 16:53:58 +00:00
Alexander Aleksandrovič Klimov faa513a179
Merge pull request #8656 from Icinga/probot/sync-changelog/30b4b20280f1446bc253c8edf45ebb41a2a6ba7f
CHANGELOG.md: add v2.9.3
2021-03-04 17:53:43 +01:00