[Pkg-net-snmp-devel] Bug#968992: Bug#968992: snmpd service file blocks loading of all MIBS

Craig Small csmall at debian.org
Tue Aug 25 23:01:37 BST 2020


Hi,
  There are a few problems here.

> On Wed, 26 Aug 2020 at 00:00, Paul Rensing <agent at cimetrics.com> wrote:
> snmpd needs to load MIBS, otherwise it is pretty useless (or at lease unfriendly). I have
> never really understood why Debian ships with all MIBS blocked, but at least, it needs a
> clear and approved method of undoing that.
I'm not sure why you think snmpd needs the MIBS.  What feature is
missing without them?

For example here is stock snmpd response.
$ snmpwalk -v1 -c public localhost 1.3.6.1.2.1.1.6
iso.3.6.1.2.1.1.6.0 = STRING: "Sitting on the Dock of the Bay"
Now I agree, the snmp *client* output is pretty hard going. For one,
you need to know the OID and secondly, the response is an OID.

Here is the same snmpd daemon:
$ snmpwalk -m SNMPv2-MIB -v1 -c public localhost sysLocation
SNMPv2-MIB::sysLocation.0 = STRING: Sitting on the Dock of the Bay

You could use -m ALL too. This is much more friendlier.

There are instructions in the file /etc/snmp/snmp.conf and also
instructions in snmp-mibs-downloader on how to enable this for the
client.

 - Craig



More information about the Pkg-net-snmp-devel mailing list