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)
Hello gmonk63 thank you for this, any chance you will be keeping this up to date?
Sure,
I normally build an agent for each new release since I normally upgrade anyway ...I will work on 2.0.6 tomorrow
This looks great, thanks.
Will try it out on an old ERL3 and see how it goes. Any limits you've discovered (node/proxy scans) before the load on the CPU affects other processes on the router?
is it also running on Edgerouter X? It could be a very cheap solution for a remote NetXMS proxy. Ok Edgerouter Lite is also good priced ;)
I havent done too much with ERL other than use it to monitor the device itself but on the ERPro I have a few hundred devices I use it to do snmp checks on and I havent really noticed any issues with performance at all
P.S
I dont have any x devices but if it is still based on debian like the ERL then it should work... Try at your own risk
Thanks gmonk63, maybe I will order an Edgerouter X and try it.
Sorry to revive an old thread, but the Edgemax agent could be very useful to me as I have many Ubiquiti Edgerouters installed across multiple sites. @gmonk63 have you indeed continued to keep the package up to date? Is there a repository where I may download the latest version?