Page MenuHomeVyOS Platform

SNMPD show logs systemstats_linux: unexpected header length
Closed, ResolvedPublicBUG

Description

SNMPD show logs systemstats_linux: unexpected header length

To reproduce:

set service snmp community public client '127.0.0.1'

Check logs

May 01 15:03:58 f3 systemd[1]: Stopping snmpd.service - Simple Network Management Protocol (SNMP) Daemon....
May 01 15:03:58 f3 systemd[1]: snmpd.service: Deactivated successfully.
May 01 15:03:58 f3 systemd[1]: Stopped snmpd.service - Simple Network Management Protocol (SNMP) Daemon..
May 01 15:03:58 f3 systemd[1]: Starting snmpd.service - Simple Network Management Protocol (SNMP) Daemon....
May 01 15:03:58 f3 snmpd[88537]: systemstats_linux: unexpected header length in /proc/net/snmp. 237 != 224
May 01 15:03:58 f3 snmpd[88537]: systemstats_linux: unexpected header length in /proc/net/snmp. 237 != 224
May 01 15:03:58 f3 snmpd[88537]: systemstats_linux: unexpected header length in /proc/net/snmp. 237 != 224
May 01 15:03:58 f3 systemd[1]: Started snmpd.service - Simple Network Management Protocol (SNMP) Daemon..

Kernel version:

vyos@r4# uname -r
6.6.29-amd64-vyos
[edit]
vyos@r4#

But the service looks working
Possible fix in https://github.com/net-snmp/net-snmp/pull/785

Details

Version
VyOS 1.5-rolling-202405010020
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Related Objects

Mentioned In
1.4.1

Event Timeline

Viacheslav updated the task description. (Show Details)
Viacheslav updated the task description. (Show Details)
Viacheslav triaged this task as Normal priority.May 1 2024, 12:18 PM
c-po changed the task status from Open to In progress.EditedJul 4 2024, 10:32 AM
c-po claimed this task.
c-po added a project: VyOS 1.5 Circinus.
c-po edited a custom field.
c-po changed Is it a breaking change? from Unspecified (possibly destroys the router) to Perfectly compatible.
c-po changed Issue type from Bug (incorrect behavior) to upgrade.
c-po moved this task from In Progress to Finished on the VyOS 1.4 Sagitta (1.4.1) board.
dmbaturin changed Issue type from upgrade to Bug (incorrect behavior).