You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/mariadb/howto-configure-audit-logs-cli.md
+9-3Lines changed: 9 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,8 +5,10 @@ author: savjani
5
5
ms.author: pariks
6
6
ms.service: mariadb
7
7
ms.topic: how-to
8
-
ms.date: 6/24/2020
9
-
ms.custom: devx-track-azurecli
8
+
ms.date: 05/06/2022
9
+
ms.custom:
10
+
- devx-track-azurecli
11
+
- kr2b-contr-experiment
10
12
---
11
13
12
14
# Configure and access Azure Database for MariaDB audit logs in the Azure CLI
@@ -32,22 +34,26 @@ To complete this guide:
32
34
33
35
Enable and configure audit logging using the following steps:
34
36
35
-
1. Turn on audit logs by setting the **audit_logs_enabled** parameter to "ON".
37
+
1. Turn on audit logs by setting the **audit_logs_enabled** parameter to "ON".
38
+
36
39
```azurecli-interactive
37
40
az mariadb server configuration set --name audit_log_enabled --resource-group myresourcegroup --server mydemoserver --value ON
38
41
```
39
42
40
43
1. Select the [event types](concepts-audit-logs.md#configure-audit-logging) to be logged by updating the **audit_log_events** parameter.
44
+
41
45
```azurecli-interactive
42
46
az mariadb server configuration set --name audit_log_events --resource-group myresourcegroup --server mydemoserver --value "ADMIN,CONNECTION"
43
47
```
44
48
45
49
1. Add any MariaDB users to be excluded from logging by updating the **audit_log_exclude_users** parameter. Specify users by providing their MariaDB user name.
50
+
46
51
```azurecli-interactive
47
52
az mariadb server configuration set --name audit_log_exclude_users --resource-group myresourcegroup --server mydemoserver --value "azure_superuser"
48
53
```
49
54
50
55
1. Add any specific MariaDB users to be included for logging by updating the **audit_log_include_users** parameter. Specify users by providing their MariaDB user name.
56
+
51
57
```azurecli-interactive
52
58
az mariadb server configuration set --name audit_log_include_users --resource-group myresourcegroup --server mydemoserver --value "sampleuser"
description: Learn how to set up and manage read replicas in Azure Database for MariaDB using PowerShell.
2
+
title: Manage Azure Database for MariaDB read replicas
3
+
description: Learn how to set up and manage read replicas in Azure Database for MariaDB using PowerShell in the General Purpose or Memory Optimized pricing tiers.
4
4
author: savjani
5
5
ms.author: pariks
6
6
ms.service: mariadb
7
7
ms.topic: how-to
8
-
ms.date: 6/10/2020
9
-
ms.custom: devx-track-azurepowershell
8
+
ms.date: 05/06/2022
9
+
ms.custom:
10
+
- devx-track-azurepowershell
11
+
- kr2b-contr-experiment
10
12
---
11
13
12
14
# How to create and manage read replicas in Azure Database for MariaDB using PowerShell
13
15
14
-
In this article, you learn how to create and manage read replicas in the Azure Database for MariaDB service using PowerShell. To learn more about read replicas, see the
15
-
[overview](concepts-read-replicas.md).
16
-
17
-
## Azure PowerShell
16
+
In this article, you learn how to create and manage read replicas in the Azure Database for MariaDB service using PowerShell. To learn more about read replicas, see the [overview](concepts-read-replicas.md).
18
17
19
18
You can create and manage read replicas using PowerShell.
Copy file name to clipboardExpand all lines: articles/mariadb/howto-restart-server-powershell.md
+7-5Lines changed: 7 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,17 +1,19 @@
1
1
---
2
-
title: Restart server - Azure PowerShell - Azure Database for MariaDB
3
-
description: This article describes how you can restart an Azure Database for MariaDB server using PowerShell.
2
+
title: Restart Azure Database for MariaDB server - Azure PowerShell
3
+
description: Learn how you can restart an Azure Database for MariaDB server using PowerShell. The time required for a restart depends on the MariaDB recovery process.
4
4
author: savjani
5
5
ms.author: pariks
6
6
ms.service: mariadb
7
7
ms.topic: how-to
8
-
ms.date: 5/26/2020
9
-
ms.custom: devx-track-azurepowershell
8
+
ms.date: 05/06/2022
9
+
ms.custom:
10
+
- devx-track-azurepowershell
11
+
- kr2b-contr-experiment
10
12
---
11
13
12
14
# Restart Azure Database for MariaDB server using PowerShell
13
15
14
-
This topic describes how you can restart an Azure Database for MariaDB server. You may need to restart
16
+
This article describes how you can restart an Azure Database for MariaDB server. You may need to restart
15
17
your server for maintenance reasons, which causes a short outage during the operation.
16
18
17
19
The server restart is blocked if the service is busy. For example, the service may be processing a
title: Configure metric alerts - Azure portal - Azure Database for MySQL - Flexible Server
2
+
title: Configure Azure Database for MySQL metric alerts
3
3
description: This article describes how to configure and access metric alerts for Azure Database for MySQL Flexible Server from the Azure portal.
4
4
author: savjani
5
5
ms.author: pariks
6
6
ms.service: mysql
7
7
ms.topic: how-to
8
-
ms.date: 9/21/2020
8
+
ms.date: 05/06/2022
9
+
ms.custom: kr2b-contr-experiment
9
10
---
10
11
11
12
# Set up alerts on metrics for Azure Database for MySQL - Flexible Server
@@ -19,7 +20,7 @@ The alert triggers when the value of a specified metric crosses a threshold you
19
20
You can configure an alert to do the following actions when it triggers:
20
21
21
22
* Send email notifications to the service administrator and co-administrators
22
-
* Send email to additional emails that you specify.
23
+
* Send email to other emails that you specify
23
24
* Call a webhook
24
25
25
26
You can configure and get information about alert rules using:
@@ -33,42 +34,40 @@ You can configure and get information about alert rules using:
33
34
1. In the [Azure portal](https://portal.azure.com/), select the Azure Database for MySQL flexible server you want to monitor.
34
35
2. Under the **Monitoring** section of the sidebar, select **Alerts**.
35
36
3. Select **+ New alert rule**.
36
-
4. The **Create rule** page opens. Fill in the required information:
37
+
4. The **Create rule** page opens. Fill in the required information.
37
38
5. Within the **Condition** section, choose **Select condition**.
38
-
6. You will see a list of supported signals, select the metric you want to create an alert on. For example, select "Storage percent".
39
-
7. You will see a chart for the metric for the last six hours. Use the **Chart period** dropdown to select to see longer history for the metric.
40
-
8. Select the **Threshold** type (ex. "Static" or "Dynamic"), **Operator** (ex. "Greater than"), and **Aggregation type** (ex. average). This will determine the logic that the metric alert rule will evaluate.
41
-
-If you are using a **Static** threshold, continue to define a **Threshold value** (ex. 85 percent). The metric chart can help determine what might be a reasonable threshold.
42
-
-If you are using a **Dynamic** threshold, continue to define the **Threshold sensitivity**. The metric chart will display the calculated thresholds based on recent data. [Learn more about Dynamic Thresholds condition type and sensitivity options](../../azure-monitor/alerts/alerts-dynamic-thresholds.md).
39
+
6. You'll see a list of supported signals, select the metric you want to create an alert on. For example, select Storage percent.
40
+
7. You'll see a chart for the metric for the last six hours. Use the **Chart period** dropdown to select to see longer history for the metric.
41
+
8. Select the **Threshold** type (ex. "Static" or "Dynamic"), **Operator** (ex. "Greater than"), and **Aggregation type** (ex. average). This selection determines the logic that the metric alert rule will evaluate.
42
+
*If you're using a **Static** threshold, continue to define a **Threshold value** (ex. 85 percent). The metric chart can help determine what might be a reasonable threshold.
43
+
*If you're using a **Dynamic** threshold, continue to define the **Threshold sensitivity**. The metric chart will display the calculated thresholds based on recent data. [Learn more about Dynamic Thresholds condition type and sensitivity options](../../azure-monitor/alerts/alerts-dynamic-thresholds.md).
43
44
9. Refine the condition by adjusting **Aggregation granularity (Period)** interval over which data points are grouped using the aggregation type function (ex. "30 minutes"), and **Frequency** (ex "Every 15 Minutes").
44
-
10.Click**Done**.
45
+
10.Select**Done**.
45
46
11. Add an action group. An action group is a collection of notification preferences defined by the owner of an Azure subscription. Within the **Action Groups** section, choose **Select action group** to select an already existing action group to attach to the alert rule.
46
-
12. You can also create a new action group to receive notifications on the alert. Refer to [create and manage action group](../../azure-monitor/alerts/action-groups.md) for more information.
47
-
13. To create a new action group, choose **+ Create action group**. Fill out the "Create action group" form with a **Subscription**, **Resource group**, **Action group name** and **Display Name**.
47
+
12. You can also create a new action group to receive notifications on the alert. For more information, see [create and manage action group](../../azure-monitor/alerts/action-groups.md).
48
+
13. To create a new action group, choose **+ Create action group**. Fill out the **Create action group** form with a **Subscription**, **Resource group**, **Action group name** and **Display Name**.
48
49
14. Configure **Notifications** for action group.
49
50
50
-
In **Notification type**, choose "Email Azure Resource Manager Role" to select subscription Owners, Contributors, and Readers to receive notifications. Choose the **Azure Resource Manager Role** for sending the email.
51
+
In **Notification type**, choose **Email Azure Resource Manager Role** to select subscription Owners, Contributors, and Readers to receive notifications. Choose the **Azure Resource Manager Role** for sending the email.
51
52
You can also choose **Email/SMS message/Push/Voice** to send notifications to specific recipients.
52
53
53
54
Provide **Name** to the notification type and select **Review + Create** when completed.
0 commit comments