Page MenuHomeVyOS Platform

SNMP unknown notification OID
Closed, ResolvedPublicBUG

Description

Service working, but we get a lot of errors in the logs
To reproduce.

set service snmp community public client 127.0.0.1

SNMP status

vyos@r1-roll:~$ sudo systemctl status snmpd
● snmpd.service - Simple Network Management Protocol (SNMP) Daemon.
   Loaded: loaded (/lib/systemd/system/snmpd.service; disabled; vendor preset: enabled)
  Drop-In: /etc/systemd/system/snmpd.service.d
           └─override.conf
   Active: active (running) since Tue 2021-06-08 01:33:07 EEST; 8s ago
  Process: 3108 ExecStartPre=/bin/mkdir -p /var/run/agentx (code=exited, status=0/SUCCESS)
 Main PID: 3109 (snmpd)
    Tasks: 1 (limit: 543)
   Memory: 7.7M
   CGroup: /system.slice/snmpd.service
           └─3109 /usr/sbin/snmpd -LS0-5d -Lf /dev/null -u Debian-snmp -g Debian-snmp -I -ipCidrRouteTable inetCidrRouteTable -f -p /run/snmpd.pid

Jun 08 01:33:07 r1-roll snmpd[3109]: Cannot adopt OID in UCD-SNMP-MIB: laIndex ::= { laEntry 1 }
Jun 08 01:33:07 r1-roll snmpd[3109]: notificationEvent OID: linkUp
Jun 08 01:33:07 r1-roll snmpd[3109]: /etc/snmp/snmpd.conf: line 20: Error: unknown notification OID
Jun 08 01:33:07 r1-roll snmpd[3109]: notificationEvent OID: linkDown
Jun 08 01:33:07 r1-roll snmpd[3109]: /etc/snmp/snmpd.conf: line 21: Error: unknown notification OID
Jun 08 01:33:07 r1-roll snmpd[3109]: trigger OID: ifOperStatus
Jun 08 01:33:07 r1-roll snmpd[3109]: /etc/snmp/snmpd.conf: line 22: Error: unknown monitor OID
Jun 08 01:33:07 r1-roll snmpd[3109]: trigger OID: ifOperStatus
Jun 08 01:33:07 r1-roll snmpd[3109]: /etc/snmp/snmpd.conf: line 23: Error: unknown monitor OID
Jun 08 01:33:07 r1-roll snmpd[3109]: net-snmp: 4 error(s) in config file(s)
vyos@r1-roll:~$

show logs all

...
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in NET-SNMP-EXAMPLES-MIB: netSnmpHostsTable ::= { netSnmpExampleTables 2 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in NET-SNMP-EXAMPLES-MIB: netSnmpIETFWGTable ::= { netSnmpExampleTables 1 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in NET-SNMP-PASS-MIB: netSnmpPassOID ::= { netSnmpPassEntry 3 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in NET-SNMP-PASS-MIB: netSnmpPassInteger ::= { netSnmpPassEntry 2 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in NET-SNMP-PASS-MIB: netSnmpPassIndex ::= { netSnmpPassEntry 1 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in NET-SNMP-VACM-MIB: netSnmpVacmMIB ::= { netSnmpObjects 9 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in NET-SNMP-AGENT-MIB: nsVersion ::= { netSnmpObjects 1 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in NET-SNMP-AGENT-MIB: nsMibRegistry ::= { netSnmpObjects 2 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in NET-SNMP-AGENT-MIB: nsExtensions ::= { netSnmpObjects 3 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in NET-SNMP-AGENT-MIB: nsDLMod ::= { netSnmpObjects 4 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in NET-SNMP-AGENT-MIB: nsCache ::= { netSnmpObjects 5 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in NET-SNMP-AGENT-MIB: nsErrorHistory ::= { netSnmpObjects 6 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in NET-SNMP-AGENT-MIB: nsConfiguration ::= { netSnmpObjects 7 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in NET-SNMP-AGENT-MIB: nsTransactions ::= { netSnmpObjects 8 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in UCD-DEMO-MIB: ucdDemoMIB ::= { ucdavis 14 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in UCD-SNMP-MIB: logMatch ::= { ucdavis 16 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in UCD-SNMP-MIB: fileTable ::= { ucdavis 15 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in UCD-SNMP-MIB: ucdTraps ::= { ucdavis 251 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in UCD-SNMP-MIB: systemStats ::= { ucdavis 11 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in UCD-SNMP-MIB: mrTable ::= { ucdavis 102 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in UCD-SNMP-MIB: snmperrs ::= { ucdavis 101 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in UCD-SNMP-MIB: version ::= { ucdavis 100 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in UCD-SNMP-MIB: laTable ::= { ucdavis 10 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in UCD-SNMP-MIB: dskTable ::= { ucdavis 9 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in UCD-SNMP-MIB: memory ::= { ucdavis 4 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in UCD-SNMP-MIB: extTable ::= { ucdavis 8 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in UCD-SNMP-MIB: prTable ::= { ucdavis 2 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in UCD-SNMP-MIB: ucdSnmpAgent ::= { ucdavis 250 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in UCD-SNMP-MIB: ucdExperimental ::= { ucdavis 13 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in UCD-SNMP-MIB: ucdInternal ::= { ucdavis 12 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in NET-SNMP-AGENT-MIB: nsModuleEntry ::= { nsModuleTable 1 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in UCD-SNMP-MIB: dskErrorMsg ::= { dskEntry 101 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in UCD-SNMP-MIB: dskErrorFlag ::= { dskEntry 100 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in UCD-SNMP-MIB: dskUsedHigh ::= { dskEntry 16 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in UCD-SNMP-MIB: dskUsedLow ::= { dskEntry 15 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in UCD-SNMP-MIB: dskAvailHigh ::= { dskEntry 14 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in UCD-SNMP-MIB: dskAvailLow ::= { dskEntry 13 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in UCD-SNMP-MIB: dskTotalHigh ::= { dskEntry 12 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in UCD-SNMP-MIB: dskTotalLow ::= { dskEntry 11 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in UCD-SNMP-MIB: dskPercentNode ::= { dskEntry 10 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in UCD-SNMP-MIB: dskPercent ::= { dskEntry 9 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in UCD-SNMP-MIB: dskUsed ::= { dskEntry 8 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in UCD-SNMP-MIB: dskAvail ::= { dskEntry 7 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in UCD-SNMP-MIB: dskTotal ::= { dskEntry 6 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in UCD-SNMP-MIB: dskMinPercent ::= { dskEntry 5 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in UCD-SNMP-MIB: dskMinimum ::= { dskEntry 4 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in UCD-SNMP-MIB: dskDevice ::= { dskEntry 3 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in UCD-SNMP-MIB: dskPath ::= { dskEntry 2 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in UCD-SNMP-MIB: dskIndex ::= { dskEntry 1 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in UCD-DISKIO-MIB: diskIOTable ::= { ucdDiskIOMIB 1 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in NET-SNMP-AGENT-MIB: nsLoggingGroup ::= { nsConfigGroups 2 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in NET-SNMP-AGENT-MIB: nsDebugGroup ::= { nsConfigGroups 1 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in UCD-SNMP-MIB: snmperrErrMessage ::= { snmperrs 101 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in UCD-SNMP-MIB: snmperrErrorFlag ::= { snmperrs 100 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in UCD-SNMP-MIB: snmperrNames ::= { snmperrs 2 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in UCD-SNMP-MIB: snmperrIndex ::= { snmperrs 1 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in NET-SNMP-AGENT-MIB: nsTransactionTable ::= { nsTransactions 1 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in NET-SNMP-AGENT-MIB: nsLogStatus ::= { nsLoggingEntry 5 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in NET-SNMP-AGENT-MIB: nsLogMaxLevel ::= { nsLoggingEntry 4 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in NET-SNMP-AGENT-MIB: nsLogType ::= { nsLoggingEntry 3 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in NET-SNMP-AGENT-MIB: nsLogToken ::= { nsLoggingEntry 2 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in NET-SNMP-AGENT-MIB: nsLogLevel ::= { nsLoggingEntry 1 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in NET-SNMP-EXTEND-MIB: nsExtendResult ::= { nsExtendOutput1Entry 4 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in NET-SNMP-EXTEND-MIB: nsExtendOutNumLines ::= { nsExtendOutput1Entry 3 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in NET-SNMP-EXTEND-MIB: nsExtendOutputFull ::= { nsExtendOutput1Entry 2 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in NET-SNMP-EXTEND-MIB: nsExtendOutput1Line ::= { nsExtendOutput1Entry 1 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in NET-SNMP-EXTEND-MIB: nsExtendOutLine ::= { nsExtendOutput2Entry 2 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in NET-SNMP-EXTEND-MIB: nsExtendLineIndex ::= { nsExtendOutput2Entry 1 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in NET-SNMP-AGENT-MIB: nsNotifyStart ::= { netSnmpNotifications 1 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in NET-SNMP-AGENT-MIB: nsNotifyShutdown ::= { netSnmpNotifications 2 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in NET-SNMP-AGENT-MIB: nsNotifyRestart ::= { netSnmpNotifications 3 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in UCD-SNMP-MIB: laErrMessage ::= { laEntry 101 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in UCD-SNMP-MIB: laErrorFlag ::= { laEntry 100 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in UCD-SNMP-MIB: laLoadFloat ::= { laEntry 6 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in UCD-SNMP-MIB: laLoadInt ::= { laEntry 5 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in UCD-SNMP-MIB: laConfig ::= { laEntry 4 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in UCD-SNMP-MIB: laLoad ::= { laEntry 3 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in UCD-SNMP-MIB: laNames ::= { laEntry 2 }
Jun  8 01:33:07 r1-roll bgpd[866]: [EC 100663310] snmp[warning]: Cannot adopt OID in UCD-SNMP-MIB: laIndex ::= { laEntry 1 }
Jun  8 01:33:07 r1-roll bgpd[866]: snmp[info]: NET-SNMP version 5.7.3 AgentX subagent connected
vyos@r1-roll:~$ 
...

Details

Version
VyOS 1.4-rolling-202106070417
Is it a breaking change?
Unspecified (possibly destroys the router)