On Fri, 3 Mar 2017 21:49:42 +0200 David Amran firstname.lastname@example.org wrote:
I bought new meraki switch (ms220-8p) to play with
Connected it to NAV with SNMP v1/2c. it says that the test is successful, however the port information is not shown, and it fails on write permissions.
I think this is because I need to add it’s MIB to NAV.
Can you please guide me to the resource which describes how to do that?
There is no such thing as "adding a MIB somewhere will make things work". A MIB only describes how information is organized and formatted. Making sense of that still requires writing code.
SNMP-managed switches and routers will invariably expose basic information about ports through IF-MIB, which is standardized by IETF RFC 2863 . This MIB is, of course, supported by NAV. I've no experience with Cisco Meraki devices, but there is no reason to assume they do not support IF-MIB if they implement SNMP.
As for what NAV actually is doing with your switch, you should at least confirm that all the background services are running, and verify that collection is working for your device, as described in the docs at .
Incidentally, the SNMP write test may fail under certain circumstances, such as your sysLocation value being an empty string. The test works by reading sysLocation and writing the same value back to the device. Writing an empty string to sysLocation will cause an SNMP error on many devices.
 https://tools.ietf.org/html/rfc2863  https://nav.uninett.no/doc/4.6/intro/getting-started.html#verifying-that-col...