Olá amigos
Configurei o postbix como manda o tutorial na propria pagina do zabbix e os arquivos do postbix, mas os items não estão coletando dados estam zerados !!! Gostaria de uma ajuda para coletar os dados, vou colocar minhas configurações logo abaixo:
Essa ae a minha saida do log do postbix
2015-01-13 14:22:23,226 [main] INFO Postbix - Starting Postbix Version 1.1.0
2015-01-13 14:22:23,262 [main] INFO Postbix - Postbix started with pid:18750
2015-01-13 14:22:23,263 [main] INFO Postbix - PidFile -> ./logs/postbix.pid
2015-01-13 14:22:23,533 [main] INFO Postbix - Connected as zabbix
2015-01-13 14:22:23,535 [main] INFO Postbix - --------- on Database -> meudb
2015-01-13 14:22:23,563 [main] INFO Postbix - Connected as zabbix
2015-01-13 14:22:23,565 [main] INFO Postbix - --------- on Database -> meudb2
2015-01-13 14:22:23,760 [pool-1-thread-1] INFO Postbix - Done with dbJob on database DB1 QueryList elapsed time 134 ms
2015-01-13 14:22:23,971 [pool-1-thread-2] INFO Postbix - Done with dbJob on database DB2 QueryList elapsed time 335 ms
Configurei o postbix como manda o tutorial na propria pagina do zabbix e os arquivos do postbix, mas os items não estão coletando dados estam zerados !!! Gostaria de uma ajuda para coletar os dados, vou colocar minhas configurações logo abaixo:
/opt/postbix/conf/config.props
#Comma separed list of zabbix servers and ports
ZabbixServerList=ZabbixServer
ZabbixServer.Address=10.0.0.1
ZabbixServer.Port=10051
PostbixDaemon.PidFile=./logs/postbix.pid
#frequency of item's refresh
PostbixDaemon.Sleep=120
#MaxThreadNumber should be >= than the number of your databases
PostbixDaemon.MaxThreadNumber=100
#put here your databases in a comma separated list
#DatabaseList=DB1,DB2,DB3
DatabaseList=DB1,DB2
#Configuration of Connection pool
#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
DB1.Url=jdbc
ostgresql://localhost:5432/meudb
DB1.User=zabbix
DB1.Password=123456
DB2.Url=jdbc
ostgresql://localhost:5433/meudb2
DB2.User=zabbix
DB2.Password=123456
#Query Parameter Files
QueryListFile=/opt/postbix/conf/query.props
#Comma separed list of zabbix servers and ports
ZabbixServerList=ZabbixServer
ZabbixServer.Address=10.0.0.1
ZabbixServer.Port=10051
PostbixDaemon.PidFile=./logs/postbix.pid
#frequency of item's refresh
PostbixDaemon.Sleep=120
#MaxThreadNumber should be >= than the number of your databases
PostbixDaemon.MaxThreadNumber=100
#put here your databases in a comma separated list
#DatabaseList=DB1,DB2,DB3
DatabaseList=DB1,DB2
#Configuration of Connection pool
#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
DB1.Url=jdbc
ostgresql://localhost:5432/meudbDB1.User=zabbix
DB1.Password=123456
DB2.Url=jdbc
ostgresql://localhost:5433/meudb2DB2.User=zabbix
DB2.Password=123456
#Query Parameter Files
QueryListFile=/opt/postbix/conf/query.props
2015-01-13 14:22:23,226 [main] INFO Postbix - Starting Postbix Version 1.1.0
2015-01-13 14:22:23,262 [main] INFO Postbix - Postbix started with pid:18750
2015-01-13 14:22:23,263 [main] INFO Postbix - PidFile -> ./logs/postbix.pid
2015-01-13 14:22:23,533 [main] INFO Postbix - Connected as zabbix
2015-01-13 14:22:23,535 [main] INFO Postbix - --------- on Database -> meudb
2015-01-13 14:22:23,563 [main] INFO Postbix - Connected as zabbix
2015-01-13 14:22:23,565 [main] INFO Postbix - --------- on Database -> meudb2
2015-01-13 14:22:23,760 [pool-1-thread-1] INFO Postbix - Done with dbJob on database DB1 QueryList elapsed time 134 ms
2015-01-13 14:22:23,971 [pool-1-thread-2] INFO Postbix - Done with dbJob on database DB2 QueryList elapsed time 335 ms
Comment