Bonjour,
Suite a des fichiers qui grossissais sur mon Debian, j’ai été voir quel fichier/dossier prenais de la place. Et je suis tombé sur les fichier log central-broker.log qui fait 3,5 Go et un central-broker.log.old qui en fait 9,5Go
Du coup, j’essaye de voir ce qu’il ce passe et il y a cette suite de log qui ce répète:
Centreon Broker 18.10.0 log file opened
[1589882870] config: module applier: loading directory '/usr/lib/centreon-broker/modules'
[1589882870] info: dumper: module for Centreon Broker 18.10.0
[1589882870] info: NEB: module for Centreon Broker 18.10.0
[1589882870] info: stats: module for Centreon Broker 18.10.0
[1589882870] info: BAM: module for Centreon Broker 18.10.0
[1589882870] info: storage: module for Centreon Broker 18.10.0
[1589882870] info: correlation: module for Centreon Broker 18.10.0
[1589882870] info: notification: module for Centreon Broker 18.10.0
[1589882870] info: TCP: module for Centreon Broker 18.10.0
[1589882870] info: TLS: module for Centreon Broker 18.10.0
[1589882870] info: TLS: loading GNU TLS version 3.6.7
[1589882870] info: graphite: module for Centreon Broker 18.10.0
[1589882870] info: influxdb: module for Centreon Broker 18.10.0
[1589882870] info: lua: module for Centreon Broker 18.10.0
[1589882870] info: RRD: module for Centreon Broker 18.10.0
[1589882870] info: RRD: using rrdtool 1.7.1
[1589882870] info: SQL: module for Centreon Broker 18.10.0
[1589882870] info: file: opening new file '/var/lib/centreon-broker//central-broker.memory.central-broker-input'
[1589882870] info: file: end of file '/var/lib/centreon-broker//central-broker.memory.central-broker-input' reached, erasing file
[1589882870] info: file: opening new file '/var/lib/centreon-broker//central-broker.queue.central-broker-input'
[1589882870] info: file: end of file '/var/lib/centreon-broker//central-broker.queue.central-broker-input' reached, erasing file
[1589882870] info: file: opening new file '/var/lib/centreon-broker//central-broker.memory.central-broker-extcommands-engine-poller-module-1'
[1589882870] info: file: end of file '/var/lib/centreon-broker//central-broker.memory.central-broker-extcommands-engine-poller-module-1' reached, erasing file
[1589882870] info: file: opening new file '/var/lib/centreon-broker//central-broker.queue.central-broker-extcommands-engine-poller-module-1'
[1589882870] info: file: end of file '/var/lib/centreon-broker//central-broker.queue.central-broker-extcommands-engine-poller-module-1' reached, erasing file
[1589882870] info: file: opening new file '/var/lib/centreon-broker//central-broker.memory.central-broker-cfg-broker-poller-module-1'
[1589882870] info: file: end of file '/var/lib/centreon-broker//central-broker.memory.central-broker-cfg-broker-poller-module-1' reached, erasing file
[1589882870] info: file: opening new file '/var/lib/centreon-broker//central-broker.queue.central-broker-cfg-broker-poller-module-1'
[1589882870] info: file: end of file '/var/lib/centreon-broker//central-broker.queue.central-broker-cfg-broker-poller-module-1' reached, erasing file
[1589882870] info: file: opening new file '/var/lib/centreon-broker//central-broker.cache.central-broker-cfg-broker-poller-module-1'
[1589882870] info: file: end of file '/var/lib/centreon-broker//central-broker.cache.central-broker-cfg-broker-poller-module-1' reached, NOT erasing file
[1589882870] info: file: opening new file '/var/lib/centreon-broker//central-broker.memory.central-broker-cfg-engine-poller-module-1'
[1589882870] info: file: end of file '/var/lib/centreon-broker//central-broker.memory.central-broker-cfg-engine-poller-module-1' reached, erasing file
[1589882870] info: file: opening new file '/var/lib/centreon-broker//central-broker.queue.central-broker-cfg-engine-poller-module-1'
[1589882870] info: file: end of file '/var/lib/centreon-broker//central-broker.queue.central-broker-cfg-engine-poller-module-1' reached, erasing file
[1589882870] info: file: opening new file '/var/lib/centreon-broker//central-broker.cache.central-broker-cfg-engine-poller-module-1'
[1589882870] info: file: end of file '/var/lib/centreon-broker//central-broker.cache.central-broker-cfg-engine-poller-module-1' reached, NOT erasing file
[1589882870] info: file: opening new file '/var/lib/centreon-broker//central-broker.memory.central-broker-db-cfg-reader'
[1589882870] info: file: end of file '/var/lib/centreon-broker//central-broker.memory.central-broker-db-cfg-reader' reached, erasing file
[1589882870] info: file: opening new file '/var/lib/centreon-broker//central-broker.queue.central-broker-db-cfg-reader'
[1589882870] info: file: end of file '/var/lib/centreon-broker//central-broker.queue.central-broker-db-cfg-reader' reached, erasing file
[1589882870] info: file: opening new file '/var/lib/centreon-broker//central-broker.memory.central-broker-nodeevents'
[1589882870] info: file: end of file '/var/lib/centreon-broker//central-broker.memory.central-broker-nodeevents' reached, erasing file
[1589882870] info: file: opening new file '/var/lib/centreon-broker//central-broker.queue.central-broker-nodeevents'
[1589882870] info: file: end of file '/var/lib/centreon-broker//central-broker.queue.central-broker-nodeevents' reached, erasing file
[1589882870] info: file: opening new file '/var/lib/centreon-broker//central-broker.cache.central-broker-nodeevents'
[1589882870] info: file: end of file '/var/lib/centreon-broker//central-broker.cache.central-broker-nodeevents' reached, NOT erasing file
[1589882870] info: file: opening new file '/var/lib/centreon-broker//central-broker.memory.central-broker-sql'
[1589882870] info: file: end of file '/var/lib/centreon-broker//central-broker.memory.central-broker-sql' reached, erasing file
[1589882870] info: file: opening new file '/var/lib/centreon-broker//central-broker.queue.central-broker-sql'
[1589882870] info: file: end of file '/var/lib/centreon-broker//central-broker.queue.central-broker-sql' reached, erasing file
[1589882870] error: could not open database: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) QMYSQL: Unable to connect
[1589882870] info: file: opening new file '/var/lib/centreon-broker//central-broker.memory.central-broker-storage'
[1589882870] info: file: end of file '/var/lib/centreon-broker//central-broker.memory.central-broker-storage' reached, erasing file
[1589882870] info: file: opening new file '/var/lib/centreon-broker//central-broker.queue.central-broker-storage'
[1589882870] info: file: end of file '/var/lib/centreon-broker//central-broker.queue.central-broker-storage' reached, erasing file
[1589882870] error: could not open database: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) QMYSQL: Unable to connect
[1589882870] info: file: opening new file '/var/lib/centreon-broker//central-broker.memory.central-broker-rrd'
[1589882870] info: file: end of file '/var/lib/centreon-broker//central-broker.memory.central-broker-rrd' reached, erasing file
[1589882870] info: file: opening new file '/var/lib/centreon-broker//central-broker.queue.central-broker-rrd'
[1589882870] info: file: end of file '/var/lib/centreon-broker//central-broker.queue.central-broker-rrd' reached, erasing file
[1589882870] info: file: opening new file '/var/lib/centreon-broker//central-broker.memory.central-broker-correlation'
[1589882870] info: file: end of file '/var/lib/centreon-broker//central-broker.memory.central-broker-correlation' reached, erasing file
[1589882870] info: file: opening new file '/var/lib/centreon-broker//central-broker.queue.central-broker-correlation'
[1589882870] info: file: end of file '/var/lib/centreon-broker//central-broker.queue.central-broker-correlation' reached, erasing file
[1589882870] info: file: opening new file '/var/lib/centreon-broker//central-broker.cache.central-broker-correlation'
[1589882870] info: file: opening new file '/var/lib/centreon-broker//central-broker.memory.central-broker-bam-monitoring'
[1589882870] info: file: end of file '/var/lib/centreon-broker//central-broker.memory.central-broker-bam-monitoring' reached, erasing file
[1589882870] info: file: opening new file '/var/lib/centreon-broker//central-broker.queue.central-broker-bam-monitoring'
[1589882870] info: file: end of file '/var/lib/centreon-broker//central-broker.queue.central-broker-bam-monitoring' reached, erasing file
[1589882870] info: file: opening new file '/var/lib/centreon-broker//central-broker.cache.central-broker-bam-monitoring'
[1589882870] error: BAM: command_file parameter not set
[1589882870] error: parsing error on '/etc/centreon-broker/correlation.xml': No such file or directory
[1589882870] info: file: opening new file '/var/lib/centreon-broker//central-broker.cache.central-broker-nodeevents.new'
[1589882870] info: file: opening new file '/var/lib/centreon-broker//central-broker.cache.central-broker-cfg-broker-poller-module-1.new'
[1589882870] info: file: opening new file '/var/lib/centreon-broker//central-broker.cache.central-broker-cfg-engine-poller-module-1.new'
Centreon Broker 18.10.0 log file closed
Mais je ne sais pas ce que c’est « Centreon Broker » et « central-broker » et je n’arrive pas a trouver d’informations que je comprend en ligne.
Et puis, si quelqu’un a une idée de comment je peux régler le problème de connection a la base de donnée?
Cordiallement
pourquoi ils sont présents.
c’est mon PC personnel. J’ai bien conscience que je ne le gère pas au mieux, mais j’essaye de faire de mon mieux. D’ailleurs, je vais voir comment avoir une gestion des fichiers log un peut correct et essayer de les vérifier régulièrement