SNMPD not working in 18.06.1

Hello,

I have installed "snmpd" package in 2 routers with last version (18.06.1). And it doesn't work.

In previous version it just work out of the box, just install the package, reboot the router and a simple snmpwalk command could get information:

snmpwalk -v2c -c public routerIP

Is there any change in the configuration that I need to apply?

Kind regards.

  • Perhaps, you have to enable it?
  • Have you tried the localhost IPs?

Thanks!

I installed snmp-utils and execute the command:

# snmpwalk -v2c -c public localhost
MIB search path: /root/.snmp/mibs:/usr/share/snmp/mibs
Cannot find module (NET-SNMP-EXTEND-MIB): At line 0 in (non
)
Cannot find module (SNMPv2-MIB): At line 0 in (none)
Cannot find module (IF-MIB): At line 0 in (none)
Cannot find module (IP-MIB): At line 0 in (none)
Cannot find module (TCP-MIB): At line 0 in (none)
Cannot find module (UDP-MIB): At line 0 in (none)
Cannot find module (HOST-RESOURCES-MIB): At line 0 in (none
Cannot find module (NOTIFICATION-LOG-MIB): At line 0 in (no
e)
Cannot find module (DISMAN-EVENT-MIB): At line 0 in (none)
Cannot find module (DISMAN-SCHEDULE-MIB): At line 0 in (non
)
Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in
none)
Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none
Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none
Cannot find module (SNMP-MPD-MIB): At line 0 in (none)
Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (
one)
Cannot find module (TUNNEL-MIB): At line 0 in (none)
Cannot find module (IPV6-FLOW-LABEL-MIB): At line 0 in (non
)
Cannot find module (UCD-DLMOD-MIB): At line 0 in (none)
Cannot find module (NET-SNMP-PASS-MIB): At line 0 in (none)
Timeout: No Response from localhost

It look that there is no MIB file, is this a dependency problem?

Kind regards.

Hello again,

I installed snmp-mibs packages, then reboot the device. And it works!

Kind regards.

1 Like