From 1e2563f7d1f836ca0ad9f0033ba472c5f4b32c8a Mon Sep 17 00:00:00 2001 From: Willem Date: Wed, 10 Sep 2025 13:10:06 -0400 Subject: [PATCH] fix: added reporting to output ntfy topic --- harmony/src/modules/application/features/rhob_monitoring.rs | 5 ++++- .../src/modules/monitoring/alert_channel/webhook_receiver.rs | 5 +++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/harmony/src/modules/application/features/rhob_monitoring.rs b/harmony/src/modules/application/features/rhob_monitoring.rs index 6861629..1da75f7 100644 --- a/harmony/src/modules/application/features/rhob_monitoring.rs +++ b/harmony/src/modules/application/features/rhob_monitoring.rs @@ -115,7 +115,10 @@ impl< .interpret(&Inventory::empty(), topology) .await .map_err(|e| e.to_string())?; - Ok(InstallationOutcome::success()) + Ok(InstallationOutcome::success_with_details(vec![format!( + "ntfy topic: {}", + self.application.name() + )])) } fn name(&self) -> String { "Monitoring".to_string() diff --git a/harmony/src/modules/monitoring/alert_channel/webhook_receiver.rs b/harmony/src/modules/monitoring/alert_channel/webhook_receiver.rs index 52124ff..1b20df3 100644 --- a/harmony/src/modules/monitoring/alert_channel/webhook_receiver.rs +++ b/harmony/src/modules/monitoring/alert_channel/webhook_receiver.rs @@ -43,6 +43,11 @@ impl AlertReceiver for WebhookReceiver { "webhookConfigs": [ { "url": self.url, + "httpConfig": { + "tlsConfig": { + "insecureSkipVerify": true + } + } } ] }