2013-08-19 18:28:14 +02:00
|
|
|
; resources.ini
|
|
|
|
;
|
|
|
|
; The configuration file *resources.ini* contains data sources that
|
|
|
|
; can be referenced in other configurations. This allows you to manage
|
|
|
|
; all connections to SQL databases in one single place, avoiding the need
|
2013-08-29 10:55:12 +02:00
|
|
|
; to edit several different configuration files, when the connection
|
2013-08-19 18:28:14 +02:00
|
|
|
; information of a resource change.
|
|
|
|
;
|
|
|
|
; Each section represents a resource, with the section name being the
|
|
|
|
; identifier used to reference this certain section. Depending on the
|
|
|
|
; resource type, each section contains different properties. The property
|
|
|
|
; *type* defines the resource type and thus how the properties are going to
|
|
|
|
; be interpreted. Currently only the resource type *db* is available.
|
|
|
|
|
|
|
|
|
2013-08-27 14:37:22 +02:00
|
|
|
[internal_db]
|
2013-08-19 18:28:14 +02:00
|
|
|
type = db
|
2013-08-27 14:37:22 +02:00
|
|
|
db = @internal_db_type@
|
|
|
|
host = @internal_db_host@
|
2013-10-22 13:49:04 +02:00
|
|
|
port = @internal_db_port@
|
2013-10-22 17:49:49 +02:00
|
|
|
password = @internal_db_password@
|
2013-08-27 14:37:22 +02:00
|
|
|
username = @internal_db_user@
|
2013-08-29 10:55:12 +02:00
|
|
|
dbname = @internal_db_name@
|
2013-08-19 18:28:14 +02:00
|
|
|
|
|
|
|
[ido]
|
|
|
|
type = db
|
|
|
|
db = @ido_db_type@
|
|
|
|
host = @ido_host@
|
2013-10-22 13:49:04 +02:00
|
|
|
port = @ido_port@
|
2013-10-22 17:49:49 +02:00
|
|
|
password = @ido_password@
|
2013-08-19 18:28:14 +02:00
|
|
|
username = @ido_user@
|
2013-10-22 17:49:49 +02:00
|
|
|
dbname = @ido_db_name@
|
2013-10-22 16:04:38 +02:00
|
|
|
|
|
|
|
[statusdat]
|
|
|
|
type = statusdat
|
2013-10-22 17:49:49 +02:00
|
|
|
status_file = @statusdat_file@
|
|
|
|
object_file = @objects_cache_file@
|
2013-10-22 16:04:38 +02:00
|
|
|
|
|
|
|
[livestatus]
|
|
|
|
type = livestatus
|
|
|
|
socket = @livestatus_socket@
|
2013-11-26 12:00:37 +01:00
|
|
|
|
|
|
|
[internal_ldap]
|
|
|
|
type = ldap
|
|
|
|
hostname = @ldap_host@
|
|
|
|
port = @ldap_port@
|
|
|
|
root_dn = "@ldap_rootdn@"
|
|
|
|
bind_dn = "@ldap_binddn@"
|
|
|
|
bind_pw = @ldap_bindpass@
|
2014-04-01 12:15:56 +02:00
|
|
|
|
|
|
|
[logfile]
|
2014-04-30 09:10:23 +02:00
|
|
|
type = file
|
|
|
|
filename = "@icingaweb_log_path@/icingaweb.log"
|
|
|
|
fields = "/^(?<datetime>[0-9]{4}(-[0-9]{2}){2}T[0-9]{2}(:[0-9]{2}){2}(\\+[0-9]{2}:[0-9]{2})?) - (?<loglevel>[A-Za-z]+) - (?<message>.*)$/"
|
2014-04-01 12:15:56 +02:00
|
|
|
; format: PCRE
|