life-noc/icinga/services/sante.conf

86 lines
3.3 KiB
Text
Raw Normal View History

2026-03-06 14:35:42 -05:00
/*
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"
2026-03-13 16:13:37 -04:00
vars.mock_state = "OK"
vars.mock_message = "Sous contrôle"
groups = [ "SANTE" ]
2026-03-06 14:35:42 -05:00
notes = "Vérification de la trousse de premiers soins"
2026-03-16 21:25:15 -04:00
vars.instructions_url = "/life-noc/item/sante/verification-trousse-premiers-soins"
2026-03-06 14:35:42 -05:00
assign where host.name == "life-noc"
}
apply Service "sante-verification-expiration-medicaments" {
2026-03-16 19:56:04 -04:00
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" ]
2026-03-16 19:56:04 -04:00
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."
2026-03-16 21:25:15 -04:00
vars.instructions_url = "/life-noc/item/sante/verification-expiration-medicaments"
2026-03-06 14:35:42 -05:00
assign where host.name == "life-noc"
}
apply Service "sante-revision-rendez-vous-medicaux" {
2026-03-16 19:56:04 -04:00
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" ]
2026-03-16 19:56:04 -04:00
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."
2026-03-16 21:25:15 -04:00
vars.instructions_url = "/life-noc/item/sante/revision-rendez-vous-medicaux"
2026-03-06 14:35:42 -05:00
assign where host.name == "life-noc"
}
apply Service "sante-verification-lunettes-prescriptions" {
import "service_echeance"
vars.date_echeance = "2026-06-01"
2026-03-13 16:13:37 -04:00
vars.mock_state = "OK"
vars.mock_message = "Sous contrôle"
groups = [ "SANTE" ]
2026-03-06 14:35:42 -05:00
notes = "Vérifier les prescriptions et besoins de renouvellement"
2026-03-16 21:25:15 -04:00
vars.instructions_url = "/life-noc/item/sante/verification-lunettes-prescriptions"
2026-03-06 14:35:42 -05:00
assign where host.name == "life-noc"
}
apply Service "sante-verification-dossier-sante" {
2026-03-16 18:05:17 -04:00
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" ]
2026-03-16 18:05:17 -04:00
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"
2026-03-06 14:35:42 -05:00
notes = "Vérifier l'ordre et l'accessibilité des documents de santé"
2026-03-16 21:25:15 -04:00
vars.instructions_url = "/life-noc/item/sante/verification-dossier-sante"
2026-03-06 14:35:42 -05:00
assign where host.name == "life-noc"
}