centos zabbix 监控 Windows的Oracle,orabbix服务无法启动

发布于 2022-09-04 10:46:48 字数 2271 浏览 9 评论 0

图片描述

求救大神如何解决?

Orabbix的配置文件如下

#comma separed list of Zabbix servers
ZabbixServerList=ZOrcl

ZOrcl.Address=126.33.8.242
ZOrcl.Port=10051

#ZabbixServer2.Address=IP_ADDRESS_OF_ZABBIX_SERVER
#ZabbixServer2.Port=PORT_OF_ZABBIX_SERVER

#pidFile
OrabbixDaemon.PidFile=./logs/orabbix.pid
#frequency of item's refresh
OrabbixDaemon.Sleep=300
#MaxThreadNumber should be >= than the number of your databases
OrabbixDaemon.MaxThreadNumber=100

#put here your databases in a comma separated list
DatabaseList=ORCL

#Configuration of Connection pool
#if not specified Orabbis is going to use default values (hardcoded)
#Maximum number of active connection inside pool
DatabaseList.MaxActive=10
#The maximum number of milliseconds that the pool will wait 
#(when there are no available connections) for a connection to be returned 
#before throwing an exception, or <= 0 to wait indefinitely. 
DatabaseList.MaxWait=100
DatabaseList.MaxIdle=1

#define here your connection string for each database
ORCL.Url=jdbc:oracle:thin:@221.187.1.130:1521:orcl
ORCL.User=zabbix
ORCL.Password=zabbix
#Those values are optionals if not specified Orabbix is going to use the general values
ORCL.MaxActive=10
ORCL.MaxWait=100
ORCL.MaxIdle=1
ORCL.QueryListFile=./conf/query.props

orabbix日志:

[2017-01-19 09:23:08] [info]  Commons Daemon procrun (1.0.5.0 32-bit) started
[2017-01-19 09:23:08] [info]  Running 'Orabbix' Service...
[2017-01-19 09:23:08] [info]  Starting service...
[2017-01-19 09:23:08] [error] Failed creating java 
[2017-01-19 09:23:09] [error] ServiceStart returned 1
[2017-01-19 09:23:09] [info]  Run service finished.
[2017-01-19 09:23:09] [info]  Commons Daemon procrun finished
[2017-01-19 09:23:16] [info]  Commons Daemon procrun (1.0.5.0 32-bit) started
[2017-01-19 09:23:16] [info]  Running 'Orabbix' Service...
[2017-01-19 09:23:16] [info]  Starting service...
[2017-01-19 09:23:16] [error] Failed creating java 
[2017-01-19 09:23:16] [error] ServiceStart returned 1
[2017-01-19 09:23:16] [info]  Run service finished.
[2017-01-19 09:23:16] [info]  Commons Daemon procrun finished

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文