After future investigations, it does appear that Unifi OID are not 
responding in IPv6

snmpbulkwalk -v 2c -c <community> <IPv6> 1.3.6.1.2.1.2.2.1.7
iso.3.6.1.2.1.2.2.1.7.1 = INTEGER: 1
iso.3.6.1.2.1.2.2.1.7.2 = INTEGER: 1

snmpbulkwalk -v 2c -c <community> <IPv6> 1.3.6.1.4.1.41112.1.6
iso.3.6.1.4.1.41112.1.6 = No Such Object available on this agent at this OID

Le vendredi 31 juillet 2020 15:55:51 UTC+2, Ben Kochie a écrit :
>
> That's pretty strange. The log looks right, but the duration for the OID 
> seems extremely short, like the AP didn't return any data to the exporter. 
> I have some APs that respond to these metrics just fine to the 
> snmp_exporter.
>
> Maybe worth doing a tcpdump capture to see what's going over the wire?
>
> On Fri, Jul 31, 2020 at 3:00 PM -MoNsTeRRR <[email protected] 
> <javascript:>> wrote:
>
>> 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] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/prometheus-users/73683737-0117-464d-9d30-019272963d66o%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/prometheus-users/73683737-0117-464d-9d30-019272963d66o%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/3bbcc27c-1f2e-4033-9fe5-a1381b1ec2bao%40googlegroups.com.

Reply via email to