The most recent content from our members.
Good morning Thwack Community, Anyone having issues running basic API queries against EOC? Basic Query: import requests from pprint import pprint from orionsdk import SwisClient from dotenv import load_dotenv import os load_dotenv() def sw_query(instance, pssWord, pssKey): requests.packages.urllib3.disable_warnings() swis…
I'm trying to script an integration for adding various nodes to Orion using Python, swis and the python orion sdk. I've looked through all the code samples provided with the Powershell SDK and the Python SDK, and there seem to be bits missing. Ideally, I'd like to add all the nodes via one script, and then later in the…
I have a working Python scrip that creates a discovery using a single set of credentials. How do i create a discovery which can using multiple sets of credentials? This is what i have at the moment. credential_id = 9 orion_engine_id = 1 swis = SwisClient(npm_server, username, password) corePluginContext = { 'BulkList':…
I need to know what properties I need to set in the node to have the Category field set, as the sdk is creating the node but the category field is left NULL, and due to it the Node Details widget is showing but also empty...sdk
I am getting an error while connecting with Python: Query Test: Traceback (most recent call last): File "/Users/VENV/sdkorion/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen httplib_response = self._make_request( File…
I tried reading solarwinds documentation for alerts but I have hard time understanding them, Can anyone explain me alarms structure of alarms (say a device down) and how do I identify a single alarm by it's unique ID, and how do I check if a single alarm is cleared or active using it's unique ID via rest api?
Hi. Trying to unmanage some nodes and mute some alerts for 3 hours from now: swis.invoke('Orion.Nodes', 'Unmanage', NodeID, UnManageFrom, UnManageUntil, False) swis.invoke('Orion.AlertSuppression', 'SuppressAlerts', [Uri], UnManageFrom, UnManageUntil)In both cases I take UnManageFrom…
It looks like you're new here. Sign in or register to get started.