func newZabbixAPI(server string) *zabbix.API { return zabbix.NewAPI(server + "/api_jsonrpc.php") }
func initZabbix() string { api = zabbix.NewAPI(apiUrl) auth, err := api.Login(user, pass) must(err) return auth }