parent
8b163e2b0f
commit
2ce8d940e4
|
@ -1,22 +0,0 @@
|
|||
|
||||
[localdb]
|
||||
type = ido
|
||||
resource = "ido-mysql"
|
||||
disabled = 0
|
||||
|
||||
[locallive]
|
||||
type = livestatus
|
||||
socket = "/var/lib/icinga/rw/live"
|
||||
disabled = 0
|
||||
|
||||
|
||||
|
||||
[localfile]
|
||||
type = statusdat
|
||||
resource = "localfile-statusdat"
|
||||
|
||||
|
||||
[localfailsafe]
|
||||
type = combo
|
||||
backends = localdb, locallive, localfile
|
||||
disabled = 0
|
|
@ -1,54 +0,0 @@
|
|||
; 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
|
||||
: to edit several different configuration files, when the connection
|
||||
; 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.
|
||||
|
||||
|
||||
[icingaweb-pgsql]
|
||||
type = db
|
||||
db = pgsql ; PostgreSQL
|
||||
host = localhost
|
||||
password = icinga
|
||||
username = icingaweb
|
||||
dbname = icingaweb
|
||||
|
||||
[icingaweb-mysql]
|
||||
type = db
|
||||
db = mysql ; MySQL
|
||||
host = localhost
|
||||
password = icinga
|
||||
username = icingaweb
|
||||
dbname = icingaweb
|
||||
|
||||
[ido-pgsql]
|
||||
type = db
|
||||
db = pgsql ; PostgreSQL
|
||||
host = localhost
|
||||
password = icinga
|
||||
username = icinga
|
||||
port = 5432
|
||||
dbname = icinga
|
||||
|
||||
[ido-mysql]
|
||||
type = db
|
||||
db = mysql ; MySQL
|
||||
host = localhost
|
||||
password = icinga
|
||||
username = icinga
|
||||
port = 3306
|
||||
dbname = icinga
|
||||
|
||||
[localfile-statusdat]
|
||||
type = statusdat
|
||||
status_file = "/usr/local/icinga-mysql/var/status.dat"
|
||||
object_file = "/usr/local/icinga-mysql/var/objects.cache"
|
||||
disabled = 0
|
Loading…
Reference in New Issue