fix: added reporting to output ntfy topic
All checks were successful
Run Check Script / check (pull_request) Successful in 1m2s
All checks were successful
Run Check Script / check (pull_request) Successful in 1m2s
This commit is contained in:
parent
49dad343ad
commit
1e2563f7d1
@ -115,7 +115,10 @@ impl<
|
|||||||
.interpret(&Inventory::empty(), topology)
|
.interpret(&Inventory::empty(), topology)
|
||||||
.await
|
.await
|
||||||
.map_err(|e| e.to_string())?;
|
.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 {
|
fn name(&self) -> String {
|
||||||
"Monitoring".to_string()
|
"Monitoring".to_string()
|
||||||
|
@ -43,6 +43,11 @@ impl AlertReceiver<RHOBObservability> for WebhookReceiver {
|
|||||||
"webhookConfigs": [
|
"webhookConfigs": [
|
||||||
{
|
{
|
||||||
"url": self.url,
|
"url": self.url,
|
||||||
|
"httpConfig": {
|
||||||
|
"tlsConfig": {
|
||||||
|
"insecureSkipVerify": true
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user