fix event ack for Zabbix 4.x, #629

This commit is contained in:
Alexander Zobnin
2018-10-21 12:13:25 +03:00
parent 92a08a5c58
commit c73078d1fb
3 changed files with 17 additions and 8 deletions

View File

@@ -28,6 +28,7 @@ export class Zabbix {
password,
basicAuth,
withCredentials,
zabbixVersion,
cacheTTL,
enableDirectDBConnection,
dbConnectionDatasourceId,
@@ -43,7 +44,7 @@ export class Zabbix {
};
this.cachingProxy = new CachingProxy(cacheOptions);
this.zabbixAPI = new ZabbixAPIConnector(url, username, password, basicAuth, withCredentials, backendSrv);
this.zabbixAPI = new ZabbixAPIConnector(url, username, password, zabbixVersion, basicAuth, withCredentials, backendSrv);
if (enableDirectDBConnection) {
let dbConnectorOptions = {