Page 2 of 2
Re: SNMP MIBs MIB could not be installed - directory permis
Posted: Tue Nov 12, 2013 10:35 am
by sreinhardt
After taking a look at how net-snmp handles this sort of behavior (
Link), could we see your /etc/snmp/snmpd.conf, ~/.snmp/snmp.conf, and /usr/local/share/snmp.conf if they exist on your system.
Re: SNMP MIBs MIB could not be installed - directory permis
Posted: Wed Nov 13, 2013 11:45 am
by rentsys
Here is my /etc/snmp/snmpd.conf I had to change it to snmpd.conf.txt to upload it.
Re: SNMP MIBs MIB could not be installed - directory permis
Posted: Wed Nov 13, 2013 12:17 pm
by sreinhardt
That doesn't seem to contain what we were looking for. Do you have either of the other files? ~/.snmp/snmp.conf, and /usr/local/share/snmp.conf
Re: SNMP MIBs MIB could not be installed - directory permis
Posted: Wed Nov 13, 2013 3:10 pm
by rentsys
No that's the only one I could find. I have a pretty basic install I haven't changed much. I have the same virtual machine that is downloaded from
http://library.nagios.com/library/produ ... loads/main.
Re: SNMP MIBs MIB could not be installed - directory permis
Posted: Thu Nov 14, 2013 2:04 pm
by sreinhardt
OK, I think that actually explains why this is happening. It seems that net-snmp does not autoload all mibs, but instead uses config files to dictate what to load beyond default mibs. I would suggest taking a look at the link below and specifically the "How do I make this happen all the time?" section to add your specific mibs in.
http://www.net-snmp.org/wiki/index.php/ ... ading_MIBS
Re: SNMP MIBs MIB could not be installed - directory permis
Posted: Fri Nov 15, 2013 2:14 pm
by rentsys
How do I find my system-wide configuration file? It says to run net-snmp-config --snmpconfpath but the command isn't on the system.
Re: SNMP MIBs MIB could not be installed - directory permis
Posted: Fri Nov 15, 2013 3:41 pm
by scottwilkerson
Looking at the snmpd.conf it doesn't appear you have modified it at all from it's defaults, and as it says around line 19
# As shipped, the snmpd demon will only respond to queries on the
# system mib group until this file is replaced or modified for
# security purposes. Examples are shown below about how to increase the
# level of access.
# By far, the most common question I get about the agent is "why won't
# it work?", when really it should be "how do I configure the agent to
# allow me to access it?"
#
# By default, the agent responds to the "public" community for read
# only access, if run out of the box without any configuration file in
# place. The following examples show you other ways of configuring
# the agent so that you can change the community names, and give
# yourself write access to the mib tree as well.
#
# For more information, read the FAQ as well as the snmpd.conf(5)
# manual page.