Project: Centreon (Observability and Analysis / Observability)
File: configuration.md

| Directive | Description | | : | :- | | name | Name of the configuration | | description | Short string to decribe the configuration | | configuration | First configuration entry point | | centreon | Entry point to set Centreon configuration | | database | Entry point to set Centreon databases data source names and credentials | | gorgonecore | Entry point to set Gorgone main configuration | | modules | Table to load and configuration Gorgone modules | Usefull in a Centreon Central installation to access Centreon databases. | Directive | Description | | :-- | :- | | dsn | Data source name of the database | | username | Username to access the database | | password | Username's password | ```yaml configuration: centreon: database: db_configuration: dsn: "mysql:host=localhost;dbname=centreon" username: centreon password: centreon db_realtime: dsn: "mysql:host=localhost;dbname=centreon_storage" username: centreon password: centreon ``` | Directive | Description | Default value | | :-- | :- | : | | internalcomtype | Type of the internal ZMQ socket | `ipc` | | internalcompath | Path to the internal ZMQ socket | `/tmp/gorgone/routing.ipc` | | internalcomcrypt | Crypt internal communication | `true` | | internalcomcipher | Internal communication cipher | `AES` | | internalcompadding | Internal communication padding | `1` (mean: PKCS5) | | internalcomkeysize | Internal communication key size | `32` (bytes) | | internalcomrotation | Internal communication time before key rotation | `1440` (minutes) | | externalcomtype | Type of the external ZMQ socket | `tcp` | | externalcompath | Path to the external ZMQ socket | `*:5555` | | externalcomcipher | Cipher used for encryption | `AES` | | externalcomkeysize | Size in bytes of the symmetric encryption key | `32` | | externalcompadding | External communication padding | `1` (mean: PKCS5) | | externalcomrotation | External communication time before key rotation | `1440` (minutes) | | timeout | Time in seconds before killing child processes when stopping Gorgone | `50` | | gorgonedbtype | Type of the Gorgone database | `SQLite` | | gorgonedbname | Path and name of the database | `dbname=/var/lib/centreon-gorgone/history.sdb` | | gorgonedbhost | Hostname/IP address of the server hosting the database | | | gorgonedbport | Port of the database listener | | | gorgonedbuser | Username to access the database | | | gorgonedbpassword | Username's password | | | hostname | Hostname of the server running Gorgone | Result of hostname system function. | | id | Identifier of server running Gorgone | None. Must be unique over all Gorgone daemons. | | privkey | Path to the Gorgone core private key | `keys/rsakey.priv.pem` | | pubkey | Path to the Gorgone core public key | `keys/rsakey.pub.pem` | | fingerprint_mode | Validation mode of zmq nodes to connect (can be: always, first, strict) | `first` | | fingerprint_mgr | Hash of the definition class to store fingerprints | | | authorized_clients | Table of string-formated JWK thumbprints of clients public key | | | proxy_name | Name of the proxy module definition | `proxy` (loaded internally) | ```yaml configuration: gorgone: gorgonecore: internalcomtype: ipc internalcompath: /tmp/gorgone/routing.ipc externalcomtype: tcp externalcompath: "*:5555" timeout: 50 gorgonedbtype: SQLite gorgonedbname: dbname=/var/lib/centreon-gorgone/history.sdb gorgonedbhost: gorgonedbport: gorgonedbuser: gorgonedbpassword: hostname: id: privkey: keys/central/privkey.pem cipher: "Cipher::AES" keysize: 32 vector: 0123456789012345 fingerprint_mode: first fingerprint_mgr: package: gorgone::class::fingerprint::backend::sql authorized_clients: key: pnI6EWkiTbazjikJXRkLmjml5wvVECYtQduJUjS4QK4 proxy_name: proxy ``` See the configuration titles of the modules documentations listed .