zabbix儲存oracle

來源:互聯網
上載者:User

標籤:zabbix

背景描述:

1、原來安裝zabbix是在LAMP的環境下是可以正常運行;(Linux CentOS 7)

2、現想把mysql換成oracle,通過安裝oracle用戶端遠端存取另外一台機器上oracle服務,客戶e端和zabbix是同一台機器,sqlplus是可以正常運行訪問;

3、PHP頁面通過OCI也是可以正常登陸http://127.0.0.1/zabbix;

4、zabbix_server.conf中配置DBHost=資料庫IP,DBNAME=資料庫執行個體名,DBPORT=1521...

可是後台zabbix_server.log報錯【Z3001] connection to database ‘ORCL‘ failed : [2013] Lost connection to MySQL server at ‘reading initial communication packet ‘,system error :0

5、安裝zabbix時使用源碼安裝 ,進入解壓目錄

./configure --with-mysql=/usr/bin/mysql_config --with-net-snmp --with-libcurl --enable-server --enable-agent --enable-proxy --prefix=/usr/local/zabbix

此處沒有 配置 --with-oracle


疑問:

1、出現上述描述4中串連資料庫失敗如何解決?

2、zabbix_server是通過什麼方式訪問資料庫的?OCI?

3、再次使用5的命令./configure --with-oracle --enable-server  --prefix=/usr/local/zabbix提示OCI library not found

./configure --with-oracle=$ORACLE_HOME/lib --enable-server  --prefix=/usr/local/zabbix 提示OCI library not found


謝謝!



zabbix儲存oracle

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.