[ZBX-12708] Network Discovery (SNMP) through Proxy Created: 2017 Sep 12 Updated: 2018 Oct 15 Resolved: 2017 Sep 14 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Proxy (P), Server (S) |
Affects Version/s: | 3.4.0 |
Fix Version/s: | 3.4.2rc1, 4.0.0alpha1, 4.0 (plan) |
Type: | Incident report | Priority: | Major |
Reporter: | Daniel Grieshaber | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | snmp | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
Ubuntu 16.04 - Packages from Zabbix Repos |
Team: | Team A |
Sprint: | Sprint 16 |
Story Points: | 0.25 |
Description |
When snmp-network discovery runs through a proxy the snmp port will be zero in the agent interface field for the discovered hosts. Discovery of the same host directly from the server will work correctly. |
Comments |
Comment by Daniel Grieshaber [ 2017 Sep 12 ] |
Don't know if it's help but here are some more details Server Version: 3.4 |
Comment by Andrea Biscuola (Inactive) [ 2017 Sep 13 ] |
THe more informations, the better , I'm actually reproducing and identifying the problem. Thanks! |
Comment by Andrea Biscuola (Inactive) [ 2017 Sep 14 ] |
The bug was introduced with r69839 and r64430. It provably not only happen for the snmp discovery through proxies, but also for all the other type of discovery services where a port need to be processed. The condition that perform the check if the passed port is valid, will set the port to 0 upon success in every case. |
Comment by Andrea Biscuola (Inactive) [ 2017 Sep 14 ] |
Fixed in svn://svn.zabbix.com/branches/dev/ZBX-12708 Set the port variable to 0 by default, leave it as 0 only if the port validation fail. |
Comment by Andrea Biscuola (Inactive) [ 2017 Sep 14 ] |
Released in
|