141 lines
5.4 KiB
Text
141 lines
5.4 KiB
Text
/*
|
|
AUTO-GENERATED FILE - DOMAIN: voiture
|
|
Ne pas modifier manuellement.
|
|
Source: domains.yaml
|
|
*/
|
|
|
|
apply Service "voiture-verification-huile-moteur" {
|
|
import "service_echeance"
|
|
vars.date_echeance = "2026-04-01"
|
|
vars.mock_state = "OK"
|
|
vars.mock_message = "Sous contrôle"
|
|
groups = [ "VOITURE" ]
|
|
notes = "Vérification de l'huile moteur"
|
|
vars.instructions_url = "http://192.168.12.40:8787/life-noc/item/voiture/verification-huile-moteur"
|
|
assign where host.name == "life-noc"
|
|
}
|
|
|
|
apply Service "voiture-inspection-freins" {
|
|
import "service_echeance"
|
|
vars.date_echeance = "2026-05-01"
|
|
vars.mock_state = "OK"
|
|
vars.mock_message = "Sous contrôle"
|
|
groups = [ "VOITURE" ]
|
|
notes = "Inspection des freins"
|
|
vars.instructions_url = "http://192.168.12.40:8787/life-noc/item/voiture/inspection-freins"
|
|
assign where host.name == "life-noc"
|
|
}
|
|
|
|
apply Service "voiture-verification-pneus" {
|
|
import "service_echeance"
|
|
vars.date_echeance = "2026-04-15"
|
|
vars.mock_state = "OK"
|
|
vars.mock_message = "Sous contrôle"
|
|
groups = [ "VOITURE" ]
|
|
notes = "Vérification usure, pression et permutation des pneus"
|
|
vars.instructions_url = "http://192.168.12.40:8787/life-noc/item/voiture/verification-pneus"
|
|
assign where host.name == "life-noc"
|
|
}
|
|
|
|
apply Service "voiture-ajustement-valves" {
|
|
import "service_echeance"
|
|
vars.date_echeance = "2026-08-01"
|
|
vars.mock_state = "OK"
|
|
vars.mock_message = "Sous contrôle"
|
|
groups = [ "VOITURE" ]
|
|
notes = "Vérification et ajustement des valves Honda Accord"
|
|
vars.instructions_url = "http://192.168.12.40:8787/life-noc/item/voiture/ajustement-valves"
|
|
assign where host.name == "life-noc"
|
|
}
|
|
|
|
apply Service "voiture-verification-timing-belt" {
|
|
import "service_echeance"
|
|
vars.date_echeance = "2027-01-01"
|
|
vars.mock_state = "OK"
|
|
vars.mock_message = "Sous contrôle"
|
|
groups = [ "VOITURE" ]
|
|
notes = "Vérification de la courroie de distribution et pompe à eau"
|
|
vars.instructions_url = "http://192.168.12.40:8787/life-noc/item/voiture/verification-timing-belt"
|
|
assign where host.name == "life-noc"
|
|
}
|
|
|
|
apply Service "voiture-verification-batterie-voiture" {
|
|
import "service_echeance"
|
|
vars.date_echeance = "2026-10-01"
|
|
vars.mock_state = "OK"
|
|
vars.mock_message = "Sous contrôle"
|
|
groups = [ "VOITURE" ]
|
|
notes = "Vérification de l'état de la batterie automobile"
|
|
vars.instructions_url = "http://192.168.12.40:8787/life-noc/item/voiture/verification-batterie-voiture"
|
|
assign where host.name == "life-noc"
|
|
}
|
|
|
|
apply Service "voiture-verification-balais-essuie-glace" {
|
|
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/voiture.yaml"
|
|
vars.life_noc_item_key = "verification-balais-essuie-glace"
|
|
vars.life_noc_metric_unit = "days"
|
|
vars.life_noc_label = "verification-balais-essuie-glace"
|
|
groups = [ "VOITURE" ]
|
|
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érification des essuie-glaces"
|
|
vars.instructions_url = "http://192.168.12.40:8787/life-noc/item/voiture/verification-balais-essuie-glace"
|
|
assign where host.name == "life-noc"
|
|
}
|
|
|
|
apply Service "voiture-verification-liquides" {
|
|
import "service_echeance"
|
|
vars.date_echeance = "2026-04-15"
|
|
vars.mock_state = "OK"
|
|
vars.mock_message = "Sous contrôle"
|
|
groups = [ "VOITURE" ]
|
|
notes = "Vérification des liquides de la voiture"
|
|
vars.instructions_url = "http://192.168.12.40:8787/life-noc/item/voiture/verification-liquides"
|
|
assign where host.name == "life-noc"
|
|
}
|
|
|
|
apply Service "voiture-verification-eclairage" {
|
|
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/voiture.yaml"
|
|
vars.life_noc_item_key = "verification-eclairage"
|
|
vars.life_noc_metric_unit = "days"
|
|
vars.life_noc_label = "verification-eclairage"
|
|
groups = [ "VOITURE" ]
|
|
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érification de l'éclairage et des phares"
|
|
vars.instructions_url = "http://192.168.12.40:8787/life-noc/item/voiture/verification-eclairage"
|
|
assign where host.name == "life-noc"
|
|
}
|
|
|
|
apply Service "voiture-verification-immatriculation-assurance" {
|
|
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/voiture.yaml"
|
|
vars.life_noc_item_key = "verification-immatriculation-assurance"
|
|
vars.life_noc_metric_unit = "days"
|
|
vars.life_noc_label = "verification-immatriculation-assurance"
|
|
groups = [ "VOITURE" ]
|
|
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 = "Retenir la date la plus proche à renouveler."
|
|
vars.instructions_url = "http://192.168.12.40:8787/life-noc/item/voiture/verification-immatriculation-assurance"
|
|
assign where host.name == "life-noc"
|
|
}
|