Hello, I have a strange error and I hope you can help me, or maybe there is a problem with the snmp_exporter generator in the latest version.
I'm using snmp_exporter version 0.25.0 and prometheus My generator.yml file looks like this: *auths: cisco_v3: security_level: authPriv username: secret_name password: secret auth_protocol: SHA priv_protocol: AES priv_password: secret version: 3modules: arte_mib: walk: - 1.3.6.1.2.1.1' - 1.3.6.1.2.1.2.2 - 1.3.6.1.2.1.31.1.1 - 1.3.6.1.4.1.9.9.109.1.1.1.1.8 - 1.3.6.1.4.1.9.9.13.1.4 - 1.3.6.1.4.1.9.9.13.1.5 - 1.3.6.1.4.1.9.9.48.1.1.1.5 - 1.3.6.1.4.1.9.9.48.1.1.1.6 - 1.3.6.1.4.1.9.9.68.1.2.2.1.2* I generate my snmp.yml file without error: *ts=2024-04-15T20:29:38.537Z caller=net_snmp.go:175 level=info msg="Loading MIBs" from=/usr/share/snmp/mibs/ts=2024-04-15T20:29:38.577Z caller=main.go:53 level=info msg="Generating config for module" module=arte_mibts=2024-04-15T20:29:38.580Z caller=main.go:68 level=info msg="Generated metrics" module=arte_mib metrics=64ts=2024-04-15T20:29:38.585Z caller=main.go:93 level=info msg="Config written" file=/etc/prometheus/snmp_generator/snmp_exporter-0.25.0/generator/snmp.yml* And when I push it in my prometheus (conf like this) * - job_name: 'arte_snmp' scrape_interval: 1m scrape_timeout: 50s file_sd_configs: - files: - '/etc/prometheus/targets/arte.json' metrics_path: /snmp params: auth: [cisco_v3] module: [arte_mib] relabel_configs: - source_labels: [__address__] target_label: instance - source_labels: [__address__] target_label: __param_target - source_labels: [module] target_label: __param_module - target_label: __address__ replacement: 127.0.0.1:9116 * I get a server returned HTTP status 500 Internal Server Error [image: 500.PNG] Note that if, for example, I use the if_mib module and take the snmp.yml provided in the snmp_exporter, I get no error and my servers appear to be UP. Thanks for your help -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/711dd213-92de-4abb-911c-883c0e4535edn%40googlegroups.com.

