I have a problem monitoring a certain router. SNMP queries consistently timeout, yet Zabbix does retrieve data and I have not picked up gaps in any of the graphs.
The server is currently configured with a timeout of 4 seconds but setting 'Timeout=30' makes no difference.
Herewith a sample from the server log file (/var/log/zabbix/zabbix-server.log):
Reviewing a packet capture shows requests leaving the system with a raw frame size of either 2347 or 2355 bytes. The data portion of the packets is 2313 and 2321 bytes long. Communication between the Zabbix server and switch should use a standard MTU of 1500 bytes so the maximum 'on wire' size should not exceed 1500 bytes and the data portion should not exceed 1466 bytes.
The decoded packets show the switch sending back a 'Fragmented IP protocol' notification so the delivered UDP frame is most likely truncated.
I can replicate the problem using 'snmpbulkget' so I assume Zabbix uses it, or a component thereof.
I have attached both the original and decoded packet capture files as:
How can I set the required outgoing packet size?
The server is currently configured with a timeout of 4 seconds but setting 'Timeout=30' makes no difference.
Herewith a sample from the server log file (/var/log/zabbix/zabbix-server.log):
Code:
8512:20160410:224024.469 SNMP agent item "ifAdminStatus[kvm-vlan970-vlan11]" on host "Syrex - Core - Teraco - JHB - J17 - ccr2" failed: first network error, wait for 15 seconds 8513:20160410:224039.730 resuming SNMP agent checks on host "Syrex - Core - Teraco - JHB - J17 - ccr2": connection restored
Reviewing a packet capture shows requests leaving the system with a raw frame size of either 2347 or 2355 bytes. The data portion of the packets is 2313 and 2321 bytes long. Communication between the Zabbix server and switch should use a standard MTU of 1500 bytes so the maximum 'on wire' size should not exceed 1500 bytes and the data portion should not exceed 1466 bytes.
The decoded packets show the switch sending back a 'Fragmented IP protocol' notification so the delivered UDP frame is most likely truncated.
I can replicate the problem using 'snmpbulkget' so I assume Zabbix uses it, or a component thereof.
I have attached both the original and decoded packet capture files as:
- Zabbix_snmpbulk_oversize.zip
- Zabbix_snmpbulk_oversize_decoded.zip
- snmpbulkget_oversize.zip
- snmpbulkget_oversize_decoded.zip
How can I set the required outgoing packet size?
Comment