NET-SNMP
Last updated 21 June 2001

Online Version

NMIS Home Page

Setting up NET-SNMP (nee UCD-SNMP)
  • Download NET-SNMP or more info is available on the NET-SNMP Home Page 
  • Download SINS MIB Archive
  • set the environment "MIBS=ALL"
  • Setup the trap daemon to log to syslog or to a file.

Setting up TRAPS to be put into syslog

Create or edit the file /usr/local/share/snmp/snmptrapd.conf and add the following entry:

traphandle default /usr/local/bin/traplog.pl 

Start the trap daemon and put into syslog

The command to start the NET-SNMP trap daemon and put the results in syslog:

export MIBS=ALL
/usr/local/sbin/snmptrapd -s -l0 -Of -c/usr/local/share/snmp/snmptrapd.conf 

Add the following entry to syslog.conf, touch the file and restart the syslog daemon.

local0.debug /var/log/trap.log