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

图片描述

求救大神如何解决?

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
阅读 3k
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题