Dear All,
Can somebody help he how to connect from the Zabbix Server to a SQL Server Azure database using ODBC (or a different solution)
Till now I'm not able to connect via Zabbix from the command on the zabbix server i'm able to connect (Ubuntu server)
/etc/freetds/freetds.conf
# A typical Microsoft server
[MSSQL]
host = mydb.database.windows.net
port = 1433
# tds version = 8.0
/etc/odbc.ini
[MSSQL_DSN]
Driver=FreeTDS
Servername=MSSQL
Port=1433
Database=Cir
/etc/odbcinst.ini
[FreeTDS]
Description = FreeTDS
Driver = /usr/lib/x86_64-linux-gnu/odbc/libtdsodbc.so
in zabbix I created an item
db.odbc.select[guidodb,MSSQL_DSN]
But it looks like zabbix can not find MSSQL_DSN (with isql I can connect) zabbix give an error message: Cannot connect to ODBC DSN:[SQL_ERROR]:[IM002][0][[unixODBC][Driver Manager]Data source name not found, and no default driver specified]|
Please help me
Thanks a lot
Guido
Can somebody help he how to connect from the Zabbix Server to a SQL Server Azure database using ODBC (or a different solution)
Till now I'm not able to connect via Zabbix from the command on the zabbix server i'm able to connect (Ubuntu server)
/etc/freetds/freetds.conf
# A typical Microsoft server
[MSSQL]
host = mydb.database.windows.net
port = 1433
# tds version = 8.0
/etc/odbc.ini
[MSSQL_DSN]
Driver=FreeTDS
Servername=MSSQL
Port=1433
Database=Cir
/etc/odbcinst.ini
[FreeTDS]
Description = FreeTDS
Driver = /usr/lib/x86_64-linux-gnu/odbc/libtdsodbc.so
in zabbix I created an item
db.odbc.select[guidodb,MSSQL_DSN]
But it looks like zabbix can not find MSSQL_DSN (with isql I can connect) zabbix give an error message: Cannot connect to ODBC DSN:[SQL_ERROR]:[IM002][0][[unixODBC][Driver Manager]Data source name not found, and no default driver specified]|
Please help me
Thanks a lot
Guido
Comment