-
Re: API for updating Custom Fields via REST Call in Solarwinds
dan jagnow Jun 4, 2019 7:15 PM (in response to akpanjwani)You'll find some information about how to integrate SolarWinds Orion with ServiceNow here:
How to service-now integrate with solarwinds
However, all the discussions about integration that I've found revolve around sending data from SolarWinds to ServiceNow. You seem to be interested in doing the reverse. Can you provide additional details about what events in ServiceNow you would like to send to SolarWinds Orion, and where you would like them to show up?
-
Re: API for updating Custom Fields via REST Call in Solarwinds
akpanjwani Jun 6, 2019 6:41 AM (in response to dan jagnow)It is not about event flow. We would like to push data from ServiceNow to SolarWinds lets say there are some field which are customized and available in both ServiceNow and Solarwinds (Like city for devices ) so that through rest web api Service now should push the data in Solarwinds.
-
Re: API for updating Custom Fields via REST Call in Solarwinds
dan jagnow Jun 6, 2019 3:52 PM (in response to akpanjwani)If you're interested in making changes to custom properties, you'll want to read the Modifying Custom Properties section of this page in the wiki:
Managing Custom Properties · solarwinds/OrionSDK Wiki · GitHub
-
Re: API for updating Custom Fields via REST Call in Solarwinds
akpanjwani Jun 7, 2019 5:40 AM (in response to dan jagnow)Do we have any rest web API which could update the values of custom properties defined in Solar winds and we could try to push the values from ServiceNow?
-
Re: API for updating Custom Fields via REST Call in Solarwinds
dan jagnow Jun 7, 2019 11:34 AM (in response to akpanjwani)Do we have any rest web API which could update the values of custom properties defined in Solar winds and we could try to push the values from ServiceNow?
Yes. The REST API documentation below includes a section on updating custom properties.
-
Re: API for updating Custom Fields via REST Call in Solarwinds
akpanjwani Jun 10, 2019 6:17 AM (in response to dan jagnow)what is the user interface where we run these Web Api's is it a browser??
Lets say below is the rest query request .
GET https://localhost:17778/SolarWinds/InformationService/v3/Json/Query?query=SELECT+Uri+FROM+Orion.Pollers+ORDER+BY+PollerID+WITH+ROWS+1+TO+3+WITH+TOTALROWS HTTP/1.1
Authorization: Basic YWRtaW46
User-Agent: curl/7.20.0 (i386-pc-win32) libcurl/7.20.0 OpenSSL/0.9.8l zlib/1.2.3
Host: localhost:17778
Accept: */*Tried to execute https://orion_server:17778/SolarWinds/InformationService/v3/Json/swis://tdanner-dev.swdev.local/Orion/Orion.Pollers/Pol… in web browser but received the message:
This site can’t be reached orion.bv.c.om’s server IP address could not be found.
Try running Windows Network Diagnostics.
DNS_PROBE_FINISHED_NXDOMAIN
Thanks,
Amit
-
Re: API for updating Custom Fields via REST Call in Solarwinds
mesverrumJun 10, 2019 7:02 AM (in response to akpanjwani)
REST and API's are not something you interact with via a web browser. Seems like you will need to review the wiki documentation more thoroughly and might find this article to be helpful as a starting point:
https://loop1.com/swblog/using-the-rest-api-to-get-the-most-out-of-solarwinds-part-1/
https://loop1.com/swblog/using-the-rest-api-to-get-the-most-out-of-solarwinds-part-2/
-
Re: API for updating Custom Fields via REST Call in Solarwinds
Steven KlassenJun 10, 2019 8:56 AM (in response to mesverrum)
mesverrum is spot on with not using a browser, but I noticed the error message looked like you had put an extra period in your domain. Is it supposed to be orion.bv.com?
-
-
Re: API for updating Custom Fields via REST Call in Solarwinds
sander franken Jun 11, 2019 4:13 AM (in response to akpanjwani)I support what the guys above me said. Also, your URL has "swis://tdanner-dev.swdev.local" in it. As you're not T. Danner or in the Solarwinds Development team, this wouldn't work in the first place. You seem to have copied an example Response from the wiki.
-
-
-
-
-
-