On 26 July 2012 08:44, mohamad hosein jafari <smhjafar...@gmail.com> wrote:
> yes I did
> but I didn't see anything in log file again
> what is problem?

I don't know - that's what we need to work out.

I seem to remember you saying that you have two Linux systems available
(one running CentOS, and one running Debian).   Is that correct?

If so, can you please try the following:

    On the trap receiver system, run the following:
          tail -f /var/log/messages

   On the same system (in another window), run the command
          snmptrap -v 1 -c public 192.168.150.227
NET-SNMP-EXAMPLES-MIB::netSnmpExampleNotification "" 6 17 ""
\netSnmpExampleInteger i 123456
   (we know this ought to work - this is just to confirm that you're
seeing the traps)
   What do you see reported by the "tail" command?

   Now on the other (Debian?) system, run the same
          snmptrap -v 1 -c public 192.168.150.227
NET-SNMP-EXAMPLES-MIB::netSnmpExampleNotification "" 6 17 ""
\netSnmpExampleInteger i 123456
   command.
   What do you see reported by the "tail" command?


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

Reply via email to