Hi everyone,
I had install Zabbix 5.0.1 and wanted to use Template DB MySQL by ODBC (downloaded from here https://git.zabbix.com/projects/ZBX/.../db/mssql_odbc). Odbc is configured on zabbix server and it is able to connect to it. Discovery rules are not showing any errors. I've got problems with items created by them:

This is error message:
Nothing beside macros (username, password, dsn) was changed in template. Anyone has an idea why it is not working?
I had install Zabbix 5.0.1 and wanted to use Template DB MySQL by ODBC (downloaded from here https://git.zabbix.com/projects/ZBX/.../db/mssql_odbc). Odbc is configured on zabbix server and it is able to connect to it. Discovery rules are not showing any errors. I've got problems with items created by them:
This is error message:
Code:
[LIST][*]cannot extract value from json by path "$[?(@.object_name=='SQLServer:Databases' && @.counter_name=='Active Transactions' && @.instance_name=='MYDATABASENAME')].cntr_value.first()": cannot parse as a valid JSON object: invalid object format, expected opening character '{' or '[' at: '$[?(@.object_name=='SQLServer:Databases' && @.counter_name=='Active Transactions' && @.instance_name=='MYDATABASENAME')].cntr_value.first()'[/LIST]
May I ask how did you manage to work with this template? I have Zabbix 5.0.2, ODBC is installed, I can access DB via isql -v or sqlcmd, but I cannot run the simplest discovery (db.odbc.discovery) with parameters. I defined $MSSQL.USER, $MSSQL.PASSWORD, $MSSQL.DSN, but it it still not working.
Comment