Is it possible to configure snmp proxy via nxshell I see that its is possible during creating but what about after the fact
Thanks
I think I got it let me know if this correct or not but it seems to work this will read in from a list of nodes and set each nodes snmp proxy to the following id 10236
from org.netxms.client.objects import Node
for name in open("snmp-proxy.txt").readlines():
node = session.findObjectByName(name.strip())
if node:
md = NXCObjectModificationData(node.getObjectId())
proxy = 10236
md.setSnmpProxy(proxy)
session.modifyObject(md)
Hi,
seems correct.
Best regards,
Victor