Hi. I’m new to this, so please bear with me. We downloaded the net-snmp-5.2.1 gzip file from sourceforge.net, unpacked it into /usr/local/net-snmp-5.2.1, built it, installed it, and lots of functions are working, but ...
I’m trying to configure the snmptrapd to forward traps as advertised on the following ... http://net-snmp.sourceforge.net/docs/man/snmptrapd.conf.html
forward OID|default DESTINATION Forwards traps received to DESTINATION if they match the notification type indicated by OID (or the word default forwards them all).
When i start the program, the following output is displayed ... [EMAIL PROTECTED]//var$ /usr/sbin/snmptrapd -o /var/net-snmp/snmptrapd.log -C -c /etc/snmp/snmptrapd.conf & [1] 15638 /etc/snmp/snmptrapd.conf: line 2: Warning: Unknown token: forward.
Help commands output the following ...
[EMAIL PROTECTED]//var$ snmptrapd -H /etc/snmp/snmptrapd.conf: line 2: Warning: Unknown token: forward. Configuration directives understood: In snmptrapd.conf and snmptrapd.local.conf: traphandle oid|"default" program [args ...] createUser username (MD5|SHA) passphrase [DES [passphrase]] format1 format format2 format dontRetainLogs (1|yes|true|0|no|false) engineID string engineIDType num engineIDNic string PLUS MORE not included here.
[EMAIL PROTECTED]//var$ snmptrapd -h Usage: snmptrapd [OPTIONS] [LISTENING ADDRESSES]
NET-SNMP Version: 5.0.9 Web: http://www.net-snmp.org/ Email: net-snmp-coders@lists.sourceforge.net PLUS MORE not included here.
Can you provide any suggestions? Also, the –Lf log-file-name doesn’t seem to work either; hence, the use of the -o command line argument.
thx. pd :-)
|
- snmptrapd.conf "forward" directive Paul Dowdy
- Re: snmptrapd.conf "forward" directive Dave Shield