Thanks for your help, my problem was solved just like you said, change 'IF-MIB' to 'if_mib.
El miércoles, 4 de enero de 2023 a las 15:53:39 UTC-6, Brian Candler escribió: > > E.GET /snmp?module=IF-MIB&target=10.168.200.1 HTTP/1.1 > > Host: 127.0.0.1:9116 > > User-Agent: Prometheus/2.40.7 > > Accept: > application/openmetrics-text;version=1.0.0,application/openmetrics-text;version=0.0.1;q=0.75,text/plain;version=0.0.4;q=0.5,*/*;q=0.1 > > > > Accept-Encoding: gzip > > X-Prometheus-Scrape-Timeout-Seconds: 10 > > > > > > 14:09:55.529438 IP 127.0.0.1.9116 > 127.0.0.1.39169: Flags [P.], seq > 1:184, ack 316, win 6146, options [nop,nop,TS val 1795838892 ecr > 1795838892], length 183 > > E...o.@.@...........#....6=..J............. > > k > > S.k > > S.HTTP/1.1 400 Bad Request > > Content-Type: text/plain; charset=utf-8 > > X-Content-Type-Options: nosniff > > Date: Wed, 04 Jan 2023 20:09:55 GMT > > Content-Length: 24 > > > *> Unknown module 'IF-MIB' * > > Great: there's your answer. The standard snmp.yml defines a module called > "if_mib" (lowercase, underscore) not "IF-MIB" (capitals, hyphen) > -- 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/d466cf3f-0151-433d-abdc-5d335d26bca1n%40googlegroups.com.

