-
New Feature Request
-
Resolution: Unresolved
-
Major
-
None
-
1.8.2
-
Oracle Enterprise Linux 5.4.0.0
Oracle Database Enterprise Edition 11.2.0.0
Zabbix 1.8.2 with oracle
??????? ?????????? ?????????? ???????????? ?????? EZCONNECT, ?.?. ?????? ???????? ?????? ??????????? ????:
//host:port/dbname
??? ?????? ?????? ???? ????? ??????????? ???????????? ? ?????????? ??????? ????? TNSNAMES, ????? ? ?????? ??????????? ?????????? ??????? ?????? dbname, ? ??? ????????? ????????????? ? tnsnames.ora ?????. ??? ???????????, ??????? ?????, ?????????? ????????. ??????- ???? ???????.
/zabbix-1.8.2/src/libs/zbxdb/db.c
--------------------
if (host && *host)
if (dbname && *dbname)
{ if (connect) connect = zbx_strdcat(connect, "/"); connect = zbx_strdcatf(connect, "%s", dbname); }--------------------
/zabbix-1.8.2/frontends/php/include/db.inc.php
--------------------
case 'ORACLE':
$connect = '';
if (!empty($DB['SERVER']))
if (!empty($DB['DATABASE']))
{ if (!empty($connect)) $connect .= '/'; $connect .= $DB['DATABASE']; }---------------------
????????, ??? ?? ??????, ?.?. ?? ???? ? ?????????? ?????? ????????? ????.
???? ???????????? ??? ? ???? ?????:
https://support.zabbix.com/browse/ZBX-1578
??????????? ??? ???:
http://www.zabbix.com/forum/showthread.php?t=17563