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

Add Oracle TNSNAMES connect support

    XMLWordPrintable

    Details

    • Type: New Feature Request
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.8.2
    • Fix Version/s: None
    • Component/s: Proxy (P), Server (S)
    • Labels:
    • Environment:
      Oracle Enterprise Linux 5.4.0.0
      Oracle Database Enterprise Edition 11.2.0.0
      Zabbix 1.8.2 with oracle

      Description

      ??????? ?????????? ?????????? ???????????? ?????? 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

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated: