|
| 1 | +--- |
| 2 | +title: Monitor Azure Managed Lustre |
| 3 | +description: Start here to learn how to monitor Azure Managed Lustre. |
| 4 | +ms.date: 08/16/2024 |
| 5 | +ms.custom: horz-monitor |
| 6 | +ms.topic: conceptual |
| 7 | +author: pauljewellmsft |
| 8 | +ms.author: pauljewell |
| 9 | +ms.service: azure-managed-lustre |
| 10 | +--- |
| 11 | + |
| 12 | +# Monitor Azure Managed Lustre |
| 13 | + |
| 14 | +[!INCLUDE [horz-monitor-intro](~/../azure-stack/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-intro.md)] |
| 15 | + |
| 16 | +[!INCLUDE [horz-monitor-resource-types](~/../azure-stack/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-resource-types.md)] |
| 17 | + |
| 18 | +For more information about the resource types for Azure Managed Lustre, see [Azure Managed Lustre monitoring data reference](monitor-file-system-reference.md). |
| 19 | + |
| 20 | +[!INCLUDE [horz-monitor-data-storage](~/../azure-stack/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-data-storage.md)] |
| 21 | + |
| 22 | +[!INCLUDE [horz-monitor-platform-metrics](~/../azure-stack/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-platform-metrics.md)] |
| 23 | + |
| 24 | +For a list of available metrics for Azure Managed Lustre, see [Azure Managed Lustre monitoring data reference](monitor-file-system-reference.md#metrics). |
| 25 | + |
| 26 | +[!INCLUDE [horz-monitor-resource-logs](~/../azure-stack/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-resource-logs.md)] |
| 27 | + |
| 28 | +For the available resource log categories, their associated Log Analytics tables, and the log schemas for Azure Managed Lustre, see [Azure Managed Lustre monitoring data reference](monitor-file-system-reference.md#supported-resource-logs-for-microsoftstoragecacheamlfilesystems). |
| 29 | + |
| 30 | +[!INCLUDE [horz-monitor-activity-log](~/../azure-stack/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-activity-log.md)] |
| 31 | + |
| 32 | +[!INCLUDE [horz-monitor-analyze-data](~/../azure-stack/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-analyze-data.md)] |
| 33 | + |
| 34 | +[!INCLUDE [horz-monitor-external-tools](~/../azure-stack/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-external-tools.md)] |
| 35 | + |
| 36 | +[!INCLUDE [horz-monitor-kusto-queries](~/../azure-stack/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-kusto-queries.md)] |
| 37 | + |
| 38 | +This section shows queries that you can enter in the **Log search** bar to help you monitor your Managed Lustre file system. |
| 39 | + |
| 40 | +- **Aggregate operations query**: List all the UnsuspendAmlFilesystem requests for a given time duration. |
| 41 | + |
| 42 | + ```kusto |
| 43 | + AFSAuditLogs |
| 44 | + // The OperationName below can be replaced by obtain other operations such as "RebootAmlFilesystemNode" or "AmlFSRefreshHSMToken". |
| 45 | + | where OperationName has "UnsuspendAmlFilesystem" |
| 46 | + | project TimeGenerated, _ResourceId, ActivityId, ResultSignature, ResultDescription, Location |
| 47 | + | sort by TimeGenerated asc |
| 48 | + | limit 100 |
| 49 | + ``` |
| 50 | +
|
| 51 | +- **Unauthorized requests query**: Count of failed AMLFilesystems requests due to unauthorized access. |
| 52 | +
|
| 53 | + ```kusto |
| 54 | + AFSAuditLogs |
| 55 | + // 401 below could be replaced by other result signatures to obtain different operation results. |
| 56 | + // For example, 'ResultSignature == 202' to obtain accepted requests. |
| 57 | + | where ResultSignature == 401 |
| 58 | + | summarize count() by _ResourceId, OperationName |
| 59 | + ``` |
| 60 | +
|
| 61 | +[!INCLUDE [horz-monitor-alerts](~/../azure-stack/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-alerts.md)] |
| 62 | +
|
| 63 | +### Azure Managed Lustre alert rules |
| 64 | +
|
| 65 | +The following table lists some suggested alert rules for Azure Managed Lustre. The alerts in this table are just examples. You can set alerts for any metric, log entry, or activity log entry listed in the [Azure Managed Lustre monitoring data reference](monitor-file-system-reference.md). |
| 66 | +
|
| 67 | +| Alert type | Condition | Description | |
| 68 | +| --- | --- | --- | |
| 69 | +| Metric | (**OST Bytes Used** / **OST Bytes Total**) > 0.85 | Storage capacity usage for the file system has exceeded 85% of total| |
| 70 | +| Metric | (**OST Files Used** / **OST Files Total**) > 0.85 | Number of files in the file system has exceeded 85% of total | |
| 71 | +
|
| 72 | +> [!NOTE] |
| 73 | +> The threshold value of 85% is used as an example to show an alert before the file system reaches full capacity. You can adjust the threshold based on your requirements. |
| 74 | +
|
| 75 | +[!INCLUDE [horz-monitor-advisor-recommendations](~/../azure-stack/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-advisor-recommendations.md)] |
| 76 | +
|
| 77 | +## Related content |
| 78 | +
|
| 79 | +- See [Azure Managed Lustre monitoring data reference](monitor-file-system-reference.md) for a reference of the metrics, logs, and other important values created for Azure Managed Lustre. |
| 80 | +- See [Monitoring Azure resources with Azure Monitor](/azure/azure-monitor/essentials/monitor-azure-resource) for general details on monitoring Azure resources. |
0 commit comments