snmpd -verify if the mibs are loaded.

2012-09-10 1 min read Fedora Linux

If you are setting up the snmpd server and have added your own mibs and do not really know if the mibs are loaded or not then simply go to the directory:

/var/lib/net-snmp/mib-indexes

This can save you a lot of time, if you are not getting results with snmpwalk. You can even use snmpwalk as :

snmpwalk -v  -c

Well, these little things can save you a lot of time 🙂

Continue reading

Using snmp trap receiver on Fedora (Linux)

2009-11-25 1 min read Fedora

First off install the net-snmp things:

sudo yum install net-snmp net-snmp-utils

After that it will run out of the box with the command:

sudo snmptrapd -A -d -n -Lf trap.log

Some interesting links:

<a class="fixed" href="http://net-snmp.sourceforge.net/wiki/index.php/TUT:snmptrap" target="_blank">http://net-snmp.sourceforge.net/wiki/index.php/TUT:snmptrap
<a class="fixed" href="http://net-snmp.sourceforge.net/wiki/index.php/TUT:Configuring_snmptrapd#Matching_SNMPv2_OIDs" target="_blank">http://net-snmp.sourceforge.net/wiki/index.php/TUT:Configuring_snmptrapd#Matching_SNMPv2_OIDs
<a class="fixed" href="http://www.net-snmp.org/tutorial/tutorial-5/commands/snmptrap.html" target="_blank">http://www.net-snmp.org/tutorial/tutorial-5/commands/snmptrap.html