Hello, I'm having an issue where adding any ICMP node results in a permanently grey node using Python Orion SDK. Adding a node via SNMP using Orion SDK results in no issues. I've already found and tried the solutions listed in:
https://thwack.solarwinds.com/product-forums/the-orion-platform/f/orion-sdk/38189/issue-with-adding-an-icmp-only-node-using-python-sdk/205237#205237 including using different Engine ID's.
Here is how I'm adding my ICMP node (I've reformatted my code for this question so there may be syntax issues but please ignore).
props = {
'IPAddress': IPAddress,
'EngineID': engine_id,
'DisplayName': DisplayName,
'DNS': '',
'SysName': '',
'ObjectSubType': 'ICMP',
}
swis.create('Orion.Nodes', **props)
pollers_to_enable += [
'N.Status.ICMP.Native',
'N.ResponseTime.ICMP.Native'
]
pollers = []
for k in pollerslist:
pollers.append(
{
'PollerType': k,
'NetObject': 'N:' + NodeID,
'NetObjectType': 'N',
'NetObjectID': NodeID,
'Enabled': pollerslist[k]
}
)
for poller in pollers:
swis.create('Orion.Pollers', **poller)
The node is created and fine and everything the status on it just doesn't change, but on the other hand when adding nodes via SNMP using the SDK it is perfectly fine and turns green when I poll it instantly.
Thank you for everyone's help.