This section assumes basic familiarity with Grafana alerting concepts such as alert rules, notification policies, and contact points. Select the links to Grafana documentation below if needed.
Managing Alert Definitions
Beeks provides a vmxadmin command which should be run after deployment to configure and manage the appliance health alerts in Grafana.
This script can also be run to disable alerts and to list all enabled/disabled alerts.
The basic command for this has the following format:
vmxadmin grafana-alerts [enable|disable|list] [group list]where…
[group list] - an optional parameter that lists the group of alerts that the command will be applied to.
enable - enable all alerts (or the ones specified in [group list] if it is provided).
disable - disable all alerts (or the ones specified in [group list] if it is provided).
list - list all alerts (or the ones specified in [group list] if it is provided) and whether they are enabled/disabled.
This enables the alert rules. You can then configure contact points in Grafana to set up where the alerts are sent.
Configuring Grafana Contact Points
A Grafana contact point defines the possible destinations for alert notifications. The Grafana documentation provides information on how to configure these contacts points.
Once the contact points are enabled, you need to enable it to receive alert notifications, either by assigning it to specific alert rules or by assigning it to notification policies.