problem in getting snmp traps

Fatemeh Mehdizadeh <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAJjCBpNkkOmp3x3-DOo65GNtACzESbV0V9wt7x5sxxyFTFjW-g@mail.gmail.com>
I'm on Freebsd 12. I installed NET-SNMP version 5.7.3 on my FRR router.
The problem is in sending traps from router. For example the link up/down
does not sending trap. The config files are:

*snmpd.conf*











*view V  included   .1view   V  included   .1.3.6.1.2.1.1view   V  included
  .1.3.6.1.2.1.25.1view   V  included   .1.3.6.1.6.3.1.1.5.3view   V
 included   .1.3.6.1.6.3.1.1.5.4rocommunity public  trapcommunity
publictrap2sink   localhost publicdefaultMonitors
 yeslinkUpDownNotifications  yes*

*snmptrapd.conf*
*format  print1  %.4y-%.2m-%.2l  %.2h:%.2j:%.2k  %B  [%b] (via %A [%a]):
%N\n\t%W Trap (%q) Uptime: %#T\n%v\n*


*format print2 %.4y-%.2m-%.2l %.2h:%.2j:%.2k %B [%b]:\n%v\n*

disableAuthorization yes

*sockstat -4 -l*
root     snmptrapd  635   9  udp4   *:162                 *:*
root     snmpd      540   10 udp4   *:161                 *:*

I check the packets on wireshark, but I don't  receive any packet from snmp.

Thanks for your attention. I'm looking forward to your reply.

_______________________________________________
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.