cancel
Showing results for 
Search instead for 
Did you mean: 
Create Post
Level 8

where do I get the perl modules SW::InformationService and SW::Orion

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 ?

regards

Sean

0 Kudos
3 Replies
Level 19

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.

0 Kudos

Thanks for the reply.

Should I be using the REST::Client module then ? if I want to automate node adds/discovery

0 Kudos

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