I install ODBC to monitoring Oracle Database via Zabbix, but I got error :
I did everything on tutorial, here's my config :
/etc/odbcinst.ini :
/etc/odbc.ini :
tnsnames.ora :
However when i try to connect isql with
it works and connect to isql
I try to follow this step too https://stackoverflow.com/questions/...db-with-zabbix, from that step I should make /etc/default/zabbix-server that contain oracle home, ld library path, nls lang, and tns admin but because i'm using zabbix proxy so i make /etc/default/zabbix-proxy instead. then I have to restart zabbix-proxy and do this command strings -a /proc/(pid number)/environ, but it doesn't solve my problem..
can somebody help me?
Cannot connect to ODBC DSN: [SQL_ERROR]:[IM002][0][[unixODBC][Driver Manager]Data source name not found, and no default driver specified]
/etc/odbcinst.ini :
Code:
[OracleDriver] Description=Oracle ODBC driver for Oracle 11g Driver=/usr/lib/oracle/11.2/client64/lib/libsqora.so.11.1
Code:
[TESTDB] Driver= OracleDriver DSN= TESTDB ServerName= TESTDB UserID= zabbix Password= zabbix
Code:
TESTDB = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = XXX.XXX.XXX)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = EXAMPLE) ) )
Code:
isql -v TESTDB
I try to follow this step too https://stackoverflow.com/questions/...db-with-zabbix, from that step I should make /etc/default/zabbix-server that contain oracle home, ld library path, nls lang, and tns admin but because i'm using zabbix proxy so i make /etc/default/zabbix-proxy instead. then I have to restart zabbix-proxy and do this command strings -a /proc/(pid number)/environ, but it doesn't solve my problem..
can somebody help me?
Comment