Mosh
8 years agoProfessor
Override SNMP port used by LM's Groovy SNMP library
We want to clone some of the standard SNMP data collection templates, but we want to use a different port for the SNMP requests. We cannot use the SNMP.Port property because standard SNMP data sources need to work using port 161. We want to be able to set the port at script level so that we can use the standard SNMP data sources on port 161 and our own custom SNMP data sources on another port. For example, we are trying to develop a Squid Proxy data srouce and Squid Proxy provides data via SNMP on port 3401.