life-noc/icinga/services/stock-alimentaire.conf

139 lines
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 = "/life-noc/item/stock-alimentaire/rotation-nourriture-seche"
assign where host.name == "life-noc"
}
apply Service "stock-alimentaire-verification-reserve-eau" {
import "service_life_noc_probe"
vars.life_noc_probe_type = "remaining_quantity"
vars.life_noc_source_type = "manual_value"
vars.life_noc_source_value = ""
vars.life_noc_inputs_file = "/opt/life-noc/data/inputs/stock-alimentaire.yaml"
vars.life_noc_item_key = "verification-reserve-eau"
vars.life_noc_metric_unit = "%"
vars.life_noc_label = "verification-reserve-eau"
groups = [ "STOCK-ALIMENTAIRE" ]
vars.life_noc_threshold_ok_gte = "50"
vars.life_noc_threshold_warning_lt = "50"
vars.life_noc_threshold_critical_lt = "25"
vars.life_noc_on_error = "critical"
notes = "Vérification de la réserve d'eau potable"
vars.instructions_url = "/life-noc/item/stock-alimentaire/verification-reserve-eau"
assign where host.name == "life-noc"
}
apply Service "stock-alimentaire-verification-mylar-absorbeurs" {
import "service_life_noc_probe"
vars.life_noc_probe_type = "remaining_quantity"
vars.life_noc_source_type = "manual_value"
vars.life_noc_source_value = ""
vars.life_noc_inputs_file = "/opt/life-noc/data/inputs/stock-alimentaire.yaml"
vars.life_noc_item_key = "verification-mylar-absorbeurs"
vars.life_noc_metric_unit = "%"
vars.life_noc_label = "verification-mylar-absorbeurs"
groups = [ "STOCK-ALIMENTAIRE" ]
vars.life_noc_threshold_ok_gte = "50"
vars.life_noc_threshold_warning_lt = "50"
vars.life_noc_threshold_critical_lt = "25"
vars.life_noc_on_error = "critical"
notes = "Vérifier l'intégrité des emballages Mylar et absorbeurs"
vars.instructions_url = "/life-noc/item/stock-alimentaire/verification-mylar-absorbeurs"
assign where host.name == "life-noc"
}
apply Service "stock-alimentaire-revue-inventaire-conserves" {
import "service_life_noc_probe"
vars.life_noc_probe_type = "remaining_quantity"
vars.life_noc_source_type = "manual_value"
vars.life_noc_source_value = ""
vars.life_noc_inputs_file = "/opt/life-noc/data/inputs/stock-alimentaire.yaml"
vars.life_noc_item_key = "revue-inventaire-conserves"
vars.life_noc_metric_unit = "%"
vars.life_noc_label = "revue-inventaire-conserves"
groups = [ "STOCK-ALIMENTAIRE" ]
vars.life_noc_threshold_ok_gte = "50"
vars.life_noc_threshold_warning_lt = "50"
vars.life_noc_threshold_critical_lt = "25"
vars.life_noc_on_error = "critical"
notes = "Revue des conserves et dates de rotation"
vars.instructions_url = "/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_life_noc_probe"
vars.life_noc_probe_type = "remaining_quantity"
vars.life_noc_source_type = "manual_value"
vars.life_noc_source_value = ""
vars.life_noc_inputs_file = "/opt/life-noc/data/inputs/stock-alimentaire.yaml"
vars.life_noc_item_key = "revue-inventaire-farine-riz-pates"
vars.life_noc_metric_unit = "%"
vars.life_noc_label = "revue-inventaire-farine-riz-pates"
groups = [ "STOCK-ALIMENTAIRE" ]
vars.life_noc_threshold_ok_gte = "50"
vars.life_noc_threshold_warning_lt = "50"
vars.life_noc_threshold_critical_lt = "25"
vars.life_noc_on_error = "critical"
notes = "Vérification des gros stocks alimentaires de base"
vars.instructions_url = "/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_life_noc_probe"
vars.life_noc_probe_type = "remaining_quantity"
vars.life_noc_source_type = "manual_value"
vars.life_noc_source_value = ""
vars.life_noc_inputs_file = "/opt/life-noc/data/inputs/stock-alimentaire.yaml"
vars.life_noc_item_key = "verification-bacs-legumes-racines"
vars.life_noc_metric_unit = "%"
vars.life_noc_label = "verification-bacs-legumes-racines"
groups = [ "STOCK-ALIMENTAIRE" ]
vars.life_noc_threshold_ok_gte = "50"
vars.life_noc_threshold_warning_lt = "50"
vars.life_noc_threshold_critical_lt = "25"
vars.life_noc_on_error = "critical"
notes = "Vérification des bacs de stockage de légumes racines"
vars.instructions_url = "/life-noc/item/stock-alimentaire/verification-bacs-legumes-racines"
assign where host.name == "life-noc"
}
apply Service "stock-alimentaire-revue-supplements-vitamines" {
import "service_life_noc_probe"
vars.life_noc_probe_type = "remaining_quantity"
vars.life_noc_source_type = "manual_value"
vars.life_noc_source_value = ""
vars.life_noc_inputs_file = "/opt/life-noc/data/inputs/stock-alimentaire.yaml"
vars.life_noc_item_key = "revue-supplements-vitamines"
vars.life_noc_metric_unit = "%"
vars.life_noc_label = "revue-supplements-vitamines"
groups = [ "STOCK-ALIMENTAIRE" ]
vars.life_noc_threshold_ok_gte = "50"
vars.life_noc_threshold_warning_lt = "50"
vars.life_noc_threshold_critical_lt = "25"
vars.life_noc_on_error = "critical"
notes = "Vérification du stock de suppléments et dates utiles"
vars.instructions_url = "/life-noc/item/stock-alimentaire/revue-supplements-vitamines"
assign where host.name == "life-noc"
}