This question is a little bit technical and I hope that I can explain it right.
We want to monitor a lot of rest api’s and I have created a powershell script for this.
In scom I need to target this script to a class and with mpauthor and a fragment from Kevin Holman, I have created a discovery and class based on a file that exist on a linux server where I need to request the rest api. Every powershell monitor that I target to this class is sitting under the same instance of this class, that one linux server.
What I need is one class for each web url that I need to request. How can I create this sub classes, maybe also with mpauthor?
I hope that my question is clear.