我如何counter64
使用来监控高带宽snmp
?
Counter32 有效!
spatel@MBP:~$ snmpget -v1 -c public switch.cisco.com ifOutOctets.50
IF-MIB::ifOutOctets.50 = Counter32: 2038072800
counter64 不工作:(
spatel@MBP:~$ snmpget -v1 -c public switch.cisco.com ifHCOutOctets.50
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: IF-MIB::ifHCOutOctets.50
我的二进制文件也是 64 位的
spatel@MBP:~$ file /usr/bin/snmpget
/usr/bin/snmpget: Mach-O 64-bit executable x86_64