Skip to content

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 Email, 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

Only a single contact point can be associated with all alerts provisioned by Privacera.

  1. Login to the Privacera jumphost and navigate to the custom-vars directory.

    Bash
    cd ~/privacera/privacera-manager/config/custom-vars/
    

  2. Copy vars.monitoring.yml file from sample-vars directory to custom-vars directory.

    If the file already exists in the custom-vars directory, skip this step.

    Bash
    cp ../sample-vars/vars.monitoring.yml ./
    
  3. Uncomment or add GRAFANA_ALERT_CONTACT_POINT_NAME variable in the file and provide the Contact point name as value and save.

    Bash
    GRAFANA_ALERT_CONTACT_POINT_NAME: "CONTACT_POINT_NAME"
    

  4. Re-run post-install step to apply the changes.

    Bash
    cd ~/privacera/privacera-manager/
    ./privacera-manager.sh post-install
    

Comments