need to monitor url using curl to get an output 301 moved permanenetly
Since SW is installed primarily in Windows you might opt to use a powershell script monitor with invoke-webrequest. If you must use curl for some reason then you'll need to install it to the server and wrap it in a script to call and parse the results.
Can you please help how to use powershell to get the output with invoke-webrequest
MS docs have examples for every built int powershell function
https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/invoke-webrequest?view=powershell-7.5specifically in a SW context these threads should help
SAM Powershell Monitor for cURL check
Using SAM to Call a Rest API (Rightfax Faxing job monitor)