On 25 July 2012 19:29, mohamad hosein jafari <smhjafar...@gmail.com> wrote:
> Yes I did this config snmp service to 192.168.150.227
> and after restart agent
> I couldn't find this path ( /var/log/messages)in my windows command line .
> why?

Think about what's happening here.
You are sending traps *from* the windows box *to* the Linux system.
The traps will be received by the Linux system, and logged to the
file /var/log/messages

   Why would you look for this file on the Windows system?


> and also I  couldn't  see any new thing in my linux command line

Now do you see why I wanted you to try running things on the Linux box first?
Because I forced you to do this,  we know that the trap receiver aspects
are working OK.  So if the trap from the Windows agent isn't getting through,
the problem must lie somewhere else.

There are two basic possibilities - either the trap isn't being sent properly,
or it's being sent but not received.   My suspicion is actually the latter.

Please try running the following command on the (receiving) Linux box:

     iptables -I INPUT -p tcp --dport 162  -j ACCEPT

then re-start the Windows SNMP agent.
Do you see anything in the Linux /var/log/messages file?

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