On 25 July 2012 11:52, mohamad hosein jafari <smhjafar...@gmail.com> wrote: > and when I use this command : > tail -20 /var/log/messages > > I found : > Jul 24 14:09:43 my-pc snmptrapd[5079]: NET-SNMP version 5.3.2.2 > > as the last line
Right - so that's where incoming traps are being logged. Now try the following: * In one window, run tail -f /var/log/messages This command will show the last ten lines, and then "hang". This is perfectly normal - just leave it hanging * In a second window, restart the SNMP agent again ("service snmpd restart"), just as you did before. You should see a trap logged in the first window, with the same message as you saw earlier. Does this happen? Dave ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ 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