topic Re: Bulk add component monitors with Orion SDK in Discussionshttps://thwack.solarwinds.com/t5/Discussions/Bulk-add-component-monitors-with-Orion-SDK/m-p/221637#M4478
<HTML><HEAD></HEAD><BODY><P>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.</P></BODY></HTML>Fri, 12 Jul 2019 09:04:31 GMTthorstein2019-07-12T09:04:31ZBulk add component monitors with Orion SDKhttps://thwack.solarwinds.com/t5/Discussions/Bulk-add-component-monitors-with-Orion-SDK/m-p/221630#M4471
<HTML><HEAD></HEAD><BODY><P>Greetings,</P><P></P><P>I'm not seeing a lot on this at this time; can you bulk add component monitors using PowerShell with SDK?&nbsp; 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.</P></BODY></HTML>Tue, 16 Sep 2014 22:37:48 GMThttps://thwack.solarwinds.com/t5/Discussions/Bulk-add-component-monitors-with-Orion-SDK/m-p/221630#M4471aussery2014-09-16T22:37:48ZRe: Bulk add component monitors with Orion SDKhttps://thwack.solarwinds.com/t5/Discussions/Bulk-add-component-monitors-with-Orion-SDK/m-p/221631#M4472
<HTML><HEAD></HEAD><BODY><P>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.</P></BODY></HTML>Wed, 17 Sep 2014 16:00:02 GMThttps://thwack.solarwinds.com/t5/Discussions/Bulk-add-component-monitors-with-Orion-SDK/m-p/221631#M4472tdanner2014-09-17T16:00:02ZRe: Bulk add component monitors with Orion SDKhttps://thwack.solarwinds.com/t5/Discussions/Bulk-add-component-monitors-with-Orion-SDK/m-p/221632#M4473
<HTML><HEAD></HEAD><BODY><P>Thought so.&nbsp; Just thought I'd check.</P></BODY></HTML>Wed, 17 Sep 2014 20:46:15 GMThttps://thwack.solarwinds.com/t5/Discussions/Bulk-add-component-monitors-with-Orion-SDK/m-p/221632#M4473aussery2014-09-17T20:46:15ZRe: Bulk add component monitors with Orion SDKhttps://thwack.solarwinds.com/t5/Discussions/Bulk-add-component-monitors-with-Orion-SDK/m-p/221633#M4474
<HTML><HEAD></HEAD><BODY><P>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.&nbsp; With that in mind, wouldn't it be possible to send a SQL Update and/or Insert statement to make this possible?&nbsp; </P></BODY></HTML>Mon, 20 Jun 2016 20:00:49 GMThttps://thwack.solarwinds.com/t5/Discussions/Bulk-add-component-monitors-with-Orion-SDK/m-p/221633#M4474xtraspecialj2016-06-20T20:00:49ZRe: Bulk add component monitors with Orion SDKhttps://thwack.solarwinds.com/t5/Discussions/Bulk-add-component-monitors-with-Orion-SDK/m-p/221634#M4475
<HTML><HEAD></HEAD><BODY><P>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.</P></BODY></HTML>Mon, 20 Jun 2016 21:25:34 GMThttps://thwack.solarwinds.com/t5/Discussions/Bulk-add-component-monitors-with-Orion-SDK/m-p/221634#M4475tdanner2016-06-20T21:25:34ZRe: Bulk add component monitors with Orion SDKhttps://thwack.solarwinds.com/t5/Discussions/Bulk-add-component-monitors-with-Orion-SDK/m-p/221635#M4476
<HTML><HEAD></HEAD><BODY><P>Hi Tim, any chance this functionality has been added since this question was posed in 2014?</P></BODY></HTML>Wed, 10 Jul 2019 19:20:42 GMThttps://thwack.solarwinds.com/t5/Discussions/Bulk-add-component-monitors-with-Orion-SDK/m-p/221635#M4476bcreynolds2019-07-10T19:20:42ZRe: Bulk add component monitors with Orion SDKhttps://thwack.solarwinds.com/t5/Discussions/Bulk-add-component-monitors-with-Orion-SDK/m-p/221636#M4477
<HTML><HEAD></HEAD><BODY><P>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.</P></BODY></HTML>Thu, 11 Jul 2019 21:40:51 GMThttps://thwack.solarwinds.com/t5/Discussions/Bulk-add-component-monitors-with-Orion-SDK/m-p/221636#M4477tdanner2019-07-11T21:40:51ZRe: Bulk add component monitors with Orion SDKhttps://thwack.solarwinds.com/t5/Discussions/Bulk-add-component-monitors-with-Orion-SDK/m-p/221637#M4478
<HTML><HEAD></HEAD><BODY><P>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.</P></BODY></HTML>Fri, 12 Jul 2019 09:04:31 GMThttps://thwack.solarwinds.com/t5/Discussions/Bulk-add-component-monitors-with-Orion-SDK/m-p/221637#M4478thorstein2019-07-12T09:04:31ZRe: Bulk add component monitors with Orion SDKhttps://thwack.solarwinds.com/t5/Discussions/Bulk-add-component-monitors-with-Orion-SDK/m-p/221638#M4479
<HTML><HEAD></HEAD><BODY><P>Hi,</P><P>wiki documentation: <A href="https://github.com/solarwinds/OrionSDK/wiki/SAM-Application-Monitoring-Templates" title="https://github.com/solarwinds/OrionSDK/wiki/SAM-Application-Monitoring-Templates">SAM Application Monitoring Templates · solarwinds/OrionSDK Wiki · GitHub</A> has been improved and we will continue to cover more details.</P><P>Regarding the creation of new components and component templates via SWIS, this was unfortunately omitted in the last release, but as this is desired, the feature is tracked under internal jira ticket: SAM-9636.</P></BODY></HTML>Wed, 17 Jul 2019 12:52:33 GMThttps://thwack.solarwinds.com/t5/Discussions/Bulk-add-component-monitors-with-Orion-SDK/m-p/221638#M4479pawelk2019-07-17T12:52:33ZRe: Bulk add component monitors with Orion SDKhttps://thwack.solarwinds.com/t5/Discussions/Bulk-add-component-monitors-with-Orion-SDK/m-p/221639#M4480
<HTML><HEAD></HEAD><BODY><P>Hi</P><P>Thank you very much for the feedback! It would make our workflow very much easier to be able to script in new components to a template, so I'm very happy this is now getting some attention <IMG src="https://thwack.solarwinds.com/legacyfs/online/emoticons/happy.png" /></P></BODY></HTML>Wed, 24 Jul 2019 07:44:11 GMThttps://thwack.solarwinds.com/t5/Discussions/Bulk-add-component-monitors-with-Orion-SDK/m-p/221639#M4480thorstein2019-07-24T07:44:11ZRe: Bulk add component monitors with Orion SDKhttps://thwack.solarwinds.com/t5/Discussions/Bulk-add-component-monitors-with-Orion-SDK/m-p/221640#M4481
<HTML><HEAD></HEAD><BODY><P>Have you tried the "Copy Component Monitors within Application Templates" feature yet?&nbsp; That's been built into SAM for years now and it does a great job.&nbsp; You basically build one component monitor in one template, then you can copy that component monitor as many times as you want to either the same template or other templates.&nbsp; It's a pretty handy feature.</P><P></P><P>Can you provide more details on what you are trying to do as there may be an easier way than what you are currently doing?</P></BODY></HTML>Thu, 15 Aug 2019 13:09:13 GMThttps://thwack.solarwinds.com/t5/Discussions/Bulk-add-component-monitors-with-Orion-SDK/m-p/221640#M4481xtraspecialj2019-08-15T13:09:13Z