Results 1 to 4 of 4

Thread: Centreon-broker help needed :)

  1. #1
    Join Date
    Mar 2012
    Posts
    7

    Question [SOLVED] Centreon-broker help needed :)

    Hi/Salut,

    I need some help with centreon-broker. I have followed that guide : http://en.doc.centreon.com/Centreon-Broker/fr and I'm stuck at the end with a few errors in the logs :

    rdd.log
    Code:
    Centreon Broker log file opened
    [1333044713] config:  module applier: loading directory '/usr/local/lib/centreon-broker'
    [1333044713] config:  correlation: invalid correlation configuration, correlation engine is NOT loaded
    [1333044713] config:  endpoint applier: loading configuration

    module.log
    Code:
    Centreon Broker log file opened
    Centreon Broker log file closed
    config:  log applier: applying 1 logging objects
    config:  module applier: loading directory '/usr/local/lib/centreon-broker'
    config:  correlation: invalid correlation configuration, correlation engine is NOT loaded
    config:  endpoint applier: loading configuration
    error:   TCP: could not connect to 127.0.0.1:5668: Connection refused
    error:   TCP: could not connect to 127.0.0.1:5668: Connection refused
    broker.log
    Code:
    [1333045413] debug:   failover: opening endpoint
    [1333045413] debug:   SQL: checking replication status
    [1333045413] info:    SQL: could not check replication status
    [1333045413] debug:   failover: launching feeding
    [1333045413] error:   subscriber 0x68bcb0 is shutdown, cannot read
    [1333045413] info:    failover: Database-Master is sleeping 30 seconds before reconnection

    Theses are the log during the run. The startup part is the following :

    broker.log
    Code:
    Centreon Broker log file opened
    [1333044722] config:  module applier: loading directory '/usr/local/lib/centreon-broker'
    [1333044722] debug:   modules: loading directory '/usr/local/lib/centreon-broker'
    [1333044722] debug:   modules: loading library '/usr/local/lib/centreon-broker/10-neb.so'
    [1333044722] info:    modules: library '/usr/local/lib/centreon-broker/10-neb.so' loaded
    [1333044722] debug:   modules: initialization routine of '/usr/local/lib/centreon-broker/10-neb.so' successfully completed
    [1333044722] debug:   modules: loading library '/usr/local/lib/centreon-broker/20-correlation.so'
    [1333044722] info:    modules: library '/usr/local/lib/centreon-broker/20-correlation.so' loaded
    [1333044722] config:  correlation: invalid correlation configuration, correlation engine is NOT loaded
    [1333044722] debug:   modules: initialization routine of '/usr/local/lib/centreon-broker/20-correlation.so' successfully completed
    [1333044722] debug:   modules: loading library '/usr/local/lib/centreon-broker/20-storage.so'
    [1333044722] info:    modules: library '/usr/local/lib/centreon-broker/20-storage.so' loaded
    [1333044722] debug:   modules: initialization routine of '/usr/local/lib/centreon-broker/20-storage.so' successfully completed
    [1333044722] debug:   modules: loading library '/usr/local/lib/centreon-broker/50-file.so'
    [1333044722] info:    modules: library '/usr/local/lib/centreon-broker/50-file.so' loaded
    [1333044722] debug:   modules: initialization routine of '/usr/local/lib/centreon-broker/50-file.so' successfully completed
    [1333044722] debug:   modules: loading library '/usr/local/lib/centreon-broker/50-local.so'
    [1333044722] info:    modules: library '/usr/local/lib/centreon-broker/50-local.so' loaded
    [1333044722] debug:   modules: initialization routine of '/usr/local/lib/centreon-broker/50-local.so' successfully completed
    [1333044722] debug:   modules: loading library '/usr/local/lib/centreon-broker/50-tcp.so'
    [1333044722] info:    modules: library '/usr/local/lib/centreon-broker/50-tcp.so' loaded
    [1333044722] debug:   modules: initialization routine of '/usr/local/lib/centreon-broker/50-tcp.so' successfully completed
    [1333044722] debug:   modules: loading library '/usr/local/lib/centreon-broker/60-compression.so'
    [1333044722] info:    modules: library '/usr/local/lib/centreon-broker/60-compression.so' loaded
    [1333044722] debug:   modules: initialization routine of '/usr/local/lib/centreon-broker/60-compression.so' successfully completed
    [1333044722] debug:   modules: loading library '/usr/local/lib/centreon-broker/70-rrd.so'
    [1333044722] info:    modules: library '/usr/local/lib/centreon-broker/70-rrd.so' loaded
    [1333044722] debug:   modules: initialization routine of '/usr/local/lib/centreon-broker/70-rrd.so' successfully completed
    [1333044722] debug:   modules: loading library '/usr/local/lib/centreon-broker/80-ndo.so'
    [1333044722] info:    modules: library '/usr/local/lib/centreon-broker/80-ndo.so' loaded
    [1333044722] debug:   modules: initialization routine of '/usr/local/lib/centreon-broker/80-ndo.so' successfully completed
    [1333044722] debug:   modules: loading library '/usr/local/lib/centreon-broker/80-sql.so'
    [1333044722] info:    modules: library '/usr/local/lib/centreon-broker/80-sql.so' loaded
    [1333044722] debug:   modules: initialization routine of '/usr/local/lib/centreon-broker/80-sql.so' successfully completed
    [1333044722] debug:   modules: finished loading directory '/usr/local/lib/centreon-broker'
    [1333044722] config:  endpoint applier: loading configuration
    [1333044722] debug:   endpoint applier: 1 inputs and 3 outputs to apply
    [1333044722] debug:   endpoint applier: 1 inputs to create, 3 outputs to create
    [1333044722] config:  endpoint applier: creating new endpoint 'Database-Master'
    [1333044722] debug:   endpoint applier: output thread 0x68c220 is registered and ready to run
    [1333044722] config:  endpoint applier: creating new endpoint 'RRD Master'
    [1333044722] error:   endpoint applier: could not find failover '127.0.0.1' for endpoint 'RRD Master'
    [1333044722] debug:   endpoint applier: destruction
    [1333044722] debug:   endpoint applier: requesting input threads termination
    [1333044722] debug:   endpoint applier: all input threads are terminated
    [1333044722] debug:   endpoint applier: requesting output threads termination
    [1333044722] info:    failover: Database-Master is starting
    [1333044722] debug:   failover: launching loop
    [1333044722] debug:   failover: opening endpoint
    [1333044722] debug:   SQL: checking replication status
    [1333044722] info:    SQL: could not check replication status
    [1333044723] debug:   failover: launching feeding
    [1333044723] error:   subscriber 0x68bcb0 is shutdown, cannot read
    Something went wrong with the correlation and the database, but I cannot figure it out !?

    Another thing, a consequence probably, when in the "Administration -> Centreon -> monitoring -> Broker engine used by Centreon" I chose NDOUtils, I can see my services, hosts etc, but they are not refreshed anymore (the poller states are red). Whereas when I choose centreon-broker, I don't see any services or hosts. Just 0/0 for all. The poller states are OK. The weird things are that my notifications are working. I still recieve mails !

    Any help much appreciated !

    Cyril
    Last edited by dubuscyr; 30th March 2012 at 13:24. Reason: Solved

  2. #2
    Join Date
    Mar 2012
    Posts
    7

    Smile

    Ok I have found a bug in my configuration files, I don't have theses errors anymore. But I still have a probleme. In the broker log file, I have a lot of lines like that :

    Code:
    SQL: instance 1 was not updated because no matching entry was found in database
    And I don't know how to solve that. Any clues ?

  3. #3
    Join Date
    Mar 2012
    Posts
    7

    Default

    Okay I figure it out !

    I had two databases centstorage and centstatus. The censtorage is for perfdata and the centstatus is the Database Master.

    Everything seems working again.

    Cyril

  4. #4
    Join Date
    Dec 2009
    Location
    Québec
    Posts
    14

    Default

    How can the centstatus Database still be used when I no see it anymore in the centengine - centreon-broker configurations?

    Is it the reason why my table nagios_instances is empty?

Similar Threads

  1. services disabled avec centreon-engine + centreon-broker
    By thomas.dub in forum Centreon Project
    Replies: 0
    Last Post: 8th March 2012, 15:24
  2. Replies: 1
    Last Post: 14th February 2012, 16:50
  3. Centreon Broker
    By Pinault22 in forum Centreon Project
    Replies: 10
    Last Post: 2nd February 2012, 10:21
  4. Centreon Broker
    By ZLO in forum Setup
    Replies: 6
    Last Post: 20th October 2011, 09:16
  5. [centreon 2.1.3] double click needed to navigate in centron
    By gui82 in forum Centreon devel version
    Replies: 4
    Last Post: 9th November 2009, 10:56

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •