Hi! i'm automating the process to add new nodes into orion with python SDK. My problem is that i don't know how setting the new node into an existing polling engine. In my work they have two polling engines and they seting new nodes them.
Here is some reference code for adding a node to a polling engine:
https://github.com/solarwinds/orionsdk-python/blob/master/samples/add_node.py
To specify which polling engine you want assign the node to, you would set the EngineID value here:
# set up property bag for the new nodeprops = { 'IPAddress': ip_address, 'EngineID': 1, 'ObjectSubType': 'SNMP', 'SNMPVersion': 2, 'Community': community}
You may also be interested in this code sample, which shows how to run the discovery process for a node:
https://github.com/solarwinds/orionsdk-python/blob/master/samples/discover_one_node.py