fix type of useip  and main parameter, its an int not bool https://www.zabbix.com/documentation/2.0/manual/appendix/api/hostinterface/definitions#host_interface