Zabbix Storage Oracle

Source: Internet
Author: User

Background Description:

1, the original installation Zabbix is in the lamp environment is able to operate normally; (Linux CentOS 7)

2, now want to replace MySQL with Oracle, through the installation of Oracle client remote access to another machine on the Oracle service, the customer e-end and Zabbix is the same machine, Sqlplus is able to run access;

3, the PHP page through the OCI can also be normal landing Http://127.0.0.1/zabbix;

4, zabbix_server.conf Configuration dbhost= database Ip,dbname= DB instance name, dbport=1521 ...

But backstage zabbix_server.log error "Z3001" Connection to database ' ORCL ' failed: [] Lost connection to MySQL server at ' reading I Nitial communication packet ', System error:0

5, install Zabbix when using the source code installation, into the decompression directory

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

--with-oracle is not configured here


Questions:

1. How to resolve the connection database failure in the description 4 above?

2. How does zabbix_server access the database? OCI?

3. Use the 5 command again./configure--with-oracle--enable-server--prefix=/usr/local/zabbix Notice OCI library not found

./configure--with-oracle= $ORACLE _home/lib--enable-server--prefix=/usr/local/zabbix tips OCI library not found


Thank you!



Zabbix Storage Oracle

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.