Icinga

6.6. Konfigurationsübersicht Icinga Web

6.6.1. Wo sind meine Konfigurationsdateien?
6.6.2. Index
6.6.3. Globale Konfiguration
6.6.4. Fehlersuche
6.6.5. Modul-Konfiguration:
6.6.6. Benutzerdefinierte Konfiguration

6.6.1. Wo sind meine Konfigurationsdateien?

Die von Icinga Web bereitgestellten Konfigurationsdateien stehen unter app/config, aber Site-spezifische stehen im Web-Konfigurationsordner (per Default etc/conf.d), der bei Aktualisierungen nicht überschrieben wird. Der Ordner kann während der Installation mit Hilfe von --with-conf-dir geändert werden. Die Namen der Dateien sind identisch zu denen in app/config.

Icinga Web arbeitet mit Modulen und jedes Modul hat seine eigene Konfiguration. Das gilt ebenfalls für die Libraries. Wenn Sie weitere Informationen zu den Cronk-Libraries benötigen, schauen Sie in app/modules/Cronks/lib (für js in app/modules/Cronks/lib/js).

Ein Modul von Icinga Web ist wie folgt aufgebaut:

 tree -d -L 1 app/modules/AppKit/
 app/modules/AppKit/
 |-- actions
 |-- config
 |-- lib
 |-- models
 |-- templates
 |-- validate
 |-- views

6.6.2. Index

Tabelle 6.1. Konfigurationsdateien
Dateiname Ablageort Bemerkung
access.xml app/modules/Api/config/ Controls commands and where Icinga commands goes to
auth.xml app/modules/AppKit/config/ Authentication configuration
cronks.xml app/modules/Cronks/config/ System cronk and categories which are not changeable by users
databases.xml app/config/ Upgrade safe database connections
factories.xml app/config/ Agavi system config, storage and session configuration
icinga.xml app/config/ Icinga settings, e.g. version and prefixes / version name
logging.xml app/config/ Disable log levels or write new logfiles
module_appkit.xml app/modules/AppKit/config/ Overwrite settings for AppKit module (ajax timeout, SQL query logging)
module_cronks.xml app/modules/Cronks/config/ Overwrite settings for Cronks module
module_reporting.xml app/modules/Reporting/config/ Overwrite settings for Reporting (multiple JasperServer ...)
module_web.xml app/modules/Web/config/ Overwrite setting for Web module
settings.xml app/config/ Change agavi core settings (Title, availability, debug-mode, ...)
sla.xml app/modules/Api/config/ SLA settings for the provider (Only used by tackle view)
exclude_customvars.xml app/modules/Api/config/ Exclude sensitive customvars from API queries
translation.xml app/config/ Default language, date and time formats and settings
module.xml app/modules/Appkit/config/ Overwrite user preferences using userpreferences.xml (in etc/conf.d)

6.6.3. Globale Konfiguration

app/config

Hier finden Sie die globalen Konfigurationsdateien für z.B. die Web-Session, den Icinga-Web-Pfad und die Datenbankinformationen.

Die wichtigsten Dateien:

6.6.4. Fehlersuche

Icinga Web-Zeitzone

Wenn die Zeitzone von Icinga Web von Ihrer lokalen Zeitzone abweicht, überprüfen Sie bitte den Parameter "date.timezone" in Ihrer php.ini. Alternativ überprüfen Sie den Eintrag in app/modules/AppKit/config/module.xml (z.B. 'Europe/Berlin')

#> vi app/modules/AppKit/config/module.xml
<ae:parameter name="date.timezone">Europe/Berlin</ae:parameter>

Benutzervorgaben ändern

Die Datei module.xml enthält verschiedene Einstellungen, die durch eigene Werte überschrieben werden können, die in der Datei userpreferences.xml (im Ordner etc/config einzutragen sind).

6.6.5. Modul-Konfiguration:

6.6.6. Benutzerdefinierte Konfiguration

Bitte beachten:

Wenn Sie Konfigurationsdateien ändern oder erstellen, denken Sie bitte an folgendes:

[Anmerkung] Anmerkung

Nach dem Ändern von Konfigurationsdateien leeren Sie bitte den Cache!

 #> rm -rf app/cache/config/*.php

oder

 #> /usr/local/icinga-web/bin/clearcache.sh

Benötigen Sie weitere Informationen? Schauen Sie bitte in unserem Development Wiki.