Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
Chapter 10. Alerts and Notifications
Alerts are current problems and critical conditions that occur in the system and notified to the user. The Grafana monitoring platform generates alerts based on severity levels.
You can configure alerts via SMTP and SNMP protocols. SMTP configuration will send email alerts to users that have email notifications enabled. SNMPv3 configuration will send SNMP trap alerts to the Alerts notifications drawer of the Web Administration environment.
10.1. Types of Alerts Link kopierenLink in die Zwischenablage kopiert!
The alerts triggered by the dashboard are classified in the following categories:
- Status alerts : Alerts arising when a cluster resource undergoes a change of state. For example, Healthy to Unhealthy.
- Utilization alerts: Alerts arising after a cluster resource exceed the set threshold and after it reverts to the normal state. For example, when the Host CPU utilization is breached, an alert is triggered notifying the user about the event.
10.2. List of Alerts Link kopierenLink in die Zwischenablage kopiert!
The list of Web Administration alerts are given in the tables below.
Status Alerts
| Alert | System Resource |
|---|---|
| volume status | Volume and Cluster |
| volume state | Volume and Cluster |
| brick status | Volume, Host, and Cluster |
| peer status | Cluster |
| rebalance status | Volume and Cluster |
| Geo-Replication status | Cluster |
| quorum of volume lost | Volume and Cluster |
| quorum of volume regained | Volume and Cluster |
| svc connected | Cluster |
| svc disconnected | Cluster |
| minimum number of bricks not up in EC subvolume | Volume and Cluster |
| minimum number of bricks up in EC subvolume | Volume and Cluster |
| afr quorum met for subvolume | Volume and Cluster |
| afr quorum fail for subvolume | Volume and Cluster |
| afr subvolume up | Volume and Cluster |
| afr subvolume down | Volume and Cluster |
Utilization Alerts
| Alert | System Resource |
|---|---|
| cpu utilization | Host |
| memory utilization | host |
| swap utilization | host |
| volume utilization | Volume and Cluster |
| brick utilization | Volume and Cluster |
10.3. Alerts Notifications Drawer Link kopierenLink in die Zwischenablage kopiert!
Alerts drawer is a notification delivery utility embedded in the Web Administration interface to display the system wide alerts.
Accessing Alerts Drawer
To access the Alerts drawer, log in the Web Administration interface. In the default landing interface, locate and click on the interactive bell icon on the header bar at the top right-hand side.
- The drawer is opened displaying the number of alerts generated.
To filter alerts, click on the status icons at the right.
If the alert message is truncated and not viewable, hover over the alert message and a dialogue box will open displaying the complete alert message.
10.4. SMTP Notifications Configuration Link kopierenLink in die Zwischenablage kopiert!
To configure SMTP email notifications, install and configure tendrl-notifier first.
Install tendrl-notifier:
yum install tendrl-notifier
yum install tendrl-notifierCopy to Clipboard Copied! Toggle word wrap Toggle overflow Open the
/etc/tendrl/notifier/notifier.conf.yamlfile and update:etcd_connection: <FQDN of etcd server>
etcd_connection: <FQDN of etcd server>Copy to Clipboard Copied! Toggle word wrap Toggle overflow NoteEnsure to use FQDNs for volumes creation as Web Administration does not support short hostnames. Volumes already created in the Gluster clusters using short names or IP addresses will display inconsistent data in the Web Administration interface.
After the tendrl-notifier file is configured, configure SMTP email notifications:
-
Open the
/etc/tendrl/notifier/email.conf.yamlfile Update the parameters:
email_id = <The sender email id> email_smtp_server = <The smtp server> email_smtp_port = <The smtp port>
email_id = <The sender email id> email_smtp_server = <The smtp server> email_smtp_port = <The smtp port>Copy to Clipboard Copied! Toggle word wrap Toggle overflow -
If the SMTP server supports only authenticated email, follow the template in the
/etc/tendrl/notifier/email_auth.conf.yaml.samplefile and accordingly enable the following:
auth = <ssl/tls>
email_pass = <password corresponding to email_id for authenticating to smtp server>
auth = <ssl/tls>
email_pass = <password corresponding to email_id for authenticating to smtp server>
10.5. SNMPv3 Notification Configuration Link kopierenLink in die Zwischenablage kopiert!
Configure SNMP
To configure SNMPv3 trap notifications, install and configure tendrl-notifier first.
Install tendrl-notifier:
yum install tendrl-notifier
yum install tendrl-notifierCopy to Clipboard Copied! Toggle word wrap Toggle overflow Open the
/etc/tendrl/notifier/notifier.conf.yamlfile and update:etcd_connection: <FQDN of etcd server>
etcd_connection: <FQDN of etcd server>Copy to Clipboard Copied! Toggle word wrap Toggle overflow NoteEnsure to use FQDNs for volumes creation as Web Administration does not support short hostnames. Volumes already created in the Gluster clusters using short names or IP addresses will display inconsistent data in the Web Administration interface.
After the tendrl-notifier file is configured, configure SNMPv3 trap notifications:
Open the
tendrl-notifierconfiguration file:cat /etc/tendrl/notifier/snmp.conf.yaml
# cat /etc/tendrl/notifier/snmp.conf.yamlCopy to Clipboard Copied! Toggle word wrap Toggle overflow Update the parameters in the file for v3 trap alerts:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow