life-noc/icinga/services/sante.conf

69 lines
2.6 KiB
Text

/*
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 = "http://192.168.12.40:8787/life-noc/item/sante/verification-trousse-premiers-soins"
assign where host.name == "life-noc"
}
apply Service "sante-verification-expiration-medicaments" {
import "service_echeance"
vars.date_echeance = "2026-05-01"
vars.mock_state = "OK"
vars.mock_message = "Sous contrôle"
groups = [ "SANTE" ]
notes = "Vérification des dates d'expiration des médicaments"
vars.instructions_url = "http://192.168.12.40:8787/life-noc/item/sante/verification-expiration-medicaments"
assign where host.name == "life-noc"
}
apply Service "sante-revision-rendez-vous-medicaux" {
import "service_echeance"
vars.date_echeance = "2026-04-15"
vars.mock_state = "OK"
vars.mock_message = "Sous contrôle"
groups = [ "SANTE" ]
notes = "Revoir les rendez-vous médicaux requis"
vars.instructions_url = "http://192.168.12.40:8787/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 = "http://192.168.12.40:8787/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 = "http://192.168.12.40:8787/life-noc/item/sante/verification-dossier-sante"
assign where host.name == "life-noc"
}