SNMP MIBs MIB could not be installed - directory permission
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: SNMP MIBs MIB could not be installed - directory permis
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.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: SNMP MIBs MIB could not be installed - directory permis
Here is my /etc/snmp/snmpd.conf I had to change it to snmpd.conf.txt to upload it.
You do not have the required permissions to view the files attached to this post.
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: SNMP MIBs MIB could not be installed - directory permis
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
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: SNMP MIBs MIB could not be installed - directory permis
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.
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: SNMP MIBs MIB could not be installed - directory permis
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
http://www.net-snmp.org/wiki/index.php/ ... ading_MIBS
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: SNMP MIBs MIB could not be installed - directory permis
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.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: SNMP MIBs MIB could not be installed - directory permis
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.