Skip to main content

List of Centreon logs

General

The logs of the web interface and of the API are gathered in /var/log/centreon and named prod.<channel>.log. Those files are archived by logrotate: previous versions are suffixed .1, .2.gz, and so on.

What happened to the former files

Former fileWhere to look now
/var/log/centreon/centreon-web.log/var/log/centreon/prod.web.log
/var/log/centreon/sql-error.log/var/log/centreon/prod.web.log
/var/log/php-fpm/centreon-error.log/var/log/centreon/prod.web.log
/var/log/centreon/ldap.log/var/log/centreon/prod.access.log
/var/log/centreon/login.log/var/log/centreon/prod.access.log — see the warning below

login.log is still written today, but it is deprecated: it will be removed in version 27.10. If you rely on this file (fail2ban, SIEM, scripts), switch to prod.access.log now — it contains the same events, with more information.

What each log line now contains

Log lines are enriched automatically. Besides the message itself, each one states:

  • the date and time, with the time zone;
  • the user involved and their rights;
  • the IP address of the client, the URL that was called and the page of the interface the action came from;
  • a unique request identifier, which groups together every line produced by a single action, so an incident can be followed from end to end.

Passwords, tokens and other sensitive data are masked automatically, including when they appear in a URL.

Security events and technical errors are kept apart

In line with the OWASP logging recommendations, security events are kept separate from technical errors. Logins, logouts, failed authentications and denied access are recorded in prod.access.log, each with the user, the source IP address, the authentication mode used and the outcome. This file is meant to be consumed by security tools (SIEM, fail2ban).

Technical errors stay in prod.web.log. Note that this file only records the requests that produced at least one error, together with the last lines of context for that request.

What do you want to debug?ProcessLog fileSymptoms
Centreon Enginecentengine/var/log/centreon-engine/centengine.logChecks are not executed Deleted objects are still being monitored
Centreon Brokercbd/var/log/centreon-broker/watchdog.logThe cbd process keeps restarting
/var/log/centreon-broker/central-broker-master.logReal-time menus are not updated
/var/log/centreon-broker/central-rrd-master.logPerformance graphs are not up to date
User access rights (ACL)centACL.php cron/var/log/centreon/centAcl.logIncorrect ACLs
Gorgonegorgoned/var/log/centreon-gorgone/gorgoned.logActions are not triggered: acknowledgements, downtime, forced checks, autodiscovery The configuration is not updated on the pollers
Backupscentreon-backup.pl cron/var/log/centreon/centreon-backup.logProblems with backups of Centreon
Recurring downtimesdowntimeManager.php cron/var/log/centreon/downtimeManager.logNo recurrent downtimes are sent to the pollers
Telemetry data (CEIP)centreon-send-stats.php cron/var/log/centreon/statistics.logError when connecting to the Centreon API that sends CEIP data
Interface, API and database/var/log/centreon/prod.web.log
Replaces centreon-web.log, sql-error.log and /var/log/php-fpm/centreon-error.log
API call problems, errors in forms, SQL errors, blank pages, uncaught exceptions
/var/log/apache2/*.logMalfunctioning interface
/var/log/httpd/*.logMalfunctioning interface (HTTP 50x errors)
SNMP trapscentreontrapd/var/log/centreon/centreontrapd.logProblems with the reception of SNMP traps
SNMP traps (DSM)dsmd/var/log/centreon/centreon-dsm.logProblems with SNMP trap management with DSM
Basic availability reportsdashboardBuilder cron/var/log/centreon/dashboardBuilder.logBlank page or incomplete data
Basic availability reportseventReportBuilder cron/var/log/centreon/eventReportBuilder.logBlank page or incomplete data
DBMS partitionscentreon-partitioning.php cron/var/log/centreon/centreon-partitioning.logNo new partitions are created
Database data purgecentstorage_purge.php cron/var/log/centreon/centreon-purge.logOld partitions are not deleted
Knowledge BasecentKnowledgeSynchronizer.php cron/var/log/centreon/knowledgebase.logErrors in the cron that synchronizes Mediawiki pages with the Notes URL parameter on resources
Anomaly DetectionLUA script/var/log/centreon-broker/anomaly-detection.logThe data is not sent to Centreon SaaS
cron launched by gorgoned/var/log/centreon/anomaly_detection.logThe star rating calculation for services does not work in the "suggest" menu
Login to the Centreon interface/var/log/centreon/prod.access.log
Replaces ldap.log and login.log
Users are unable to connect to the Centreon interface, whichever authentication mode is used (local, LDAP, OpenID, SAML, WebSSO)
Logouts, token refresh failures, denied access
/var/log/centreon/login.log
Deprecated: this file will be removed in 27.10, migrate to prod.access.log
Copy of successful and failed logins in the historical format, kept temporarily for compatibility with existing tools (fail2ban)
LDAP user import/var/log/centreon/ldapsearch.logAn error occurs when importing users with LDAP
Password changes/var/log/centreon/prod.password.logPassword changes for all users (successful and unsuccessful)
Centreon upgrade/var/log/centreon/prod.upgrade.logAn upgrade fails or hangs: full trace of every migration step (SQL scripts, data migration, post-installation tasks), successful or not, kept after the upgrade
Monitoring connectors/var/log/centreon/prod.plugin-pack-manager.logProblems installing or updating Monitoring Connectors
Licenses/var/log/centreon/license-manager.logLicenses not present or not up-to-date
No access to Monitoring Connectors
API tokens/var/log/centreon/prod.token.logProblems creating, updating or deleting API tokens
outdated-token-removal.php cron/var/log/centreon/centreon-tokens.logProblems with expired tokens
Performance graphs/var/log/centreon/rrdtool.logNo graphs are displayed
Centreon VMware daemoncentreon_vmware/var/log/centreon/centreon_vmware.logMonitoring with VMware connectors doesn't work

Business modules

What do you want to debug?ProcessLog fileSymptoms
Centreon Map Engine/var/log/centreon-map/centreon-map-engine.logProblems with the Centreon MAP server
Centreon Map Legacy/var/log/centreon-map/centreon-studio.logProblems with MAP Legacy
/var/log/centreon-map/centreon-map.logProblems with MAP Legacy
Centreon MBIcbis/var/log/centreon-bi/cbis.outNo reports are generated/no emails sent
/var/log/centreon-bi/cbis.[date].logProblems generating reports
centreon-bi-backup-web.sh cron/var/log/centreon/centreon-bi-backup-web.logProblems backing up generated reports
centreon-bi-backup-reporting-server.sh cron/var/log/centreon-bi/centreon-bi-backup-reporting-server-db.logProblems backing up generated reports
centreon-bi-backup-reporting-server.sh cron/var/log/centreon-bi/centreon-bi-backup-reporting-server-db.logProblems backing up generated reports
centreon-bi-backup-reporting-server.sh cron/var/log/centreon-bi/centreon-bi-backup-reporting-server-files.logProblems backing up generated reports
centreonBIETL cron/var/log/centreon-bi/centreonBIETL.logThe db-content checks sates that the data is not up to date
purgeArchivesFiles.php cron/var/log/centreon/centreon-bi-archive-retention.logProblems purging old reports
dataRetentionManager.pl cron/var/log/centreon-bi/dataRetentionManager.logProblems with retention of ETL data
Centreon BAM/var/log/centreon/prod.web.log
Replaces /var/log/php-fpm/centreon-error.log
The web interface doesn't work
/var/log/centreon-broker/central-broker-master.logInconsistent BA status

Poller

What do you want to debug?ProcessLog fileSymptoms
Centreon Broker/var/log/centreon-broker/central-broker-master.log