diff --git a/etc/icinga/README b/etc/icinga/README new file mode 100644 index 000000000..9f71ac383 --- /dev/null +++ b/etc/icinga/README @@ -0,0 +1,2 @@ +This directory contains Icinga 1.x Classic UI configuration +used by packages. diff --git a/etc/icinga/cgi.cfg b/etc/icinga/cgi.cfg new file mode 100644 index 000000000..43e6febe2 --- /dev/null +++ b/etc/icinga/cgi.cfg @@ -0,0 +1,73 @@ +# Icinga 2 Classic UI configuration +# +# requires icinga-gui package +# check http://docs.icinga.org for option details +standalone_installation=1 +physical_html_path=/usr/share/icinga +url_html_path=/icinga +url_stylesheets_path=/icinga/stylesheets +http_charset=utf-8 +refresh_rate=30 +refresh_type=1 +escape_html_tags=1 +result_limit=50 +show_tac_header=1 +use_pending_states=1 +first_day_of_week=0 +suppress_maintenance_downtime=0 +action_url_target=main +notes_url_target=main +use_authentication=1 +use_ssl_authentication=0 +lowercase_user_name=0 +authorized_for_system_information=icingaadmin +authorized_for_configuration_information=icingaadmin +authorized_for_full_command_resolution=icingaadmin +authorized_for_system_commands=icingaadmin +authorized_for_all_services=icingaadmin +authorized_for_all_hosts=icingaadmin +authorized_for_all_service_commands=icingaadmin +authorized_for_all_host_commands=icingaadmin +show_all_services_host_is_authorized_for=1 +show_partial_hostgroups=0 +show_partial_servicegroups=0 +default_statusmap_layout=5 +status_show_long_plugin_output=0 +display_status_totals=0 +highlight_table_rows=1 +add_notif_num_hard=28 +add_notif_num_soft=0 +use_logging=0 +cgi_log_file=/var/log/icinga/gui/icinga-cgi.log +cgi_log_rotation_method=d +cgi_log_archive_path=/var/log/icinga/gui +enforce_comments_on_actions=0 +send_ack_notifications=1 +persistent_ack_comments=0 +lock_author_names=1 +default_downtime_duration=7200 +set_expire_ack_by_default=0 +default_expiring_acknowledgement_duration=86400 +default_expiring_disabled_notifications_duration=86400 +tac_show_only_hard_state=0 +show_tac_header_pending=1 +exclude_customvar_name=PASSWORD,COMMUNITY +exclude_customvar_value=secret +extinfo_show_child_hosts=0 +tab_friendly_titles=1 +###################################### +# STANDALONE (ICINGA 2) OPTIONS +# requires standalone_installation=1 +###################################### +object_cache_file=/var/cache/icinga2/objects.cache +status_file=/var/cache/icinga2/status.dat +resource_file=/etc/icinga/resource.cfg +command_file=/var/run/icinga/cmd/icinga2.cmd +check_external_commands=1 +interval_length=60 +status_update_interval=10 +log_file=/var/log/icinga2/compat/icinga.log +log_rotation_method=h +log_archive_path=/var/log/icinga2/compat/archives +date_format=us +# EOF diff --git a/etc/icinga/icinga-classic-apache.conf b/etc/icinga/icinga-classic-apache.conf new file mode 100644 index 000000000..5524d2ebf --- /dev/null +++ b/etc/icinga/icinga-classic-apache.conf @@ -0,0 +1,41 @@ +# SAMPLE CONFIG SNIPPETS FOR APACHE WEB SERVER +# +# This file contains examples of entries that need +# to be incorporated into your Apache web server +# configuration file. Customize the paths, etc. as +# needed to fit your system. + +ScriptAlias /icinga/cgi-bin "/usr/lib64/icinga/cgi" + + +# SSLRequireSSL + Options ExecCGI + AllowOverride None + Order allow,deny + Allow from all +# Order deny,allow +# Deny from all +# Allow from 127.0.0.1 + AuthName "Icinga Access" + AuthType Basic + AuthUserFile /etc/icinga/htpasswd.users + Require valid-user + + +Alias /icinga "/usr/share/icinga/" + + +# SSLRequireSSL + Options None + AllowOverride All + Order allow,deny + Allow from all +# Order deny,allow +# Deny from all +# Allow from 127.0.0.1 + AuthName "Icinga Access" + AuthType Basic + AuthUserFile /etc/icinga/htpasswd.users + Require valid-user + + diff --git a/etc/icinga/icinga-classic.htpasswd b/etc/icinga/icinga-classic.htpasswd new file mode 100644 index 000000000..cf7a663a6 --- /dev/null +++ b/etc/icinga/icinga-classic.htpasswd @@ -0,0 +1 @@ +icingaadmin:bRH4xwLfPkKeE