Thank you for your interest in the SDK.
What's new in SDK v1.9?
What’s new in SDK v1.8?
What’s new in SDK v1.7?
What’s new in SDK v1.6?
What's new in SDK v1.5?
o Adding a node
o Adding an interface
o Discovering interfaces
o Setting a custom property
o Configuring Orion Groups
This package contains:
A couple of notes regarding the SDK.
SolarWinds Orion SDK Team
We don't have a date planned for the next SDK release. Most of these feature requests are for product changes anyway, so we wouldn't be able to address them through SDK updates.
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!
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.
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\).
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?
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.
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
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.
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.
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."
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?
SolarWinds solutions are rooted in our deep connection to our user base in the THWACK® online community. More than 150,000 members are here to solve problems, share technology and best practices, and directly contribute to our product development process.