life-noc/icinga/services/resilience.conf

145 lines
5.9 KiB
Text

/*
AUTO-GENERATED FILE - DOMAIN: resilience
Ne pas modifier manuellement.
Source: domains.yaml
*/
apply Service "resilience-test-generatrice-propane" {
import "service_life_noc_probe"
vars.life_noc_probe_type = "elapsed_time"
vars.life_noc_source_type = "manual_date"
vars.life_noc_source_value = ""
vars.life_noc_inputs_file = "/opt/life-noc/data/inputs/resilience.yaml"
vars.life_noc_item_key = "test-generatrice-propane"
vars.life_noc_metric_unit = "days"
vars.life_noc_label = "test-generatrice-propane"
groups = [ "RESILIENCE" ]
vars.life_noc_threshold_unknown_lt = "20"
vars.life_noc_threshold_ok_gte = "20"
vars.life_noc_threshold_warning_gte = "31"
vars.life_noc_threshold_critical_gte = "45"
vars.life_noc_on_error = "critical"
notes = "Test mensuel de la génératrice au propane"
vars.instructions_url = "/life-noc/item/resilience/test-generatrice-propane"
assign where host.name == "life-noc"
}
apply Service "resilience-verification-carburant-generatrice" {
import "service_life_noc_probe"
vars.life_noc_probe_type = "remaining_quantity"
vars.life_noc_source_type = "manual_value"
vars.life_noc_source_value = ""
vars.life_noc_inputs_file = "/opt/life-noc/data/inputs/resilience.yaml"
vars.life_noc_item_key = "verification-carburant-generatrice"
vars.life_noc_metric_unit = "%"
vars.life_noc_label = "verification-carburant-generatrice"
groups = [ "RESILIENCE" ]
vars.life_noc_threshold_ok_gte = "50"
vars.life_noc_threshold_warning_lt = "50"
vars.life_noc_threshold_critical_lt = "25"
vars.life_noc_on_error = "critical"
notes = "Vérification de l'approvisionnement propane lié à la génératrice"
vars.instructions_url = "/life-noc/item/resilience/verification-carburant-generatrice"
assign where host.name == "life-noc"
}
apply Service "resilience-verification-procedure-bascule" {
import "service_life_noc_probe"
vars.life_noc_probe_type = "elapsed_time"
vars.life_noc_source_type = "manual_date"
vars.life_noc_source_value = ""
vars.life_noc_inputs_file = "/opt/life-noc/data/inputs/resilience.yaml"
vars.life_noc_item_key = "verification-procedure-bascule"
vars.life_noc_metric_unit = "days"
vars.life_noc_label = "verification-procedure-bascule"
groups = [ "RESILIENCE" ]
vars.life_noc_threshold_unknown_lt = "20"
vars.life_noc_threshold_ok_gte = "20"
vars.life_noc_threshold_warning_gte = "31"
vars.life_noc_threshold_critical_gte = "45"
vars.life_noc_on_error = "critical"
notes = "Réviser la procédure de bascule en mode secours"
vars.instructions_url = "/life-noc/item/resilience/verification-procedure-bascule"
assign where host.name == "life-noc"
}
apply Service "resilience-verification-stock-lampes-piles" {
import "service_life_noc_probe"
vars.life_noc_probe_type = "remaining_quantity"
vars.life_noc_source_type = "manual_value"
vars.life_noc_source_value = ""
vars.life_noc_inputs_file = "/opt/life-noc/data/inputs/resilience.yaml"
vars.life_noc_item_key = "verification-stock-lampes-piles"
vars.life_noc_metric_unit = "%"
vars.life_noc_label = "verification-stock-lampes-piles"
groups = [ "RESILIENCE" ]
vars.life_noc_threshold_ok_gte = "50"
vars.life_noc_threshold_warning_lt = "50"
vars.life_noc_threshold_critical_lt = "25"
vars.life_noc_on_error = "critical"
notes = "Vérification des lampes, piles et éclairage d'urgence"
vars.instructions_url = "/life-noc/item/resilience/verification-stock-lampes-piles"
assign where host.name == "life-noc"
}
apply Service "resilience-verification-trousses-urgence" {
import "service_echeance"
vars.date_echeance = "2026-05-15"
vars.mock_state = "OK"
vars.mock_message = "Sous contrôle"
groups = [ "RESILIENCE" ]
notes = "Vérification des trousses d'urgence"
vars.instructions_url = "/life-noc/item/resilience/verification-trousses-urgence"
assign where host.name == "life-noc"
}
apply Service "resilience-revision-plan-urgence" {
import "service_life_noc_probe"
vars.life_noc_probe_type = "elapsed_time"
vars.life_noc_source_type = "manual_date"
vars.life_noc_source_value = ""
vars.life_noc_inputs_file = "/opt/life-noc/data/inputs/resilience.yaml"
vars.life_noc_item_key = "revision-plan-urgence"
vars.life_noc_metric_unit = "days"
vars.life_noc_label = "revision-plan-urgence"
groups = [ "RESILIENCE" ]
vars.life_noc_threshold_unknown_lt = "60"
vars.life_noc_threshold_ok_gte = "60"
vars.life_noc_threshold_warning_gte = "90"
vars.life_noc_threshold_critical_gte = "120"
vars.life_noc_on_error = "critical"
notes = "Réviser le plan d'urgence domestique"
vars.instructions_url = "/life-noc/item/resilience/revision-plan-urgence"
assign where host.name == "life-noc"
}
apply Service "resilience-test-autonomie-base" {
import "service_life_noc_probe"
vars.life_noc_probe_type = "elapsed_time"
vars.life_noc_source_type = "manual_date"
vars.life_noc_source_value = ""
vars.life_noc_inputs_file = "/opt/life-noc/data/inputs/resilience.yaml"
vars.life_noc_item_key = "test-autonomie-base"
vars.life_noc_metric_unit = "days"
vars.life_noc_label = "test-autonomie-base"
groups = [ "RESILIENCE" ]
vars.life_noc_threshold_unknown_lt = "60"
vars.life_noc_threshold_ok_gte = "60"
vars.life_noc_threshold_warning_gte = "90"
vars.life_noc_threshold_critical_gte = "120"
vars.life_noc_on_error = "critical"
notes = "Vérifier l'autonomie énergétique minimale attendue"
vars.instructions_url = "/life-noc/item/resilience/test-autonomie-base"
assign where host.name == "life-noc"
}
apply Service "resilience-verification-moyens-cuisson-secours" {
import "service_echeance"
vars.date_echeance = "2026-05-15"
vars.mock_state = "OK"
vars.mock_message = "Sous contrôle"
groups = [ "RESILIENCE" ]
notes = "Vérification des moyens de cuisson de secours"
vars.instructions_url = "/life-noc/item/resilience/verification-moyens-cuisson-secours"
assign where host.name == "life-noc"
}