Suppose we are monitoring an SNMPv3 device. We start with one variable per request and gradually increase the number of variables, trying to find the limit.
At some point the size of the request gets larger than "msgMaxSize" reported by the monitored device and we cannot send the request. We then get the following error in the log, which is wrongly treated by Zabbix as a network error:
5414:20141218:125955.481 getting SNMP values failed: Cannot connect to "192.168.x.x:161": Too long.
Zabbix should instead treat this case properly for the purposes of finding the optimal number of variables to query.