Last updated 21 June 2001 | ||
Setting up NET-SNMP (nee UCD-SNMP)
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
|