Hi there,
Running on Nagios Core 4.1.1
I'm having the following issue with my SNMP setup, since i want to try out SNMP Traps:
Command to test: snmptrapd -A -d -n -Lf trap.log
Result:
MIB search path: /root/.snmp/mibs:/usr/share/snmp/mibs
Cannot find module (CBS-MIB): At line 0 in (none)
couldn't open udp:162 -- errno 98 ("Address already in use")
Found a lot of topics on the internet, but without any results or solutions.
Problem is, CBS-MIB.txt (and CBS-MIB to test) is in /usr/share/snmp/mibs/
Does anyone have a fix for this?
After this i will need to figure out how to add a SNMP Trap in nagios core
SNMP Trap issue
Re: SNMP Trap issue
Create the file /etc/snmp/snmp.conf, and put into it:
This tells the snmp commands that they should load ALL of the mibs when they are run without having to specifying them on the command line.
If this doesn't work, can you run the following and post the output?
Code: Select all
mibs +ALLIf this doesn't work, can you run the following and post the output?
Code: Select all
ls -l /usr/share/snmp/mibsBe sure to check out our Knowledgebase for helpful articles and solutions!