systemstats_linux: unexpected header length in /proc/net/snmp. 237 != 224
There is a bug in some versions of snmp that cause the message
systemstats_linux: unexpected header length in /proc/net/snmp. 237 != 224
to be posted to the logs. It is not an indication of a real problem.
To prevent it from being posted to rsyslog, create a file named /etc/rsyslog.d/ignore_systemstats_header.conf and insert one line:
:msg, contains, "systemstats_linux: unexpected header length in /proc/net/snmp" ~
then execute systemctl restart rsyslog
Tested onĀ Rocky Linux 9