You might be able to use the File system to monitor files on the Azure VM, assuming the file share is mounted as a data disk and not a mapped drive. But you would still need to poll the destination for the missing file(s). I'm not sure what third-party software you're using in your Azure VM but I would consider looking into that. If that software writes to an event log, then you could use Azure Monitor Agent to collect those events and configure an alert rule based on those events.
File tracking and automated notification or pipeline trigger
Hi Team,
We have requirement as below,
Step 1: Files will be generated by third party vendor & mail notification will sent for file readiness.
Step 2: Manually a third-party software which will extract the file from source and place the file in Azure File Share which is mounted in Azure VM. This third-party s/w is in Azure VM.
Now we need to send notification when the file is not able to copy @step2 & we need to trigger the pipeline once the file is copied. Our understanding is there is a limitation currently that File Share can't be monitored/integrated in Triggers.
There is no any API to send event from VM to Event Grid, is there any services or approach to fulfill the above requirement.
1 answer
Sort by: Most helpful
-
Ryan Hill 25,661 Reputation points Microsoft Employee
2023-03-22T17:27:01.0066667+00:00