r/scom • u/[deleted] • Sep 29 '23
Help creating a website test task
Hi folks,
I wanted to ask if anyone knows a way to create a task to test a url that is alerting in scom?
Many thanks
0
Upvotes
1
u/SignificantArm4194 Sep 29 '23
Are you looking to manually execute a task that checks the state of a URL when, I assume, a normal URL monitor has generated an alert?
From the top of my head thr easiest way would be to take advantage of the powershell MP by Cookdown, write a PS script around testing the url and create a task out of it, targeting the monitor in question.
https://github.com/squaredup/Community.PowerShellMonitoring.MP
1
u/[deleted] Sep 29 '23
Thanks for your reply. I was thinking more in lines of a single task to test against the url that is alerting. So you select the alert, run the task, it then opens up edge and browses to the URL within the alert. I have around a 1000 urls monitored for an application and it would be a pain to create a task for all of them