Re: SNMPTRAP doesn't work
mohamad hosein jafari <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <CAB0bvNM5pV-LhX3-aoP0FsZ+dkwc=XNyvLFyHxKwBYxQjzo-_Q@mail.gmail.com> |
Yes but my agent and server in once . I set my snmp service to send trap on my IP then I went to my linux (VmWare) and I do setting about IPtable but I didn't see anything in linux log file So I have a question: IS THERE any different between Linux MIB file and windows MIB file? OR should I have change on linux server to get windows server Trap???? (THIS question is very important fot me) Thanks On Thu, Jul 26, 2012 at 3:39 AM, Dave Shield <[email protected]>wrote: > On 25 July 2012 19:29, mohamad hosein jafari <[email protected]> > 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 [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users