Added backported to zabbix 1.8 patches for ZBX-6306