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

        Hi , I am new to solarwinds

        I just download SDK & install it.

        I try to connect to server (default name is SWSrv1) from SWQL studio but i dont know which server type i can use?

        Btw, may i know this SWSrv1 is your product server or we need setup our own server?

        if connect to local, Is it the local server have been setup automatically after installation or we need do it manually?

        • 76. Re: Orion SDK Information
          madhavan

          Hi,

           

          Server types are just how you are authenticated to connected to Orion Information Service. You can use any type of authentication based on the need and configuration. But provided below the easiest to connect to swql studio.

           

          For connecting to local server (if the product is installed there) :

           

          Server : localhost

          Server type : Orion (v3) Certificate

           

          For connecting to a different server :

           

          Server : "Server name"

          Server Type : Orion (V3)

          • 77. Re: Orion SDK Information
            yangj

            i am not able to use SwisSnapin in windows power shell after install the SDK.

            How can i manually install it?

            • 78. Re: Orion SDK Information
              madhavan

              Did you add swissnapin to the current session? If not use the below mentioned command.

               

              Add-PSSnapin swissnapin

              • 79. Re: Orion SDK Information
                yangj

                Hi ,

                When I issue that command in widows powershell, I get this error:

                PS C:\Program Files (x86)\SolarWinds\Orion SDK\SWQL Studio> Add-PSSnapin swissnapin

                Add-PSSnapin : No snap-ins have been registered for Windows PowerShell version 2.

                At line:1 char:13

                + Add-PSSnapin <<<<  swissnapin

                    + CategoryInfo          : InvalidArgument: (swissnapin:String) , PSArgumentException

                    + FullyQualifiedErrorId : AddPSSnapInRead,Microsoft.PowerShell.Commands.AddPSSnapinCommand

                • 80. Re: Orion SDK Information
                  Jan Pelousek

                  Hello,

                   

                  this looks like the issue with registration of the SDK libraries. Typically this might happen when you install th Orion SDK under non-administrative account.

                   

                  To register the SWIS PowerShell snapin on 32-bit Windows computers:

                  Run the following command, all on one line. C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\InstallUtil.exe 'C:\Program Files\SolarWinds\Orion SDK\SWQL Studio\SwisPowerShell.dll'

                   

                  To register the SWIS PowerShell snapin on 64-bit Windows computers:

                  Run the following command, all on one line. C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\InstallUtil.exe 'C:\Program Files\SolarWinds\Orion SDK\SWQL Studio\SwisPowerShell.dll'

                   

                  I hope this will help.

                  • 81. Re: Orion SDK Information
                    yangj

                    Hi ,

                    Thanks for the reply.

                    I have managed to register the dll.

                    Now I have another problem when I try the example in SDK API document.

                     

                    PS H:\> Invoke-SwisVerb $swis Orion.Nodes Unmanage @("N:1",$now,$later,"false")

                    Invoke-SwisVerb : Account limitations prevent this object from becoming unmanaged.

                    At line:1 char:16

                    + Invoke-SwisVerb <<<<  $swis Orion.Nodes Unmanage @("N:1",$now,$later,"false")

                        + CategoryInfo          : InvalidOperation: ( , FaultException`1

                        + FullyQualifiedErrorId : SwisError,SwisPowerShell.InvokeSwisVerb

                     

                    Btw, I have tried commands Connect-Swis , Get-SwisData successfully.

                    • 82. Re: Orion SDK Information
                      tdanner

                      Most likely cause would be that you do not actually have a node with NodeID=1. The error message does not differentiate between "no node with that ID" and "there is a node with that ID, but you do not have permission to see it."

                      • 83. Re: Orion SDK Information
                        panasonico

                        I had the same problem where the id did not exist and was able to fix accordingly

                        • 84. Re: Orion SDK Information
                          yangj

                          Hi ,

                          I saw there is a java client sample for web service using SOAP in SDK document.

                          Since also support REST/JSON , do you have sample java client code to retrieve XML/JSON format information using RESTful webservice?

                          • 85. Re: Orion SDK Information
                            tdanner

                            No, we don't have a sample for using the REST endpoint from Java. But it's not doing anything weird - HTTP Basic authentication and simple HTTP with simple JSON bodies. Let me know if you have trouble with it.

                            • 86. Re: Orion SDK Information
                              yangj

                              Hi, After insert the node using API, how can i show the result in visual chart ?

                              • 87. Re: Orion SDK Information
                                tdanner

                                Could you be more specific? After you add a node and pollers, the charts for response time, etc., will be on the website.

                                • 88. Re: Orion SDK Information
                                  yangj

                                  For example, I want to show the CPU usage, which node and poller should I add?

                                  After add , how to show them in Pie Chart?

                                   

                                  Thanks

                                  • 89. Re: Orion SDK Information
                                    Jan Pelousek

                                    Hi yangj,

                                     

                                    the CPU and Memory pollers are Vendor specific. Use the last chapter of the Orion SDK documentation (Orion SDK.pdf) to find out the correct pollers for your devices. Working with charts is the same as for regularly added/discovered nodes.(How to add Nodes and pollers you can find e.g. in the Orion SDK sample scripts - c:\Program Files (x86)\SolarWinds\Orion SDK\Samples\PowerShell\).

                                     

                                    Regards,

                                    Honza

                                    • 90. Re: Orion SDK Information
                                      swapnilm

                                      Hi,

                                      Can we use the SDK in SAM my SAM version is 6.1.1.

                                      If yes how can i implement it with my SAM.

                                      Thanks.

                                      • 91. Re: Orion SDK Information
                                        squinsey

                                        Haven't invested much time in the SDK for SAM however you certainly can get info just like you would using from NPM.

                                        At present we just use it to request info gracefully from the SQL. Status of particular services we monitor as well as health of the SAM application itself for a morning health report for management.

                                        • 92. Re: Orion SDK Information
                                          dkeyser

                                          Hello swapnilm

                                          Currently I'm using the SDK to apply templates automatically to nodes in the system based on their naming convention. Haven't done much of the service status with SDK to another app or output, just mainly used SWQL for reports on that stuff. Interesting though!

                                          • 93. Re: Orion SDK Information
                                            yangj

                                            May i know which tools can monitor the cpu usage?

                                            if my pc is windows 7, which node i should add?

                                            • 94. Re: Orion SDK Information
                                              sja

                                              Hi

                                              Is there roadmap or "what we working on" to the SDK ?

                                              Sure like to know what is next on 2.0

                                               

                                              /SJA

                                              • 95. Re: Orion SDK Information
                                                tdanner

                                                If you are looking for a monitoring tool, I recommend you contact SolarWinds sales to help figure out what would meet your needs. sales@solarwinds.com or 866.530.8100.

                                                • 96. Re: Orion SDK Information
                                                  tdanner

                                                  We don't have a published "what we are working on" for the SDK. What are you interested in?

                                                  • 97. Re: Orion SDK Information
                                                    RichardLetts

                                                    create, update, delete operations for the IPAM and UDT products

                                                     

                                                    Orthogonality of operations across all Orion objects.

                                                    i.e. if I can read an object (e.g. a [UDT] port) then I ought to be able to create, update, or delete it.

                                                    The same for an [IPAM] IP address, or subnet.

                                                    • 98. Re: Orion SDK Information
                                                      Jan Pelousek

                                                      Richard,

                                                       

                                                      what you mentioned is implemented on the product side (IPAM/UDT). SDK just provides interface for working with CRUD, Verbs, etc... New SDK versions are mostly about bug fixes, documentation updating and new implementation for product needs (e.g. new types of parameters, connections, ...). As well as the the verbs, also the CRUD operations must be implemented on the product side. In case you're interrested in something special, raise the ticket or thread in the product space.

                                                       

                                                      Thanks.

                                                      • 99. Re: Orion SDK Information
                                                        juniordev

                                                        So, when the next version of sdk release ? Is there any planned date?