API/SDK for a REST call to update Component settings

Is there a way using the SWQL REST calls to update the Component Settings for a Application monitor assigned to a node?

Example:

I have a Node and I have created an Application Monitor for HTTP.  The URL and proxy settings need to be updated for the Node, however, I would like to do this via an API/SDK.  The GUI interface is not an option.

Parents
  • For anyone else that comes across this thread, this is now possible to do. For a bit more information, check out Dan's answer to my questions at the bottom of this thread.

    Here is an example of modifying the Url field of an HTTPS component monitor using the REST API.

    Override a component setting:

    POST to https://orionserver:17778/SolarWinds/InformationService/v3/Json/Create/Orion.APM.ComponentSetting with a JSON payload that looks like this:

    {"Key":"Url","Value":"YourCustomValue","ValueType":0,"Required":true,"ComponentID":YourComponentID}

    Edit an component setting that is already overridden:

    POST to https://orionserver:17778/SolarWinds/InformationService/v3/Json/swis://orionserver/Orion/Orion.APM.ComponentSetting/ComponentID=YourComponentID,Key="Url" with a JSON payload that looks like this:{"Value":"YourCustomValue"}

  • Thanks, I was looking for that !

    It's not even in the swagger !

Reply Children
No Data