Configure Custom Alert Contact Points in Grafana¶
Contact Points in Grafana define where and how alerts are sent when they are triggered. They specify the notification channels used to deliver alert messages.
Key Features of Contact Points:
- Support multiple notification channels like Slack, Microsoft Teams, PagerDuty, Webhooks, etc.
- Allow configuration to send different alerts to different teams.
- Enable custom message templates for better alert context.
- Include fallback mechanisms to ensure alerts are delivered if the primary contact fails
To create a contact point, refer to the Contact Points section in Grafana documentation.
Associate Custom Contact Point with Privacera Alert Rules.¶
If you have created a custom contact point and need to associate it with existing Privacera alerts, follow the steps below.
Note
You can associate one or more Grafana contact points with all alerts provisioned by Privacera. List multiple names as a comma-separated string; a single name (no commas) is also supported.
-
Login to the Privacera jumphost and navigate to the
custom-varsdirectory.Bash -
Copy
vars.monitoring.ymlfile fromsample-varsdirectory tocustom-varsdirectory.If the file already exists in the
custom-varsdirectory, skip this step.Bash -
Uncomment or add
GRAFANA_ALERT_CONTACT_POINT_NAMEin the file. Set the value to the Grafana contact point name, or to multiple names in one comma-separated list. Save the file.Single contact point:
YAML Multiple contact points:
YAML -
Re-run the
setupcommand to apply the changes. - Follow this documentation to trigger the post-install job to upload the dashboards and alerts to the Grafana instance Post-install Job Documentation