Contents
- Configure Grafana SMTP settings
- Start Grafana
- Setup Alerts in Grafana
- Modify Alert Thresholds
- View Alert Status
Configure Grafana SMTP settings
Within the Elastio command line, perform the following commands to configure email.
ec config grafana
##################### Grafana SMTP Configuration ##################### [smtp] enabled = false host = smtp.domain.com:587 ; SMTP server address and port user = email@domain.com ; SMTP username password = password ; SMTP password skip_verify = true ; Set to true if using self-signed certificates from_address = grafana@domain.com ; Sender's email address from_name = Elastio On-Prem Cluster ; Sender's name [emails] welcome_email_on_sign_up = false ; Send welcome email on sign-up ######################################################################
Start Grafana
http://leader_node_ip_or_hostname:3001 Default credentials admin/admin, on first login you must change the password
Setup Alerts in Grafana
Navigate to Alerting> Contact points. Press the “Add contact point” button.
After selecting integration “Email” and specifying addresses, you can press the “Test” button to send a test notification to the contact point.
Note: The alerts will be set with default thresholds. For example, Elastio will trigger an alert if free disk space is less than 10 GB by default. You can modify the thresholds for alerts based on your needs.
Modify Alert Thresholds
To modify the default thresholds for these alerts, follow these steps:
Navigate to Alerting → Alert rules, and duplicate an alert from Elastio Provisioned Rules
- Set the thresholds that suit your needs.
- Suppress the old alert created by default.
View Alert Status
Alert statuses can be seen on the Elastio Cluster Metrics dashboard in Grafana.