Ad Widget

Collapse

No data on items POSTBIX

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rbragatce
    Junior Member
    • Jan 2015
    • 8

    #1

    No data on items POSTBIX

    Hi
    I would like to ask for help, I installed the postbix on my server but I cannot see any data, My zabbix is 2.4 and my postbix is 1.2.0-RC1 and 1.1.0 but nothing happens, please just check out below my postbix output
    2015-01-14 12:46:21,988 [main] INFO Postbix - Starting Postbix Version 1.1.0
    2015-01-14 12:46:22,013 [main] INFO Postbix - PostBix started with pid:22873
    2015-01-14 12:46:22,014 [main] INFO Postbix - PidFile -> ./logs/postbix.pid
    2015-01-14 12:46:22,330 [main] INFO Postbix - Connected as zabbix
    2015-01-14 12:46:22,332 [main] INFO Postbix - --------- on Database -> mydb
    2015-01-14 12:46:22,529 [pool-1-thread-1] INFO Postbix - Done with dbJob on database DB1 QueryList elapsed time 121 ms
    Click image for larger version

Name:	zabbix.jpg
Views:	2
Size:	51.0 KB
ID:	317079
    /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=jdbcostgresql://localhost:5432/meudb
    DB1.User=zabbix
    DB1.Password=123456


    DB2.Url=jdbcostgresql://localhost:5433/meudb2
    DB2.User=zabbix
    DB2.Password=123456

    #Query Parameter Files
    QueryListFile=/opt/postbix/conf/query.props
    PLease I had type the Select in psql command line but it is ok , but my items inside the zabbix doesn't get data...

    Cheers
    Last edited by rbragatce; 15-01-2015, 16:11. Reason: Solved this issue
  • rbragatce
    Junior Member
    • Jan 2015
    • 8

    #2
    [solved] No data on items postbix

    Hi

    I found my mistake inside the file config.props, I was using the same name DB1. for each parameter of my JDBC statement, but when you type must enclose the name of the same host as the zabbix server.

    Thanks

    Comment

    Working...