Announcement

Collapse
No announcement yet.

Centreon-broker help needed :)

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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, 12:24. Reason: Solved

  • #2
    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 ?

    Comment


    • #3
      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

      Comment


      • #4
        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?

        Comment

        Working...
        X