I need to hit via a URL every 5 minutes to check the health of an app in azure. A PS script should pass in the header, make the web request and alert if a non 200 code is received. Is this possible with either SAM or NPM?
Yes in SAM depending on your needs, there are three options: SOAP monitors, REST monitors, or powershell script monitors (where it actually runs your powershell code).
i ended up making the PS script monitor. thank you sir!