Greetings,
I just installed the latest version of OrionSDK. I'm trying to run the "verify.py" script:
import orionsdk
swis = orionsdk.SwisClient("Solarwinds-Orion", "USER", "PASSWORD", verify="solarwinds.pem")
swis.query("SELECT NodeID from Orion.Nodes")
I'm getting the following error:
Traceback (most recent call last):
File "./verify.py", line 3, in <module>
swis.query("SELECT NodeID from Orion.Nodes")
File "/Library/Python/2.7/site-packages/orionsdk/swisclient.py", line 24, in query
{'query': query, 'parameters': params}).json()
File "/Library/Python/2.7/site-packages/orionsdk/swisclient.py", line 59, in _req
resp.raise_for_status()
File "/Library/Python/2.7/site-packages/requests/models.py", line 929, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: solarwinds-orion:17778/.../Query
Does this mean that there is a permissions problem on the server side? Can somebody clue me in on where to begin troubleshooting this?
I am a Linux admin and don't have access to the Windows solar winds server so if somebody could give me some details that I could pass on to our Windows admin that would be very helpful.
Thanks