Dear All
I installed unixODBC and driver for Oracle, wrote parameters to tnsnames.ora,
modifed /etc/odbcinst.ini and /etc/odbc.in, exported environment variables "LD_LIBRARY_PATH", "ORACLE_HOME" and "TNS_ADMIN", for user zabbix.
So, "isql -v TEST" for user zabbix is OK.
But, on web interface I see, that zabbix doesn’t check environment variables (Database item goes to not supported with error
).
When I run “zabbix_get –s 127.0.0.1 –k system.run[set]” I also don’t see environment variables "LD_LIBRARY_PATH", "ORACLE_HOME" and "TNS_ADMIN".
According to https://www.zabbix.com/wiki/non-engl...dbc_monitoring I tried to add export for variables in init script of zabbix_server and zabbix_agentd, but it didn’t help.
I have zabbix 2.0.8 installed on CentOS 5.
Is there any way to fix that?
Thanks in advance.
I installed unixODBC and driver for Oracle, wrote parameters to tnsnames.ora,
modifed /etc/odbcinst.ini and /etc/odbc.in, exported environment variables "LD_LIBRARY_PATH", "ORACLE_HOME" and "TNS_ADMIN", for user zabbix.
So, "isql -v TEST" for user zabbix is OK.
But, on web interface I see, that zabbix doesn’t check environment variables (Database item goes to not supported with error
Code:
“Cannot connect to ODBC DSN:[SQL_ERROR]:[01000][0][[unixODBC][Driver Manager]Can't open lib '/usr/lib/oracle/12.1/client64/lib/libsqora.so.12.1'”
When I run “zabbix_get –s 127.0.0.1 –k system.run[set]” I also don’t see environment variables "LD_LIBRARY_PATH", "ORACLE_HOME" and "TNS_ADMIN".
According to https://www.zabbix.com/wiki/non-engl...dbc_monitoring I tried to add export for variables in init script of zabbix_server and zabbix_agentd, but it didn’t help.
I have zabbix 2.0.8 installed on CentOS 5.
Is there any way to fix that?
Thanks in advance.
.
Comment