zabbix: getting host id from database.

related to #3.