trapsink2 - example\notification.c

Leo Lin <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi All,
 
I was able to compile the notification.c example.  I ran the snmpd and snmptrapd on my local machine and I don't get any traps.
 
the trapsink2 on my snmpd.conf file is:
 
trapsink2 192.168.255.140 secret 161
 
the authCommunity on my snmptrapd.conf file is:
 
authCommunity log, execute, net secret
 
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
NET-SNMP version 5.6.rc1"
 
Should I remove the port number 161 on snmpd.conf because I'm runing the agent and receiver on the same machine??
 
Thanks for your help!
 
Leo;
 
 

------------------------------------------------------------------------------
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
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.