Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Troubleshooting the 'View in Alertmanager' Button in Email Notifications #1413

Open
Sartanar opened this issue Apr 25, 2024 · 0 comments
Open

Comments

@Sartanar
Copy link

This question concerns Openshift. I have 2 clusters and on one of them I deployed multicluster-observability-operator on Redhat ACM:

https://access.redhat.com/documentation/en-us/red_hat_advanced_cluster_management_for_kubernetes/2.3/html-single/observability/index

It's a simple configuration that collects alerts from all clusters and sends them via email. So, I invoke MultiClusterObservability which creates a StatefulSet, and the StatefulSet manages the pods.

apiVersion: observability.open-cluster-management.io/v1beta2
kind: MultiClusterObservability
metadata:
name: observability
spec:
enableDownsampling: true
imagePullPolicy: Always
observabilityAddonSpec:
enableMetrics: true
interval: 60
storageConfig:
metricObjectStorage:
name: thanos-object-store
key: thanos.yaml
storeStorageSize: 1Gi
storageClass: xxx
advanced:
retentionConfig:
blockDuration: 2h
deleteDelay: 48h
retentionInLocal: 24h
retentionResolutionRaw: 10d
retentionResolution5m: 90d
retentionResolution1h: 10d

The emails work great (after configuring alertmanager.yaml), but there's a generic "View in Alertmanager" button in these emails. With the aforementioned configuration, this button doesn't work by default. The URL under the button points to:

http://observability-alertmanager-0:9093/#/alerts?receiver=XXX

observability-alertmanager-0 - this is the name of the pod. As I mentioned, everything is deployed through MultiClusterObservability. Could someone guide me on how to fix this button (so it actually directs to the Alertmanager's address) or at least someone could point me to documentation that controls this, as I can’t find it in the official sources,

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant