Thank Ben, I will try another device

在 2020年2月12日星期三 UTC+8下午8:54:26,Ben Kochie写道:
>
> I don't think this is a v1 vs v2 protocol issue. I've seen devices with 
> SNMPv2 not support HC counters. Example, some old netgear web-managed 
> switches I have. :-)
>
> On Wed, Feb 12, 2020 at 1:25 PM Brian Candler <[email protected] 
> <javascript:>> wrote:
>
>> SNMPv1 devices don't support ifHCInOctets, only ifInOctets.
>>
>> So if you are talking to an SNMPv1 device - or you are making an SNMPv1 
>> query to an SNMPv2c/v3 capable device - then you won't get ifHCInOctets.
>>
>> You can check with tcpdump -nnv -s0 udp port 161
>>
>> -- 
>> 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/a1be52e4-2d07-4c4a-af48-518aa1bf7ff9%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/prometheus-users/a1be52e4-2d07-4c4a-af48-518aa1bf7ff9%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/00fca50f-885a-4431-b607-290979e6392e%40googlegroups.com.

Reply via email to