No, I don't think so, it only takes the OS level IP protocol priorities. On Fri, Jul 31, 2020 at 4:30 PM -MoNsTeRRR <[email protected]> wrote:
> snmp-exporter doesn't support an option like on blackbox exporter " > preferred_ip_protocol" to query in ipv4 instead on ipv6 for some > hostnames ? > > Le vendredi 31 juillet 2020 14:59:58 UTC+2, -MoNsTeRRR a écrit : >> >> Hello, >> >> I'm trying to get metrics from an Unifi devices (UAP AC-Lite) and some >> metrics are missing. >> >> snmp-exporter doesn't give me any metrics regarding OID 1.3.6.1.4.1.41112 >> (I got all metrics of OID 1.3.6.1.2.1.31.1.1 and 1.3.6.1.2.1.2) >> >> I use snmp.yml in snmp-exporter repository => >> https://github.com/prometheus/snmp_exporter/blob/master/snmp.yml >> >> Debug mode doesn't provide me relevant informations >> level=info ts=2020-07-31T12:33:08.703Z caller=main.go:149 msg="Starting >> snmp_exporter" version="(version=0.18.0, branch=HEAD, >> revision=9a2ff257dd2e8cdb2a4c88b18df668e2008c2cd6)" >> level=info ts=2020-07-31T12:33:08.703Z caller=main.go:150 >> build_context="(go=go1.14.3, user=root@84ec61d89273, >> date=20200526-08:26:47)" >> level=info ts=2020-07-31T12:33:08.714Z caller=main.go:243 msg="Listening >> on address" address=:9117 >> level=debug ts=2020-07-31T12:33:12.900Z caller=main.go:99 >> module=ubiquiti_unifi target=<IP> msg="Starting scrape" >> level=debug ts=2020-07-31T12:33:12.901Z caller=collector.go:131 >> module=ubiquiti_unifi target=<IP> msg="Getting OIDs" oids=1 >> level=debug ts=2020-07-31T12:33:12.902Z caller=collector.go:140 >> module=ubiquiti_unifi target=<IP> msg="Get of OIDs completed" oids=1 >> duration_seconds=499.635µs >> level=debug ts=2020-07-31T12:33:12.902Z caller=collector.go:164 >> module=ubiquiti_unifi target=<IP> msg="Walking subtree" oid=1.3.6.1.2.1.2 >> level=debug ts=2020-07-31T12:33:12.912Z caller=collector.go:177 >> module=ubiquiti_unifi target=<IP> msg="Walk of subtree completed" >> oid=1.3.6.1.2.1.2 duration_seconds=9.983895ms >> level=debug ts=2020-07-31T12:33:12.912Z caller=collector.go:164 >> module=ubiquiti_unifi target=<IP> msg="Walking subtree" >> oid=1.3.6.1.2.1.31.1.1 >> level=debug ts=2020-07-31T12:33:12.916Z caller=collector.go:177 >> module=ubiquiti_unifi target=<IP> msg="Walk of subtree completed" >> oid=1.3.6.1.2.1.31.1.1 duration_seconds=3.806607ms >> level=debug ts=2020-07-31T12:33:12.916Z caller=collector.go:164 >> module=ubiquiti_unifi target=<IP> msg="Walking subtree" >> oid=1.3.6.1.4.1.41112.1.6 >> level=debug ts=2020-07-31T12:33:12.917Z caller=collector.go:177 >> module=ubiquiti_unifi target=<IP> msg="Walk of subtree completed" >> oid=1.3.6.1.4.1.41112.1.6 duration_seconds=348.113µs >> level=debug ts=2020-07-31T12:33:12.921Z caller=main.go:110 >> module=ubiquiti_unifi target=<IP> msg="Finished scrape" >> duration_seconds=0.020435814 >> >> snmpbulkwalk -v 2c -c <community> <IP> 1.3.6.1.4.1.41112.1.6 >> iso.3.6.1.4.1.41112.1.6.1.1.1.1.1 = INTEGER: 0 >> iso.3.6.1.4.1.41112.1.6.1.1.1.1.2 = INTEGER: 1 >> iso.3.6.1.4.1.41112.1.6.1.1.1.2.1 = STRING: "wifi0" >> iso.3.6.1.4.1.41112.1.6.1.1.1.2.2 = STRING: "wifi1" >> iso.3.6.1.4.1.41112.1.6.1.1.1.3.1 = STRING: "ng" >> iso.3.6.1.4.1.41112.1.6.1.1.1.3.2 = STRING: "na" >> iso.3.6.1.4.1.41112.1.6.1.1.1.4.1 = Counter32: 6062338 >> iso.3.6.1.4.1.41112.1.6.1.1.1.4.2 = Counter32: 265163 >> iso.3.6.1.4.1.41112.1.6.1.1.1.5.1 = Counter32: 713814 >> iso.3.6.1.4.1.41112.1.6.1.1.1.5.2 = Counter32: 1080 >> etc.... >> >> i'm using snmp-exporter version 0.18.0 >> >> Best regards, >> > -- > 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/e0bc6d23-4ef5-4814-afb6-e2e443e188d1o%40googlegroups.com > <https://groups.google.com/d/msgid/prometheus-users/e0bc6d23-4ef5-4814-afb6-e2e443e188d1o%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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/CABbyFmqP3Tj5QSU-M43fcip3sNGSZP6C-948La6qZShCS-KEjA%40mail.gmail.com.

