Commit Graph

  • cfca8909ae
    Merge pull request #10403 from Icinga/drop-superfluous-cmake-modules master Yonas Habteab 2025-04-08 10:48:18 +02:00
  • 8ab859d828
    itl/ssl_cert: Add --ignore-maximum-validity option (#10396) Silas 2025-04-08 09:18:38 +02:00
  • 9ecf7714e3
    Update command-plugins.conf to ensure compatibility with nagios-plugins' check_disk (#10395) Silas 2025-04-08 09:02:02 +02:00
  • cfc55322fb Change RedisConnection::Query::value_type from String to std::variant<const char*,String> redis-query-variant Alexander A. Klimov 2025-04-02 12:57:30 +02:00
  • 384a9444fc Introduce String#String(const std::string_view&) Alexander A. Klimov 2025-04-02 12:46:10 +02:00
  • b668b4de90 Introduce String#operator std::string_view() Alexander A. Klimov 2025-04-02 12:34:42 +02:00
  • 7958048a72 Use RedisConnection::Quer* type aliases instead of (the equivalent std::vector) Alexander A. Klimov 2025-03-25 17:01:08 +01:00
  • 4873a347d7 Unconditionally allow processing CheckResults in tests activation-priority-10179 Alexander A. Klimov 2025-03-31 14:37:53 +02:00
  • 657850c74b LivestatusQuery#Execute(): take CheckResultProducer::Ptr Alexander A. Klimov 2025-04-03 11:05:24 +02:00
  • 0f5714fda6 LivestatusQuery#ExecuteCommandHelper(): take CheckResultProducer::Ptr Alexander A. Klimov 2025-04-03 11:04:20 +02:00
  • bdd3e3875a ExternalCommandProcessor::ProcessFile(): take CheckResultProducer::Ptr Alexander A. Klimov 2025-04-03 11:02:26 +02:00
  • 931c1fab6b ExternalCommandProcessor::ExecuteFromFile(): take CheckResultProducer::Ptr Alexander A. Klimov 2025-04-03 11:02:03 +02:00
  • 4ea07bd880 ExternalCommandProcessor::Execute(): take CheckResultProducer::Ptr Alexander A. Klimov 2025-04-03 10:58:55 +02:00
  • 8dfa24fcec ExternalCommandProcessor::RegisterCommand(): allow callback to take a CheckResultProducer::Ptr Alexander A. Klimov 2025-04-02 15:34:55 +02:00
  • ade302a08b ExternalCommandProcessor::Process*CheckResult(): take CheckResultProducer::Ptr Alexander A. Klimov 2025-04-02 15:28:15 +02:00
  • 0c91e8f09b ClusterEvents::ExecuteCheckFromQueue(): take ApiListener::Ptr Alexander A. Klimov 2025-04-02 14:53:36 +02:00
  • 9b82505295 Checkable#ExecuteCheck(): take CheckResultProducer::Ptr Alexander A. Klimov 2025-04-02 14:51:30 +02:00
  • bd4110db5e CheckCommand#Execute(): take CheckResultProducer::Ptr Alexander A. Klimov 2025-04-02 14:36:33 +02:00
  • 8e6061f11e IcingadbCheck::ScriptFunc(): take CheckResultProducer::Ptr Alexander A. Klimov 2025-04-02 14:24:12 +02:00
  • bd95cdb468 IdoCheckTask::ScriptFunc(): take CheckResultProducer::Ptr Alexander A. Klimov 2025-04-02 14:23:32 +02:00
  • de6270ab78 SleepCheckTask::ScriptFunc(): take CheckResultProducer::Ptr Alexander A. Klimov 2025-04-02 13:23:09 +02:00
  • 4a553a9fff RandomCheckTask::ScriptFunc(): take CheckResultProducer::Ptr Alexander A. Klimov 2025-04-02 13:22:43 +02:00
  • a14ac3f41e PluginCheckTask::ScriptFunc(): take CheckResultProducer::Ptr Alexander A. Klimov 2025-04-02 13:22:19 +02:00
  • fca4b185c1 NullCheckTask::ScriptFunc(): take CheckResultProducer::Ptr Alexander A. Klimov 2025-04-02 13:21:26 +02:00
  • 8c1c38cf3e IfwApiCheckTask::ScriptFunc(): take CheckResultProducer::Ptr Alexander A. Klimov 2025-04-02 13:20:39 +02:00
  • dbc08502f5 IcingaCheckTask::ScriptFunc(): take CheckResultProducer::Ptr Alexander A. Klimov 2025-04-02 13:19:54 +02:00
  • 02f90908ee ExceptionCheckTask::ScriptFunc(): take CheckResultProducer::Ptr Alexander A. Klimov 2025-04-02 13:19:13 +02:00
  • ca02291795 DummyCheckTask::ScriptFunc(): take CheckResultProducer::Ptr Alexander A. Klimov 2025-04-02 13:18:20 +02:00
  • bb4a9d1192 ClusterZoneCheckTask::ScriptFunc(): take CheckResultProducer::Ptr Alexander A. Klimov 2025-04-02 13:17:50 +02:00
  • 34cf122c8e ClusterCheckTask::ScriptFunc(): take CheckResultProducer::Ptr Alexander A. Klimov 2025-04-02 13:16:19 +02:00
  • c124f4beef *#Stop(): wait for own Checkable#ProcessCheckResult()s to finish Alexander A. Klimov 2025-04-02 12:16:07 +02:00
  • e8da951c1f ApiListener#RelayMessageOne(): log to which Endpoint messages are relayed ref/NC/820479/2.14.5-with-patches Alexander A. Klimov 2025-04-03 10:30:12 +02:00
  • fc70825cb2 Zone#GetEndpoints(): return endpoints in the specified order, not randomly Alexander A. Klimov 2025-03-25 13:04:41 +01:00
  • cf9ca50d19 Introduce Endpoint#seconds_{reading_messages,awaiting_semaphore,processing_messages} for the API Alexander A. Klimov 2025-03-21 10:06:44 +01:00
  • 2b1e1a5a08 Benchmark message reading/waiting/processing time per endpoint Alexander A. Klimov 2024-12-10 15:59:10 +01:00
  • 002d422738 Introduce AtomicDuration Alexander A. Klimov 2020-07-09 10:47:54 +02:00
  • 7a26dea9ff IcingaDB: Don't publish useless data to Redis Yonas Habteab 2025-03-04 17:34:38 +01:00
  • 4114d31434 Avoid undefined behavior in string/vector_move test Julian Brost 2025-03-10 09:28:33 +01:00
  • 067131aa51 Value: Add a specialized rvalue reference of Get() Yonas Habteab 2025-02-27 17:38:05 +01:00
  • 39ec24d638 Add test that std::vector<icinga::String> uses move overloads Julian Brost 2025-03-06 11:46:48 +01:00
  • 8236d74669 String: Mark move constructor & assignment op as noexcept Yonas Habteab 2025-02-27 17:20:07 +01:00
  • 5a30554db9 Drop superfluous CMake modules Yonas Habteab 2025-04-03 16:24:24 +02:00
  • 9abf482708
    Merge pull request #10402 from Icinga/raise-minimum-cmake-version Yonas Habteab 2025-04-07 10:25:59 +02:00
  • 5a6b2044b1
    Merge pull request #10290 from Icinga/icingadb-dependencies-sync Julian Brost 2025-04-04 15:13:05 +02:00
  • cff8c60ba9 Drop superfluous MACOSX_RPATH definition Yonas Habteab 2025-04-03 15:56:22 +02:00
  • 28c61c904a Fix CMake doesn't export symbols of executables anymore Yonas Habteab 2025-04-03 16:43:31 +02:00
  • 7f164bda96 Raise cmake minimum required version to 3.8...3.17 Yonas Habteab 2025-04-03 10:01:43 +02:00
  • afccb1e0fe WIP3 aklimov/json-rpc-read-process-metrics Alexander A. Klimov 2025-04-03 15:30:31 +02:00
  • 84dc5dff72 WIP2 Alexander A. Klimov 2025-04-03 15:25:55 +02:00
  • d63e728e51 Introduce Endpoint#seconds_{reading_messages,awaiting_semaphore,processing_messages} for the API json-rpc-read-process-metrics Alexander A. Klimov 2025-03-21 10:06:44 +01:00
  • bfe7151516 Benchmark message reading/waiting/processing time per endpoint Alexander A. Klimov 2024-12-10 15:59:10 +01:00
  • ba52383bb7
    _ Al2Klimov-TEST-11 Alexander Aleksandrovič Klimov 2025-04-03 13:27:56 +02:00
  • da888b8719
    Require CMake 3.5 Al2Klimov-patch-11 Alexander Aleksandrovič Klimov 2025-04-03 13:25:45 +02:00
  • d1d649ff33
    Merge pull request #10401 from Icinga/gha-fix-alpine-cmake Julian Brost 2025-04-03 12:17:54 +02:00
  • 0b32ea8b28 ApiListener#RelayMessageOne(): log to which Endpoint messages are relayed zone-endpoint-log Alexander A. Klimov 2025-04-03 10:30:12 +02:00
  • 33838a620a
    GHA: Fix Alpine After CMAKE_OPTS Refactoring Alvar Penning 2025-04-03 09:33:42 +02:00
  • 0673dfa644
    Merge pull request #9949 from Icinga/libressl Yonas Habteab 2025-04-03 09:17:33 +02:00
  • 0e647d057a JsonEncoder#GetResult(): std::move(), not copy, data make-json-fast-again Alexander A. Klimov 2025-04-02 15:09:31 +02:00
  • 23c2365115 Checkable#ProcessCheckResult(): discard CR or delay its producers shutdown Alexander A. Klimov 2025-04-02 10:55:43 +02:00
  • 27e1850381
    Merge pull request #10399 from Icinga/severity-reachability Julian Brost 2025-04-02 09:39:40 +02:00
  • 712d39740f Introduce Endpoint#messages_received_per_type cnt-msg Alexander A. Klimov 2025-04-01 16:45:58 +02:00
  • dd9e211927 Count incoming messages per type and endpoint Alexander A. Klimov 2025-04-01 15:38:38 +02:00
  • 80bce03565 String: provide operator+ for String&&, not only const String& Alexander A. Klimov 2025-04-01 14:49:32 +02:00
  • 31a224c509 Checkable::GetSeverity(): always take reachability into account Julian Brost 2025-03-31 13:53:14 +02:00
  • 1e05a166f1 Host::GetSeverity(): remove empty line at end of method Julian Brost 2025-03-31 13:25:01 +02:00
  • d8271c6568 Host::GetSeverity(): remove explicit unlocking Julian Brost 2025-03-31 13:23:07 +02:00
  • 2ebee010f0 Host::GetHost(): return early to remove a nesting level Julian Brost 2025-03-31 13:21:02 +02:00
  • 6443f8997f Host::GetSeverity(): add braces to if statements Julian Brost 2025-03-31 13:19:21 +02:00
  • c899d52e2f Service::GetSeverity(): remove explicit unlocking Julian Brost 2025-03-31 13:05:47 +02:00
  • 01acfb47a9 Service::GetHost(): return early to remove a nesting level Julian Brost 2025-03-31 13:03:43 +02:00
  • 5ca6047b35 Service::GetSeverity(): replace switch with if Julian Brost 2025-03-31 13:01:03 +02:00
  • a1865e1b43 Service::GetSeverity(): simplify nested if, add braces Julian Brost 2025-03-31 12:58:20 +02:00
  • e90a62abc8 Actually use Registry#Freeze() at startup, when everything has been registered Registry-Freeze Alexander A. Klimov 2024-11-08 13:15:59 +01:00
  • e0911991e7 Introduce Registry::GetInstance() to deduplicate such methods Alexander A. Klimov 2024-11-08 12:43:08 +01:00
  • 6af2f9bd19 Introduce Registry#Freeze() Alexander A. Klimov 2024-11-08 12:18:38 +01:00
  • ee0d9d1b55 ApiFunction: store own name Alexander A. Klimov 2025-03-31 10:44:22 +02:00
  • 84cb9d8371 mkclass: inherit from Object like this: class T : virtual public Object Alexander A. Klimov 2025-03-28 15:21:24 +01:00
  • 072b38673e CheckerComponent#Stop(): wait for all Checkable#ProcessCheckResult() to finish activation_priority-10179 Alexander A. Klimov 2025-03-28 12:47:06 +01:00
  • 713930727f Introduce Defer#operator bool() Alexander A. Klimov 2025-03-28 11:42:30 +01:00
  • 951af1801e Activate ExternalCommandListener after and deactivate it before anything else Alexander A. Klimov 2025-03-19 12:54:05 +01:00
  • 4725ebfa03 Activate ApiListener after and deactivate it before anything else ex. checker Alexander A. Klimov 2025-03-19 12:52:49 +01:00
  • e7a21c1830 GetCertificateCN(): if the CN is missing, fall back to the DNS SAN cn64-9310nix Alexander A. Klimov 2024-07-03 11:58:38 +02:00
  • e4c52154e6
    Docs: External CA/PKI: clarify intermediate CA cross-signing options Al2Klimov-patch-8 Alexander Aleksandrovič Klimov 2025-03-26 12:40:08 +01:00
  • bc2c750551 IcingaDB: Don't stream runtime state updates to Redis Yonas Habteab 2025-03-26 10:48:37 +01:00
  • a943c4588b Zone#GetEndpoints(): return endpoints in the specified order, not randomly zone-endpoint-order Alexander A. Klimov 2025-03-25 13:04:41 +01:00
  • 061338156c
    Merge pull request #10345 from Icinga/remove-child-downtimes Julian Brost 2025-03-21 16:37:43 +01:00
  • b6a73e2d36 Registry#Get*(): use shared locking to allow concurrent access Alexander A. Klimov 2024-11-08 11:57:05 +01:00
  • 6002ed9f1f Make Registry#ItemMap a hash table to speed up lookups Alexander A. Klimov 2024-11-08 11:53:27 +01:00
  • a316e85d13 Inline Registry#RegisterInternal() used only once Alexander A. Klimov 2024-11-08 11:50:31 +01:00
  • 527e22ea7e Remove unused Registry#OnRegistered Alexander A. Klimov 2024-11-08 11:48:15 +01:00
  • e0e82449d8 Remove unused Registry#OnUnregistered Alexander A. Klimov 2024-11-08 11:47:23 +01:00
  • adde9cc53b
    Merge pull request #10222 from Icinga/Registry-cleanup Alexander Aleksandrovič Klimov 2025-03-21 11:00:49 +01:00
  • 37c50c1fee Introduce Endpoint#pending_outgoing_messages for the API pending_outgoing_messages Alexander A. Klimov 2024-12-11 17:21:08 +01:00
  • 1a723a477a Count still queued messages per JsonRpcConnection Alexander A. Klimov 2024-12-11 16:57:50 +01:00
  • 2b4abee33b Atomic: allow changing the default of std::memory_order_seq_cst Alexander A. Klimov 2024-12-11 16:14:36 +01:00
  • 469f94e549
    Merge pull request #10369 from Icinga/cflags Alexander Aleksandrovič Klimov 2025-03-20 16:57:21 +01:00
  • 065118bc22 Make DependencyGroup::State an enum Julian Brost 2025-03-13 15:02:56 +01:00
  • 864e2aaae0 Drop superfluous mutex lock & don't manually unpack std::tuple Yonas Habteab 2025-03-13 16:37:26 +01:00
  • 693d094ebc DependencyGroup: don't change the keys of m_Members after construction Julian Brost 2025-03-13 13:13:06 +01:00
  • 945a79e37f IcingaDB: Don't send useless dependencies state updates Yonas Habteab 2025-02-28 17:20:03 +01:00