mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-25 14:44:32 +02:00
parent
27788d1fdc
commit
e4c5c9fe76
@ -561,7 +561,7 @@ CREATE TABLE icinga_hostdependencies (
|
|||||||
fail_on_up INTEGER default 0,
|
fail_on_up INTEGER default 0,
|
||||||
fail_on_down INTEGER default 0,
|
fail_on_down INTEGER default 0,
|
||||||
fail_on_unreachable INTEGER default 0,
|
fail_on_unreachable INTEGER default 0,
|
||||||
CONSTRAINT PK_hostdependency_id PRIMARY KEY (hostdependency_id) ,
|
CONSTRAINT PK_hostdependency_id PRIMARY KEY (hostdependency_id)
|
||||||
) ;
|
) ;
|
||||||
CREATE INDEX idx_hostdependencies ON icinga_hostdependencies(instance_id,config_type,host_object_id,dependent_host_object_id,dependency_type,inherits_parent,fail_on_up,fail_on_down,fail_on_unreachable);
|
CREATE INDEX idx_hostdependencies ON icinga_hostdependencies(instance_id,config_type,host_object_id,dependent_host_object_id,dependency_type,inherits_parent,fail_on_up,fail_on_down,fail_on_unreachable);
|
||||||
|
|
||||||
@ -1052,7 +1052,7 @@ CREATE TABLE icinga_servicedependencies (
|
|||||||
fail_on_warning INTEGER default 0,
|
fail_on_warning INTEGER default 0,
|
||||||
fail_on_unknown INTEGER default 0,
|
fail_on_unknown INTEGER default 0,
|
||||||
fail_on_critical INTEGER default 0,
|
fail_on_critical INTEGER default 0,
|
||||||
CONSTRAINT PK_servicedependency_id PRIMARY KEY (servicedependency_id) ,
|
CONSTRAINT PK_servicedependency_id PRIMARY KEY (servicedependency_id)
|
||||||
) ;
|
) ;
|
||||||
CREATE INDEX idx_servicedependencies ON icinga_servicedependencies(instance_id,config_type,service_object_id,dependent_service_object_id,dependency_type,inherits_parent,fail_on_ok,fail_on_warning,fail_on_unknown,fail_on_critical);
|
CREATE INDEX idx_servicedependencies ON icinga_servicedependencies(instance_id,config_type,service_object_id,dependent_service_object_id,dependency_type,inherits_parent,fail_on_ok,fail_on_warning,fail_on_unknown,fail_on_critical);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user