91 lines
3.6 KiB
Text
91 lines
3.6 KiB
Text
/*
|
|
AUTO-GENERATED FILE - DOMAIN: stock-alimentaire
|
|
Ne pas modifier manuellement.
|
|
Source: domains.yaml
|
|
*/
|
|
|
|
apply Service "stock-alimentaire-rotation-nourriture-seche" {
|
|
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/stock-alimentaire.yaml"
|
|
vars.life_noc_item_key = "rotation-nourriture-seche"
|
|
vars.life_noc_metric_unit = "days"
|
|
vars.life_noc_label = "rotation-nourriture-seche"
|
|
groups = [ "STOCK-ALIMENTAIRE" ]
|
|
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 = "Rotation des stocks de nourriture sèche"
|
|
vars.instructions_url = "http://192.168.12.40:8787/life-noc/item/stock-alimentaire/rotation-nourriture-seche"
|
|
assign where host.name == "life-noc"
|
|
}
|
|
|
|
apply Service "stock-alimentaire-verification-reserve-eau" {
|
|
import "service_echeance"
|
|
vars.date_echeance = "2026-04-15"
|
|
vars.mock_state = "OK"
|
|
vars.mock_message = "Sous contrôle"
|
|
groups = [ "STOCK-ALIMENTAIRE" ]
|
|
notes = "Vérification de la réserve d'eau potable"
|
|
vars.instructions_url = "http://192.168.12.40:8787/life-noc/item/stock-alimentaire/verification-reserve-eau"
|
|
assign where host.name == "life-noc"
|
|
}
|
|
|
|
apply Service "stock-alimentaire-verification-mylar-absorbeurs" {
|
|
import "service_echeance"
|
|
vars.date_echeance = "2026-05-01"
|
|
vars.mock_state = "OK"
|
|
vars.mock_message = "Sous contrôle"
|
|
groups = [ "STOCK-ALIMENTAIRE" ]
|
|
notes = "Vérifier l'intégrité des emballages Mylar et absorbeurs"
|
|
vars.instructions_url = "http://192.168.12.40:8787/life-noc/item/stock-alimentaire/verification-mylar-absorbeurs"
|
|
assign where host.name == "life-noc"
|
|
}
|
|
|
|
apply Service "stock-alimentaire-revue-inventaire-conserves" {
|
|
import "service_echeance"
|
|
vars.date_echeance = "2026-04-15"
|
|
vars.mock_state = "OK"
|
|
vars.mock_message = "Sous contrôle"
|
|
groups = [ "STOCK-ALIMENTAIRE" ]
|
|
notes = "Revue des conserves et dates de rotation"
|
|
vars.instructions_url = "http://192.168.12.40:8787/life-noc/item/stock-alimentaire/revue-inventaire-conserves"
|
|
assign where host.name == "life-noc"
|
|
}
|
|
|
|
apply Service "stock-alimentaire-revue-inventaire-farine-riz-pates" {
|
|
import "service_echeance"
|
|
vars.date_echeance = "2026-04-01"
|
|
vars.mock_state = "OK"
|
|
vars.mock_message = "Sous contrôle"
|
|
groups = [ "STOCK-ALIMENTAIRE" ]
|
|
notes = "Vérification des gros stocks alimentaires de base"
|
|
vars.instructions_url = "http://192.168.12.40:8787/life-noc/item/stock-alimentaire/revue-inventaire-farine-riz-pates"
|
|
assign where host.name == "life-noc"
|
|
}
|
|
|
|
apply Service "stock-alimentaire-verification-bacs-legumes-racines" {
|
|
import "service_echeance"
|
|
vars.date_echeance = "2026-10-01"
|
|
vars.mock_state = "OK"
|
|
vars.mock_message = "Sous contrôle"
|
|
groups = [ "STOCK-ALIMENTAIRE" ]
|
|
notes = "Vérification des bacs de stockage de légumes racines"
|
|
vars.instructions_url = "http://192.168.12.40:8787/life-noc/item/stock-alimentaire/verification-bacs-legumes-racines"
|
|
assign where host.name == "life-noc"
|
|
}
|
|
|
|
apply Service "stock-alimentaire-revue-supplements-vitamines" {
|
|
import "service_echeance"
|
|
vars.date_echeance = "2026-05-01"
|
|
vars.mock_state = "OK"
|
|
vars.mock_message = "Sous contrôle"
|
|
groups = [ "STOCK-ALIMENTAIRE" ]
|
|
notes = "Vérification du stock de suppléments et dates utiles"
|
|
vars.instructions_url = "http://192.168.12.40:8787/life-noc/item/stock-alimentaire/revue-supplements-vitamines"
|
|
assign where host.name == "life-noc"
|
|
}
|