Greetings,
I'm not seeing a lot on this at this time; can you bulk add component monitors using PowerShell with SDK? I've got something around 380 directories I need to apply a monitor to, and it'd be great if I didn't have to do that manually.
At this time, SAM supports programmatically assigning existing application templates to nodes, but there is no API for customizing the templates or adding arbitrary component monitors.
Thought so. Just thought I'd check.
I seem to remember a post at some point on the Orion SDK forums (can't find it right now) where you can update SQL data over the API. With that in mind, wouldn't it be possible to send a SQL Update and/or Insert statement to make this possible?
This does exist (search the forum for "ExecuteSQL"), but I would not recommend it for this purpose. The data collection services keep a bunch of in-memory state. Even if you updated the database directly, this state would be out of sync.
Hi Tim, any chance this functionality has been added since this question was posed in 2014?
It looks like some API in this area was added in SAM 6.8, released recently! But I am having trouble finding the public documentation that would actually explain how to use it. Let me check with the SAM team.
Would be great with an update to this. I need to somehow make a couple of hundred component monitors in a few application templates, AND also hopefully be able to programmatically add more later to the already created applications. I've been able to run export template, add the xml to the file, however running import creates a new application template while I'd prefer to just add the changes to the one I've exported from.