Orabbix配置文件:
[root@zabbix ~]# cat /usr/local/orabbix/conf/config.props
#comma separed list of Zabbix servers
ZabbixServerList=ZabbixServer1
ZabbixServer1.Address=188.188.1.138
ZabbixServer1.Port=10051
#pidFile
OrabbixDaemon.PidFile=/usr/local/orabbix/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=188.188.1.142
#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
188.188.1.142.Url=jdbc:oracle:thin:@188.188.1.142:1521:bbsvr1
188.188.1.142.User=zabbix
188.188.1.142.Password=zabbix
#Those values are optionals if not specified Orabbix is going to use the general values
188.188.1.142.MaxActive=10
188.188.1.142.MaxWait=100
188.188.1.142.MaxIdle=1
188.188.1.142.QueryListFile=./conf/query.props