189 8069 5689

zabbix存储oracle

背景描述:

创新新互联,凭借十年的成都网站设计、成都网站制作经验,本着真心·诚心服务的企业理念服务于成都中小企业设计网站有1000多家案例。做网站建设,选创新互联。

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
标题路径:http://cdxtjz.cn/article/joechd.html

其他资讯