[server][ArmZabbixAPI] Move getHosts() and the depending methods to ZabbixAPI.