update mib_indexes?

Alexander Dahl <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hello,

on an embedded system we had problems with snmpd starting, which we
could track down to the mib_indexes folder/files. This is what
happened:

1) system has some MIB files in some folder which is known to
net-snmp, no mib_indexes yet
2) net-snmp creates mib_indexes
3) we add some MIB files to the folder from 1), mib_indexes stay the
same
4) snmpd won't startup properly with the following error in syslog:

May  8 08:42:55 XXX daemon.err snmpd[366]: MIB search path: /root/.snmp/mibs:/usr/share/snmp/mibs
May  8 08:42:55 XXX daemon.err snmpd[366]: Cannot find module (LLDP-MIB): At line 0 in (none)
May  8 08:42:55 XXX daemon.err snmpd[366]: /etc/snmp/snmpd.conf: line 30: Error: bad SUBTREE object id
May  8 08:42:55 XXX daemon.err snmpd[366]: net-snmp: 1 error(s) in config file(s)

The reported line in snmpd.conf is this:

    view    public_view     included    LLDP-MIB::lldpMIB

LLDP-MIB is one of the MIB files we added in 3) but there's no entry
for that in mib_indexes.

Now my question: what is the designated way to update those
mib_indexes? Can net-snmp scan by itself somehow? How can that be
triggered? Or is this to be done manually by administrator? 

I could not find any information on this topic in a web search or in
some manual. :-/

Greets
Alex

-- 
/"\ ASCII RIBBON | »With the first link, the chain is forged. The first
\ / CAMPAIGN     | speech censured, the first thought forbidden, the
 X  AGAINST      | first freedom denied, chains us all irrevocably.«
/ \ HTML MAIL    | (Jean-Luc Picard, quoting Judge Aaron Satie)

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEwo7muQJjlc+Prwj6NK3NAHIhXMYFAlrxZMgACgkQNK3NAHIh
XMbZbA/9HGefUKVeWswcc6toD6TDNLhayZzbpTgV5UN5cQY78DdTjhCBiDo2wO2D
luMVaqLYctHZ/izQXxWl1XYypcpM1xm+BsO4kWn1MQkYEQaxufv2ukMtaoeJguT0
qkC2NA3zxGj0KQYcAJ3Roc6nK97xx7fD7cyovIfcvRGMlGtRXcJndxcxk/AImca7
GOPVSGSH8958HIEunnTGWVjihtaSRwwQBsgiUZyNha8OH0pXsGHrKhG5jbu20deb
/U8F2uV5kEggrEoedM07Ka1jhpdIvzPx/S29V1+EltffffE9NfvArg8em9JG6pYg
wzfanIMFP82ItWI2v2ibRnbiu738GEtDXYCnRqHDg6CjNFsrljYbmM20Jarc7U2/
9GVEmkAgsnsAmFO/cBTO1sdlwh8AH73UksiMo6Hz/SGmgGO+HGJNySmXEAmnqruE
54+TsFwCZZ7uR/ZDaLHTQZrfuAlf1d4SQJlbWtLgz3b+KcDUM6eH91kEY80M9S+Q
ANlDPjQ7yv8PtYdjjWqZ65H1z2RKKgka/Apl2EqOtBZUuE7P/d+Rl+sALEjTtcLz
xTRLyHdAGsVLrW3DzhkyihpHZhdV8LJaSbfUbuud5gOUmOkq4jWENwBJE0uibrnS
nrRO2juJ59MGT96dcaB5wsegOoRjH4IE6xKQWLqELxUPROv0CWc=
=QqfZ
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.