On 9 September 2010 04:28, Leo Lin <hayashi_...@yahoo.com> wrote: > I got the following error when using the -D option with snmpd > > "/usr/local/share/snmp/snmpd.conf: line 45: > Warning: The separate port argument o trapsink2 is deprecated
First of all - this is a warning, not an error. > the trapsink2 on my snmpd.conf file is: > > trapsink2 192.168.255.140 secret 161 Secondly, the config directive is "trap2sink", not "trapsink2" This should be generating an error message. Thirdly, port '161' is typically used by an agent to listen for SNMP information requests (GET* and SET). It is *not* normally used by notification receivers (e.g. snmptrapd) It would be more usual to have trap2sink 192.168.255.140 secret 162 or better trap2sink 192.168.255.140:162 secret or better (since 162 is the default anyway) trap2sink 192.168.255.140 secret Dave ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users