There is already a forum thread here: http://forum.vyos.net/showthread.php?tid=17310
Description
Event Timeline
Can you please transfer original content from forum,
and also if possible, collect and attach logs here
Thanks!
There is a probleme with SNMP when ixgbe on Intel 82599EB are used.
There are many messages in logs like:
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
After removing those NICs problem does not occurs.
I have this problem with VyOS 1.1.6 version.
Looks like Centos created a patch for this - https://git.centos.org/blob/rpms!net-snmp/8a419fd557adfdc5e6efd8977f5fb7de7fa36f9f/SOURCES!net-snmp-5.7.2-dot3stats-log.patch
I applied patch from redhat:
https://github.com/vyos/net-snmp/commit/01043209782cb786696e4dc20b9468e97d4f4acd
the packages can be foundhere:
http://dev.packages.vyos.net/vyos/pool/main/n/net-snmp/
The diff on the patch https://github.com/vyos/net-snmp/commit/01043209782cb786696e4dc20b9468e97d4f4acd
doesn't seem to remove:
snmp_log(LOG_ERR, "IFLA_STATS for %s\n", name);
and
snmp_log(LOG_NOTICE, "interface_dot3stats_get_errorcounters: got data from IFLA_STATS\n");
I have upgraded to newer version but there is still same error:
Mar 23 08:43:02 er-mrowisko snmpd[23993]: IFLA_STATS for eth5
Mar 23 08:43:02 er-mrowisko snmpd[23993]: interface_dot3stats_get_errorcounters: got data from IFLA_STATS
@paszczus I forgot to remove the old lines... I will build again... will be done shortly.
Thank you, now there is another error/warning. I don`t know if this is connected with this case or not:
snmpd[25048]: truncating integer value > 32 bits
From what I understand from reading up on this, the "truncating" issue occurs when a 32bit value is being returned on a 64bit system.
This only really needs be reported as a info or debug message and not an error message.
I've attached a patch which changes the LOG_ERROR to LOG_DEBUG for these messages.
EDIT: See UnicronNL beat me to it.
updated the source: https://github.com/vyos/net-snmp/commit/13458add4bd09ff4207e20a07990f72821a696f4
package location: http://dev.packages.vyos.net/vyos/pool/main/n/net-snmp/
Thank you. I have updated snmp on my vyos right now, need to wait an hour or so and i will let you know. Thanks again!
@UnicronNL can you please tell me how to install this patch without breaking anything? thank you!
you should download it (wget) an do a sudo dpkg -i of the package.
you can do a dpkg -l to check which snmp packages are installed.
this is the location of the 1.7 packages.
http://dev.packages.vyos.net/tmp/khagen/snmp/
dpkg -l | grep snmpd and it says 5.7.2+vyos1+helium2 Which is what is already on /tmp/khagen/snmp .. I downloaded the packages and installed them but same issue with timeouts and high load on the system. 82599EB
l# dpkg -l | grep snmpd
ii snmpd 5.7.2+vyos1+helium2 SNMP (Simple Network Management Protocol) agents
These packages appear, but my processing does not change.