Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-435

Add Oracle TNSNAMES connect support

XMLWordPrintable

    • Icon: New Feature Request New Feature Request
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 1.8.2
    • Proxy (P), Server (S)
    • 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)

      { connect = zbx_strdcatf(connect, "//%s", host); if (port) connect = zbx_strdcatf(connect, ":%d", port); }

      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']))

      { $connect = '//'.$DB['SERVER']; if ($DB['PORT'] != '0') $connect .= ':'.$DB['PORT']; }

      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

            Unassigned Unassigned
            alt0 Pavel Danchenko
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: