Hi I am new to Orion SDK. I saw a perl script example on thwack and it was using modules SW::Orion and SW::InformationService
How do I get these modules ?
Those modules were included in Orion SDK 1.10 and earlier. These versions are still available from Orion SDK Information . These perl modules were based on the SOAP interface for SWIS, which is why they were dropped in Orion SDK 2.0 and later. The SOAP interface is still supported, but not recommended for new code.
Yes, I would start form there. Especially for discovery - the complex objects used by the Orion discovery API are much easier to work with in JSON than SOAP/XML.
This sample for calling discovery is in Python, but it may be helpful in illustrating the objects needed: https://github.com/solarwinds/orionsdk-python/blob/master/samples/discover_one_node.py
And if you haven't read it yet, I recommend this wiki page to get oriented: https://github.com/solarwinds/OrionSDK/wiki/Discovery
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.