SNMP not working

Hi,

I have a strange problem on 1.1.3 release with SNMP. The snmpwalk is stopping everytime at the same place:

[quote]# snmpwalk -v2c -c xyz myvyosbox.mydomain.net
SNMPv2-MIB::sysDescr.0 = STRING: Vyatta VyOS 1.1.3
SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.30803
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (9877) 0:01:38.77
SNMPv2-MIB::sysContact.0 = STRING: root
Timeout: No Response from myvyosbox.mydomain.net[/quote]

On the VyOS box in /var/log/message I have the following:

[quote]Feb 8 06:22:35 myvyosbox snmpd[4586]: IFLA_STATS for eth0
Feb 8 06:22:35 myvyosbox snmpd[4586]: interface_dot3stats_get_errorcounters: got data from IFLA_STATS
Feb 8 06:22:35 myvyosbox snmpd[4586]: IFLA_STATS for eth1
Feb 8 06:22:35 myvyosbox snmpd[4586]: interface_dot3stats_get_errorcounters: got data from IFLA_STATS
Feb 8 06:22:35 myvyosbox snmpd[4586]: IFLA_STATS for eth2
Feb 8 06:22:35 myvyosbox snmpd[4586]: interface_dot3stats_get_errorcounters: got data from IFLA_STATS
Feb 8 06:22:35 myvyosbox snmpd[4586]: IFLA_STATS for eth3
Feb 8 06:22:35 myvyosbox snmpd[4586]: interface_dot3stats_get_errorcounters: got data from IFLA_STATS
Feb 8 06:22:35 myvyosbox snmpd[4586]: IFLA_STATS for eth6
Feb 8 06:22:35 myvyosbox snmpd[4586]: interface_dot3stats_get_errorcounters: got data from IFLA_STATS
Feb 8 06:22:35 myvyosbox snmpd[4586]: IFLA_STATS for eth7
Feb 8 06:22:35 myvyosbox snmpd[4586]: interface_dot3stats_get_errorcounters: got data from IFLA_STATS
Feb 8 06:22:35 myvyosbox snmpd[4586]: IFLA_STATS for eth8
Feb 8 06:22:35 myvyosbox snmpd[4586]: interface_dot3stats_get_errorcounters: got data from IFLA_STATS
Feb 8 06:22:35 myvyosbox snmpd[4586]: IFLA_STATS for eth9
Feb 8 06:22:35 myvyosbox snmpd[4586]: interface_dot3stats_get_errorcounters: got data from IFLA_STATS
Feb 8 06:22:36 myvyosbox snmpd[4586]: IFLA_STATS for eth4
Feb 8 06:22:36 myvyosbox snmpd[4586]: interface_dot3stats_get_errorcounters: got data from IFLA_STATS
Feb 8 06:22:37 myvyosbox snmpd[4586]: IFLA_STATS for eth5
Feb 8 06:22:37 myvyosbox snmpd[4586]: interface_dot3stats_get_errorcounters: got data from IFLA_STATS
Feb 8 06:22:38 myvyosbox snmpd[4586]: IFLA_STATS for eth10
Feb 8 06:22:38 myvyosbox snmpd[4586]: interface_dot3stats_get_errorcounters: got data from IFLA_STATS
Feb 8 06:22:38 myvyosbox snmpd[4586]: IFLA_STATS for eth11
Feb 8 06:22:38 myvyosbox snmpd[4586]: interface_dot3stats_get_errorcounters: got data from IFLA_STATS[/quote]

The box was a new setup about a week ago with 1.1.2 and I upgraded to 1.1.3. The problem was the same in 1.1.2.

Hardware is HP Proliant DL380.

I have some other boxes with 1.1.2 and 1.1.3 without this problem.

Thanks for your help.

What hardware (NIC wise) is in each of the systems, both for the others that work for this and this one that doesn’t?

The errors being logged are from snmpd itself, in particular relating to being unable to retrieve error counter data from the NICs, rather than directly as a result of the VyOS config. It sounds like it could be an issue with the NICs themselves.

The NICs are the same, 2 dual 10 Gbps Intel cards. But you were right, removing both cards solved the problem. Now I have to find out why in some case it works and not in some other…

Hello,
I have exacty the same problem with Intel 10G NIC.
Snmpd crash.
VyOS version : 1.1.6.

Hello,
I have same problem, also with Intel 10G 82599EB using ixgbe module and VyOS 1.1.6.
Are there any workaround for this?

Hello guys,
can you report this to https://phabricator.vyos.net
And someone will pick it up there
Thanks!

Done: ⚓ T17 Fix SNMP errors for Intel 10G cards (82599EB) using ixgbe (interface_dot3stats_get_errorcounters: got data from IFLA_STATS)

Hello.

I notice in the bug fix there is some updates for SNMP but how do you go about correctly installing them?

I want to make sure I don’t break anything.

Paul.