Hello All,
I have downloaded the suse vm for zabbix and it works great. However, I am facing issues trying to install orabbix-1.2.3 on Zabbix 2.4.1. I have placed the orabbix on the same server as the zabbix server.
My java version is :
java version "1.7.0_75"
Java(TM) SE Runtime Environment (build 1.7.0_75-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.75-b04, mixed mode)
executing run.sh error -->
./run.sh
linux-qvvt:/opt/orabbix # Stopping
java.lang.Exception: ERROR on main - Connections is empty
at com.smartmarmot.orabbix.Orabbixmon.run(Orabbixmon. java:101)
at com.smartmarmot.orabbix.bootstrap.main(bootstrap.j ava:50)
errors in the error log -- >
cat orabbix.log
2015-03-12 23:04:43,569 [main] INFO Orabbix - Starting Orabbix Version 1.2.3
2015-03-12 23:04:44,281 [main] INFO Orabbix - Orabbix started with pid:20444
2015-03-12 23:04:44,281 [main] INFO Orabbix - PidFile -> ./logs/orabbix.pid
2015-03-12 23:04:44,475 [main] INFO Orabbix - DB Pool created: org.apache.commons.dbcp.datasources.SharedPoolData Source@59887d29
2015-03-12 23:04:44,475 [main] INFO Orabbix - URL=jdbc
racle:thin:@192.168.1.26:1521
rcl
2015-03-12 23:04:44,475 [main] INFO Orabbix - maxPoolSize=10
2015-03-12 23:04:44,475 [main] INFO Orabbix - maxIdleSize=1
2015-03-12 23:04:44,475 [main] INFO Orabbix - maxIdleTime=1800000ms
2015-03-12 23:04:44,475 [main] INFO Orabbix - poolTimeout=100
2015-03-12 23:04:44,475 [main] INFO Orabbix - timeBetweenEvictionRunsMillis=-1
2015-03-12 23:04:44,475 [main] INFO Orabbix - numTestsPerEvictionRun=3
2015-03-12 23:04:44,578 [main] ERROR Orabbix - Error on Configurator for database orcl -->IO Error: The Network Adapter could not establish the connection
2015-03-12 23:04:44,579 [main] INFO Orabbix - This Database orcl removed
2015-03-12 23:04:44,579 [main] ERROR Orabbix - ERROR on main - Connections is empty
config.props -->
#comma separed list of Zabbix servers
ZabbixServerList=linux-qvvt
ZabbixServer1.Address=192.168.1.6
ZabbixServer1.Port=10051
#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
racle:thin:@192.168.1.26:1521
rcl
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
I have tried on Ubuntu, suse and windows and they all produce the same error.
zabbix-server(OS)| Agent(OS) |Database Version
---------------------------------------------------------------------------
Ubuntu | solaris 10 | 9i
---------------------------------------------------------------------------
Suse | windows 7 | 11g
The steps i have followed are from the orabbix website.
Kindly extend your help.
Regards,
izn0g00d
I have downloaded the suse vm for zabbix and it works great. However, I am facing issues trying to install orabbix-1.2.3 on Zabbix 2.4.1. I have placed the orabbix on the same server as the zabbix server.
My java version is :
java version "1.7.0_75"
Java(TM) SE Runtime Environment (build 1.7.0_75-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.75-b04, mixed mode)
executing run.sh error -->
./run.sh
linux-qvvt:/opt/orabbix # Stopping
java.lang.Exception: ERROR on main - Connections is empty
at com.smartmarmot.orabbix.Orabbixmon.run(Orabbixmon. java:101)
at com.smartmarmot.orabbix.bootstrap.main(bootstrap.j ava:50)
errors in the error log -- >
cat orabbix.log
2015-03-12 23:04:43,569 [main] INFO Orabbix - Starting Orabbix Version 1.2.3
2015-03-12 23:04:44,281 [main] INFO Orabbix - Orabbix started with pid:20444
2015-03-12 23:04:44,281 [main] INFO Orabbix - PidFile -> ./logs/orabbix.pid
2015-03-12 23:04:44,475 [main] INFO Orabbix - DB Pool created: org.apache.commons.dbcp.datasources.SharedPoolData Source@59887d29
2015-03-12 23:04:44,475 [main] INFO Orabbix - URL=jdbc
racle:thin:@192.168.1.26:1521
rcl2015-03-12 23:04:44,475 [main] INFO Orabbix - maxPoolSize=10
2015-03-12 23:04:44,475 [main] INFO Orabbix - maxIdleSize=1
2015-03-12 23:04:44,475 [main] INFO Orabbix - maxIdleTime=1800000ms
2015-03-12 23:04:44,475 [main] INFO Orabbix - poolTimeout=100
2015-03-12 23:04:44,475 [main] INFO Orabbix - timeBetweenEvictionRunsMillis=-1
2015-03-12 23:04:44,475 [main] INFO Orabbix - numTestsPerEvictionRun=3
2015-03-12 23:04:44,578 [main] ERROR Orabbix - Error on Configurator for database orcl -->IO Error: The Network Adapter could not establish the connection
2015-03-12 23:04:44,579 [main] INFO Orabbix - This Database orcl removed
2015-03-12 23:04:44,579 [main] ERROR Orabbix - ERROR on main - Connections is empty
config.props -->
#comma separed list of Zabbix servers
ZabbixServerList=linux-qvvt
ZabbixServer1.Address=192.168.1.6
ZabbixServer1.Port=10051
#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
racle:thin:@192.168.1.26:1521
rclorcl.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
I have tried on Ubuntu, suse and windows and they all produce the same error.
zabbix-server(OS)| Agent(OS) |Database Version
---------------------------------------------------------------------------
Ubuntu | solaris 10 | 9i
---------------------------------------------------------------------------
Suse | windows 7 | 11g
The steps i have followed are from the orabbix website.
Kindly extend your help.
Regards,
izn0g00d
Comment