Re: SNMPTRAP doesn't work
mohamad hosein jafari <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <CAB0bvNOT9jvGpjJVjocY1FHg_hi-Y6v2e5sDimpXbA4u5G5d8g@mail.gmail.com> |
yes that is right . that was my friend system that I checked on . but now I don't have that system . Is our problem is running snmptrap and receiver on one system?? thnks but can't you help me in our question about linux config? dosn't have any difference between these two system? thnks On Thu, Jul 26, 2012 at 12:22 PM, Dave Shield <[email protected]>wrote: > On 26 July 2012 08:44, mohamad hosein jafari <[email protected]> > 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 [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users