tachtler:icinga2_-_classic_ui
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
tachtler:icinga2_-_classic_ui [2015/12/12 10:23] – klaus | tachtler:icinga2_-_classic_ui [2018/10/20 19:49] (aktuell) – [/etc/icinga/cgi.cfg] klaus | ||
---|---|---|---|
Zeile 2097: | Zeile 2097: | ||
ServerPath / | ServerPath / | ||
| | ||
- | ScriptAlias /cgi-bin "/ | + | ScriptAlias |
+ | Alias /icinga "/ | ||
DocumentRoot "/ | DocumentRoot "/ | ||
Zeile 2134: | Zeile 2135: | ||
</ | </ | ||
</ | </ | ||
- | |||
- | DirectoryIndex index.php | ||
ErrorLog logs/ | ErrorLog logs/ | ||
Zeile 2172: | Zeile 2171: | ||
</ | </ | ||
- | ==== / | + | ==== / |
Nachfolgende Konfigurationsdatei | Nachfolgende Konfigurationsdatei | ||
* ''/ | * ''/ | ||
- | beinhaltete alle Konfigurationsdirektiven für [[https:// | + | beinhaltete alle Konfigurationsdirektiven für [[https:// |
Nachfolgende die **komplette Konfigurationsdatei**: | Nachfolgende die **komplette Konfigurationsdatei**: | ||
Zeile 2192: | Zeile 2190: | ||
refresh_rate=30 | refresh_rate=30 | ||
refresh_type=1 | refresh_type=1 | ||
- | escape_html_tags=1 | + | # Tachtler |
- | result_limit=50 | + | # default: |
+ | escape_html_tags=0 | ||
+ | # Tachtler | ||
+ | # default: | ||
+ | result_limit=0 | ||
show_tac_header=1 | show_tac_header=1 | ||
use_pending_states=1 | use_pending_states=1 | ||
Zeile 2203: | Zeile 2205: | ||
use_ssl_authentication=0 | use_ssl_authentication=0 | ||
lowercase_user_name=0 | lowercase_user_name=0 | ||
- | authorized_for_system_information=icingaadmin | + | # Tachtler |
- | authorized_for_configuration_information=icingaadmin | + | # default: |
- | authorized_for_full_command_resolution=icingaadmin | + | authorized_for_system_information=klaus |
- | authorized_for_system_commands=icingaadmin | + | # Tachtler |
- | authorized_for_all_services=icingaadmin | + | # default: |
- | authorized_for_all_hosts=icingaadmin | + | authorized_for_configuration_information=klaus |
- | authorized_for_all_service_commands=icingaadmin | + | # Tachtler |
- | authorized_for_all_host_commands=icingaadmin | + | # default: |
+ | authorized_for_full_command_resolution=klaus | ||
+ | # Tachtler | ||
+ | # default: | ||
+ | authorized_for_system_commands=klaus | ||
+ | # Tachtler | ||
+ | # default: | ||
+ | authorized_for_all_services=klaus | ||
+ | # Tachtler | ||
+ | # default: | ||
+ | authorized_for_all_hosts=klaus | ||
+ | # Tachtler | ||
+ | # default: | ||
+ | authorized_for_all_service_commands=klaus | ||
+ | # Tachtler | ||
+ | # default: | ||
+ | authorized_for_all_host_commands=klaus | ||
show_all_services_host_is_authorized_for=1 | show_all_services_host_is_authorized_for=1 | ||
show_partial_hostgroups=0 | show_partial_hostgroups=0 | ||
Zeile 2242: | Zeile 2260: | ||
# requires standalone_installation=1 | # requires standalone_installation=1 | ||
###################################### | ###################################### | ||
- | object_cache_file=/ | + | # Tachtler - ab icinga2 2.10.1 |
+ | # default: | ||
+ | object_cache_file=/ | ||
status_file=/ | status_file=/ | ||
resource_file=/ | resource_file=/ | ||
Zeile 2258: | Zeile 2278: | ||
</ | </ | ||
- | **__Erklärung zu den vorhergehenden | + | **__Erklärung zu den vorhergehenden |
+ | |||
+ | * <code bash> | ||
+ | |||
+ | Interpretation von Links in der Anziege des Web-Interfaces als Text, oder tatsächliche Links. (0 = als Link interpretieren, | ||
+ | |||
+ | * <code bash> | ||
+ | |||
+ | Limit für die Anzeige von Elementen der Status-Seite des Web-Interfaces. (0 = unlimitiert, | ||
+ | |||
+ | * <code bash># Tachtler | ||
+ | # default: authorized_for_system_information=icingaadmin | ||
+ | authorized_for_system_information=klaus | ||
+ | # Tachtler | ||
+ | # default: authorized_for_configuration_information=icingaadmin | ||
+ | authorized_for_configuration_information=klaus | ||
+ | # Tachtler | ||
+ | # default: authorized_for_full_command_resolution=icingaadmin | ||
+ | authorized_for_full_command_resolution=klaus | ||
+ | # Tachtler | ||
+ | # default: authorized_for_system_commands=icingaadmin | ||
+ | authorized_for_system_commands=klaus | ||
+ | # Tachtler | ||
+ | # default: authorized_for_all_services=icingaadmin | ||
+ | authorized_for_all_services=klaus | ||
+ | # Tachtler | ||
+ | # default: authorized_for_all_hosts=icingaadmin | ||
+ | authorized_for_all_hosts=klaus | ||
+ | # Tachtler | ||
+ | # default: authorized_for_all_service_commands=icingaadmin | ||
+ | authorized_for_all_service_commands=klaus | ||
+ | # Tachtler | ||
+ | # default: authorized_for_all_host_commands=icingaadmin | ||
+ | authorized_for_all_host_commands=klaus</ | ||
+ | |||
+ | Änderung des Benutzers zur Authentifizierung an [[https:// | ||
+ | |||
+ | :!: **HIWNEIS** - **Vorausgehend bei der Konfiguration des VHOST wurde die Authentifizierung gegen __LDAP__ eingeführt!** | ||
+ | |||
+ | * <code bash># Tachtler - ab icinga2 2.10.1 | ||
+ | # default: object_cache_file=/ | ||
+ | object_cache_file=/ | ||
+ | |||
+ | **Ab [[https:// | ||
* <code bash> | * <code bash> | ||
Einstellung des Formats für das Datums für die LOG-Dateien. | Einstellung des Formats für das Datums für die LOG-Dateien. | ||
+ | |||
+ | ==== / | ||
+ | |||
+ | Nachfolgende Konfigurationsdatei | ||
+ | * ''/ | ||
+ | beinhaltete alle Ressourcen-Konfigurationsdirektiven für [[https:// | ||
+ | |||
+ | :!: **HINWEIS** - **Die Konfigurationsdatei besteht __grundsätzlich nicht__, deshalb kann diese mit nachfolgendem Befehl wie folgt angelegt werden:** | ||
+ | < | ||
+ | # touch / | ||
+ | </ | ||
+ | |||
+ | Nachfolgende die **komplette Konfigurationsdatei**: | ||
+ | <code bash> | ||
+ | # Sets $USER1$ to be the path to the plugins | ||
+ | $USER1$=/ | ||
+ | |||
+ | # Sets $USER2$ to be the path to event handlers | ||
+ | # | ||
+ | |||
+ | # Store some usernames and passwords (hidden from the CGIs) | ||
+ | # | ||
+ | # | ||
+ | </ | ||
+ | |||
+ | ==== / | ||
+ | |||
+ | In nachfolgendem Verzeichnis | ||
+ | * ''/ | ||
+ | müssen die darin enthaltenen Dateien durch den Benutzer des [[http:// | ||
+ | |||
+ | Nachfolgender Befehl fügt den Benutzer **'' | ||
+ | < | ||
+ | # usermod -a -G icinga apache | ||
+ | </ | ||
+ | |||
+ | Anschließend ist der Benutzer **'' | ||
+ | |||
+ | :!: **HINWEIS** - Nachfolgender Fehler im der LOG-Datei der [[https:// | ||
+ | * ''/ | ||
+ | sollte somit **__nicht__ mehr auftreten**: | ||
+ | < | ||
+ | ... | ||
+ | [1506061398] Error: Cannot open config file '/ | ||
+ | ... | ||
+ | </ | ||
===== icinga2: Neustart ===== | ===== icinga2: Neustart ===== | ||
Zeile 2329: | Zeile 2438: | ||
Durch Eingabe der entsprechenden URL sollte nachfolgender Bildschirm in Browser erscheinen: | Durch Eingabe der entsprechenden URL sollte nachfolgender Bildschirm in Browser erscheinen: | ||
- | FIXME | + | {{: |
tachtler/icinga2_-_classic_ui.1449912188.txt.gz · Zuletzt geändert: 2015/12/12 10:23 von klaus