Page MenuHomeVyOS Platform

SNMP - Implement FRR SNMP recommendations
Confirmed, Requires assessmentPublicFEATURE REQUEST

Description

From FRR docs:

Routers with a heavy amount of routes (e.g. BGP full table) might experience problems with a hanging vtysh from time to time, 100% CPU on the snmpd or even crashes of the frr daemon(s) due to stalls within AgentX. Once snmp agents connects they start receiving a heavy amount of SNMP data (all the routes) which cannot be handled quick enough. It’s recommended (by several vendors as well) to exclude these OID’s unless you really need them

Oids recommended by FRR to be excluded:

  • ipRouteTable: .1.3.6.1.2.1.4.21
  • ipNetToMediaTable: .1.3.6.1.2.1.4.22
  • ipNetToPhysicalPhysAddress: .1.3.6.1.2.1.4.35
  • ipCidrRouteTable: .1.3.6.1.2.1.4.24

VyOS cli should provide options to include/exclude such oids from config.

Details

Difficulty level
Unknown (require assessment)
Version
vyos-1.4-rolling-202212020318
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

n.fort changed the task status from Open to Confirmed.Dec 2 2022, 1:37 PM
n.fort claimed this task.
n.fort created this task.
n.fort changed Version from - to vyos-1.4-rolling-202212020318.

We can do it the same way

[email protected]# set service snmp oid-enable 
Possible completions:
   route-table          Enable routing table OIDs (ipCidrRouteTable inetCidrRouteTable)

so by default they should be disabled

zsdc changed Issue type from Improvement (missing useful functionality) to Bug (incorrect behavior).Dec 12 2022, 1:46 PM