@Girish Prajwal This section provides some example alerts for Azure File Sync: https://learn.microsoft.com/en-us/azure/storage/files/storage-sync-files-monitoring#how-to-create-an-alert-if-files-are-failing-to-sync-to-a-server-or-cloud-endpoint
- In the Azure portal, navigate to respective Storage Sync Service.
- Go to the Monitoring section and click Alerts.
- Click on + New alert rule to create a new alert rule.
- Configure condition by clicking Select condition.
- Within Configure signal logic blade, click Server online status under signal name.
- Select the following dimension configuration:
- Dimension name: Server name
- Operator: =
- Dimension values: All current and future values
- Navigate to Alert Logic and complete the following:
- Threshold set to Static
- Operator: Less than
- Aggregation type: Maximum
- Threshold value (in bytes): 1
- Evaluated based on: Aggregation granularity = 1 hour | Frequency of evaluation = Every 30 minutes
- Note that the metrics are sent to Azure Monitor every 15 to 20 minutes. Do not set the Frequency of evaluation to less than 30 minutes (will generate false alerts).
- Click Done.
- Click Select action group to add an action group (email, SMS, etc.) to the alert either by selecting an existing action group or creating a new action group.
- Fill in the Alert details like Alert rule name, Description and Severity.
- Click the Create an alert rule.
A server endpoint may not log sync activity for the following reasons: The server has reached the maximum number of concurrent sync sessions. Azure File Sync currently supports 2 active sync sessions per processor or a maximum of 8 active sync sessions per server. The server has an active VSS sync session (SnapshotSync). When a VSS sync session is active for a server endpoint, other server endpoints on the server cannot start a start sync session until the VSS sync session completes. To check current sync activity on a server, see How do I monitor the progress of a current sync session? .
Hope this helps!
Kindly let us know if the above helps or you need further assistance on this issue.
---------------------------------------------------------------------------------------------------------
Please don’t forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.