1 2 3 4 Previous Next 137 Replies Latest reply on Jul 22, 2015 10:44 AM by allistair Go to original post
      • 25. Re: Orion SDK Information
        joiellis

        Ah ha!  This ToLocal() function only works with a SWIS v3 connection.  In a V2 connection I get an error, 'The socket connection was aborted...' error, as if the query timed out, but it fails instantly after submitting the query.  If I do this in V3 it works okay.

         

        Do you think you could add a note to the SDK documentation indicating which version of connections are required for which functions to work?

         

        Are there any plans to make V2 and V3 truly compatible?  Having to use V2 to access NCM data while switching to V3 to access other things like certain custom pollers and new SWQL features is turning into a nightmare for scripting.

        • 26. Re: Orion SDK Information
          tdanner

          Adding a "SWIS version supported" column to the function table is a good idea. I'll get that in for the next SDK release.

           

          There are no plans to add features to SWISv2. I recognize that it is painful to deal with some features only being available in one service (it's annoying for our developers too), but our direction is to move everything to SWISv3. There will never be a SWISv4 if I can help it, so we should not have to go through a transition like this again.

           

          As for NCM data, we have already moved NCM support to SWISv3 in development. I'm not in a position to make commitments about version numbers or release dates (try cvachovecj), but this distinction will not be with us too much longer.

          • 27. Re: Orion SDK Information
            juniordev

            I have an idea about supporting custompollerassignment, maybe it is available for the next version.

             

            http://thwack.solarwinds.com/ideas/2929

            • 28. Re: Orion SDK Information
              kjustin1996

              Anyone aware of a release date for SDK 1.8 release?

              Does SDK 1.8 support NPM 10.6.x?

              • 29. Re: Orion SDK Information
                tdanner

                We're working on finishing up the 1.8 SDK update, but I don't have a date for you.

                 

                In general the tools in the SDK 1.7 should connect to NPM 10.6 just fine.

                • 30. Re: Orion SDK Information
                  kjustin1996

                  Looking for some help with the powershell add, as the CRUD.addnode samples for SDK v1.7 fail with NPM 10.6.3

                   

                  SolarWinds Support recommended posting in this SDK as the blog has not gotten a response in 8 days.

                  Using Powershell to add nodes with Custom Properties for Device Type

                   

                  The goal is to automate the add/removes without any user intervention ruling out discovery.

                   

                  This worked with with SDK v1.6 and NPM 10.5.4

                   

                  Unfortunately this is an urgent matter for us to use the product.

                  Please have someone from the Development team or Product Manager to give me a call

                   

                  Thanks,

                  Kevin

                  • 31. Re: Orion SDK Information
                    kjustin1996

                    Duplicating the post.

                    Looking for some help with the powershell add, as the CRUD.addnode samples for SDK v1.7 fail with NPM 10.6.3

                     

                    SolarWinds Support recommended posting in this SDK as the blog has not gotten a response in 8 days.

                    Using Powershell to add nodes with Custom Properties for Device Type

                     

                    The goal is to automate the add/removes without any user intervention ruling out discovery.

                     

                    This worked with with SDK v1.6 and NPM 10.5.4

                     

                    Unfortunately this is an urgent matter for us to use the product.

                    Please have someone from the Development team or Product Manager to give me a call

                     

                    Thanks,

                    Kevin

                    • 32. Re: Orion SDK Information
                      kkhalil

                      SolarWinds to Service-Now we’re trying to do the following (option 1 is our preferred while option 2 is a fallback): 1) A) SolarWinds generates alert B) SolarWinds uses a “webservice/api/sdk/other tool” to “communicate with/connect to” with the appropriate information so ServiceNow can open a ticket with the appropriate categorization, priority, whether it is internally or externally managed (ticket assignment changes depending), etc. C) ServiceNow will communicate to the “response team” that there is a new ticket that must be addressed D) ServiceNow will “communicate with/connect to” SolarWinds to acknowledge the alert and to record the ServiceNow ticket in to the acknowledgement notes E) SolarWinds will register alert and set alert to acknowledged status and will include the ServiceNow ticket number *END* 2) A) SolarWinds generates alert B) SolarWinds sends email notification to ServiceNow – email will need to be in appropriate form to be “absorbed” C) ServiceNow “absorbs” email and generates a ticket with the appropriate categorization, priority, whether it is internally or externally managed (ticket assignment changes depending), etc. D) ServiceNow “responds” to email with acknowledgement and ticket number E) SolarWinds registers the response and sets the alert to acknowledged status and will include the ServiceNow ticket number *END* At this time, we’re looking for foundational materials to help us get started and determine the easiest/best way to perform one of these options and we’re hoping SolarWinds support can give us some pointers on where to researching documentation and what documentation may exist. Our hope is this is a relatively straight forward activity since it seems like it would be fairly standard that companies would want their monitoring and ticketing systems to interact. We have been rather ineffectually researching SolarWinds documentation and Thwack for roughly a week and have been unable to find the “start here” materials. We understand that the referenced SDK is not supported and we will have to use Thwack as support, however, at this point, we don’t have enough information to understand whether the SDK is our best/only option. We see in the release notes that there is the VBClient, etc. however it is unclear if this is the proscribed technique or just *A* technique.

                      • 33. Re: Orion SDK Information
                        fabi

                        Hi,

                         

                        I will like to send Status Group Nodes to a external website with icons status. I read Oiron SDK informations but i'm loose

                         

                        Example i would send that :

                         

                        Capture.JPG

                        • 34. Re: Orion SDK Information
                          RichardLetts

                          Is there an API to set the node location do they appear on the [new] worldview maps?

                           

                          Can this be a design goal: if a new product feature is added then an API has to be added to SWIS to support it...

                          • 35. Re: Orion SDK Information
                            derhally

                            You can use the SDK to add entries to the Orion.WorldMap.Point entity.   Once you do that, the nodes will show up on the map.

                            • 36. Re: Orion SDK Information
                              fabi

                              No, in fact i want to send this module on a web page.

                              I try actually a solution, but if you can help me !

                              • 37. Re: Orion SDK Information
                                derhally

                                I don't understand your comment.  Can you please clarify?  Thanks.

                                • 38. Re: Orion SDK Information
                                  fabi

                                  Sorry for my english i'm french !

                                  i want to extract data's SolarWinds, or interrog BD SolarWinds to view Nodes / Groups supervision on a another website that Orion Web Interface !

                                   

                                  It's OK ?

                                   

                                   

                                  Happy NEW YEAR !

                                  • 39. Re: Orion SDK Information
                                    derhally

                                    I don't know what version of Orion you have, but if you have the latest, with some javascript/jquery you should be able to do a http post to https://<orion ip>:17778/SolarWinds/InformationService/v3/Json/Query

                                     

                                    with the body containing your query.  e.g.

                                    {

                                         "query":"SELECT NodeID, Caption FROM Orion.Nodes ORDER BY Caption"

                                    }

                                     

                                    You will get back a result like

                                     

                                    {

                                         "totalRows":1,

                                         "results":[

                                              {

                                                 "NodeID": 1,

                                                "Caption": "My Router"

                                              }

                                         ]

                                    }

                                    • 40. Re: Orion SDK Information
                                      fabi

                                      Big Thanks to your help ! i will try your trick !

                                      • 41. Re: Orion SDK Information
                                        chrisaustin

                                        Hi,  I've extracted and installed 1.8 but don't see the "addvolume" sample you referenced.  I'm currently automating IE in powershell to programmatically add a node, but would like to be able to add a server, for instance, and discover the interfaces and volumes within the API.

                                         

                                        Thanks!

                                         

                                        Chris

                                        • 42. Re: Orion SDK Information
                                          tdanner

                                          You are right - this sample apparently didn't get added. The post is incorrect. I'll get it updated. Sorry about that.

                                          • 43. Re: Orion SDK Information
                                            jfoley

                                            Hello. Please pardon my ignorance - I'm new to the Windows development community. I installed the MSI for the SDK but I can't seem to find any documentation for it - could somebody point me to the right direction?

                                            • 44. Re: Orion SDK Information
                                              tdanner

                                              You can find the documention on the Start menu. Start > SolarWinds Orion SDK > Technical Reference.

                                              • 45. Re: Orion SDK Information
                                                jfoley

                                                Thank you! I'm so blind.

                                                • 46. Re: Orion SDK Information
                                                  jfoley

                                                  I have another question - do you have anywhere I can find any PHP examples?

                                                  • 47. Re: Orion SDK Information
                                                    tdanner

                                                    I don't know of any PHP examples for this. I know very little about PHP and nothing about the application you are working in, so I'm hesitant to give advice. The JSON API is pretty straightforward, so you should be able to use any general purpose HTTP client to work with it. Surprisingly (to me, anyway), Stack Overflow users seem to recommend just shelling out to curl.exe for making REST calls from PHP.

                                                    • 48. Re: Orion SDK Information
                                                      jfoley

                                                      That's what I figured I'd end up going with (cURL is PHP's main way of executing HTTP Requests) - I just have to figure out how to communicate with the API, heh.

                                                      • 49. Re: Orion SDK Information
                                                        tdanner

                                                        curl -v -k -u admin: -X POST -H "Content-Type: application/json" -d @postdata.json https://localhost:17778/SolarWinds/InformationService/v3/Json/Query

                                                         

                                                        Where the file postdata.json contains something like this: { "query": "SELECT TOP 1 DisplayName, DetailsUrl FROM Orion.Nodes" }

                                                        1 2 3 4 Previous Next