- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
- Manual curl testing
To verify that a connection is possible, the correct username/password combination, and the required SolarWinds permissions are correct, the easiest test is to issue a curl command.
curl --user <user>:<password> --header "Content-Type: application/json" --request POST --data ' {"query":" SELECT NodeId FROM Orion.Nodes ORDER BY NodeId WITH ROWS 1 TO 10"}' https://<test.solarwinds.com>:17778/SolarWinds/InformationService/v3/Json/Query
Issue this command via a terminal on the mid server if necessary or a local instance. This will avoid any ServiceNow specific code and verify that the proper connection and authentication can be established.
- Postman Testing
There are 2 txt files attached (SolarWinds.postman_collection.txt and SolarWinds.postman_environment.txt). These files need to be downloaded then renamed to .json files (not allowed to attach json files directly).
Once the files are correctly renamed to json files they can be imported into Postman (File -> Import).
After importing, select the SolarWinds environment and then edit it with the proper hostname, username, and password in the corresponding INITIAL VALUE and CURRENT VALUE fields.
Proceed to send Postman requests to verify responses.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.