global: scrape_interval: 30s evaluation_interval: 30s scrape_configs: - job_name: 'jobname' metrics_path: /snmp params: module: ['if_mib'] static_configs: #- targets: ['localhost:9090', 'localhost:9191'] - targets: - x.x.x.x relabel_configs: - source_labels: [__address__] target_label: __param_target - source_labels: [__param_target] target_label: instance - target_label: __address__ replacement: 127.0.0.1:9116 # SNMP exporter.