- job_name: 'ups' scrape_interval: 120s #récuperer les informations toutes les 2 minutes scrape_timeout: 120s # SNMP device. metrics_path: /snmp params: module: [rfc1628_ups] #MIB pour l'UPS ; que l'ont va générer après static_configs: - targets: - 10.192.20.10 #adresse ip de l'UPS relabel_configs: - source_labels: [__address__] target_label: __param_target - source_labels: [__param_target] target_label: instance - target_label: __address__ replacement: 10.192.43.12:9116 #adresse et port de snmp_exporter