For any one interested I compiled a Agent that will run on a Ubiquity Edge Router/Lite products ... I currently use these as Pollers to proxy snmp or icmp polls to ease the load on the main server. They also act as distribution devices to the field so it helps to be able to get interface BW and CPU usage for a segment .. Also here is the script that i use to assign nodes to these so i dont have to go one by one ...Just grab the object id of the poller and add the object names in the .txt file You will have to scp the deb file to the router then run sudo dpkg -i netxms_ubnt_2.0.5.deb to install this will install to /usr/local and config files to /etc/nxagentd.conf also you will need to run "sudo ldconfig" after install or else you will have errors when attempting to start with "sudo service nxagentd start " You will also need to vi the nxagentd.conf with your own params.... Hope this can be useful to someone
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 = 10254
md.setSnmpProxy(proxy)
session.modifyObject(md)
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 = 10254
md.setSnmpProxy(proxy)
session.modifyObject(md)