life-noc/icinga/services/sante.conf

85 lines
3.3 KiB
Text
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*
AUTO-GENERATED FILE - DOMAIN: sante
Ne pas modifier manuellement.
Source: domains.yaml
*/
apply Service "sante-verification-trousse-premiers-soins" {
import "service_echeance"
vars.date_echeance = "2026-04-01"
vars.mock_state = "OK"
vars.mock_message = "Sous contrôle"
groups = [ "SANTE" ]
notes = "Vérification de la trousse de premiers soins"
vars.instructions_url = "/life-noc/item/sante/verification-trousse-premiers-soins"
assign where host.name == "life-noc"
}
apply Service "sante-verification-expiration-medicaments" {
import "service_life_noc_probe"
vars.life_noc_probe_type = "days_until_due"
vars.life_noc_source_type = "manual_date"
vars.life_noc_source_value = ""
vars.life_noc_inputs_file = "/opt/life-noc/data/inputs/sante.yaml"
vars.life_noc_item_key = "verification-expiration-medicaments"
vars.life_noc_metric_unit = "days"
vars.life_noc_label = "verification-expiration-medicaments"
groups = [ "SANTE" ]
vars.life_noc_threshold_ok_lt = "366"
vars.life_noc_threshold_warning_lt = "90"
vars.life_noc_threshold_critical_lt = "30"
vars.life_noc_on_error = "critical"
notes = "Mettre la plus proche date dexpiration pertinente."
vars.instructions_url = "/life-noc/item/sante/verification-expiration-medicaments"
assign where host.name == "life-noc"
}
apply Service "sante-revision-rendez-vous-medicaux" {
import "service_life_noc_probe"
vars.life_noc_probe_type = "days_until_due"
vars.life_noc_source_type = "manual_date"
vars.life_noc_source_value = ""
vars.life_noc_inputs_file = "/opt/life-noc/data/inputs/sante.yaml"
vars.life_noc_item_key = "revision-rendez-vous-medicaux"
vars.life_noc_metric_unit = "days"
vars.life_noc_label = "revision-rendez-vous-medicaux"
groups = [ "SANTE" ]
vars.life_noc_threshold_ok_lt = "366"
vars.life_noc_threshold_warning_lt = "14"
vars.life_noc_threshold_critical_lt = "2"
vars.life_noc_on_error = "critical"
notes = "Entrer la prochaine date significative déjà connue."
vars.instructions_url = "/life-noc/item/sante/revision-rendez-vous-medicaux"
assign where host.name == "life-noc"
}
apply Service "sante-verification-lunettes-prescriptions" {
import "service_echeance"
vars.date_echeance = "2026-06-01"
vars.mock_state = "OK"
vars.mock_message = "Sous contrôle"
groups = [ "SANTE" ]
notes = "Vérifier les prescriptions et besoins de renouvellement"
vars.instructions_url = "/life-noc/item/sante/verification-lunettes-prescriptions"
assign where host.name == "life-noc"
}
apply Service "sante-verification-dossier-sante" {
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/sante.yaml"
vars.life_noc_item_key = "verification-dossier-sante"
vars.life_noc_metric_unit = "days"
vars.life_noc_label = "verification-dossier-sante"
groups = [ "SANTE" ]
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'ordre et l'accessibilité des documents de santé"
vars.instructions_url = "/life-noc/item/sante/verification-dossier-sante"
assign where host.name == "life-noc"
}