NetXMS Support Forum

English Support => General Support => Topic started by: Millenium7 on September 30, 2019, 04:16:56 AM

Title: Bug: Port number reverting to default/161 after failed poll attempt
Post by: Millenium7 on September 30, 2019, 04:16:56 AM
This is a big problem for us at the moment. I've noticed a bunch of devices that I setup for monitoring have changed from port i've manually set (1616) to the default (161) and this changes the device that NetXMS actually monitors

The setup is there's a bunch of small MikroTik routers and DSLAM's behind those routers. The routers have a forwarding rule, anything UDP 1616 forward to the DSLAM on port 161
Both the router and DSLAM therefore share an IP address, but both can be polled via SNMP on different port numbers. The default of 161 for the Router, and 1616 for the DSLAM

This works fine initially but it seems that if a device stops responding for whatever reason, then NetXMS tries the default port number of 161, this then succeeds and it uses that information, screwing up the monitoring as now its polling the router, not the DSLAM
Title: Re: Bug: Port number reverting to default/161 after failed poll attempt
Post by: Filipp Sudanov on September 30, 2019, 12:22:39 PM
What NetXMS version are you using?
In 3.0 there is Prevent automatic SNMP configuration changes checkbox in SNMP communication properties that should prevent NetXMS from trying the default port.
Title: Re: Bug: Port number reverting to default/161 after failed poll attempt
Post by: Millenium7 on October 10, 2019, 09:18:16 AM
3.0
I saw this checkbox, but is there a way to make this the default behavior? I'm happy to have that checkbox ticked for everything in NetXMS
Problem is when i'm going through adding 20 DSLAM's, if 1 of them doesn't add successfully the first time I won't be able to go in and change that option before it reverts to the default port number anyway
Plus adding devices then having to go in and make fiddly manual changes afterwards is always a pain
Title: Re: Bug: Port number reverting to default/161 after failed poll attempt
Post by: Filipp Sudanov on October 14, 2019, 01:17:43 PM
We've created a feature request for this, you can follow the progress here: https://track.radensolutions.com/issue/NX-1699