Allright, I've looked around and haven't been able to find what I am looking for in terms of custom agent documentation. I have a custom agent script that I want to make dynamic and be re-usable by being able to pass a parameter. The hope was so that I could deploy many custom agent in which each agent could pass the parameter to get their individual metrics. Very much like a logfilter agent where you create multiple ones using the same agent, but you feed in the location of the logs that you want the agent to parse through. In a similar fashion I want to be able to feed my script a parameter.
Secondly, when looking at a custom agent property I see the property 'cmdLine'. Can someone explain the purpose of this property and how it is used?