Re: [pysnmp-users] PySNMP v3 Notification receiver
Brought to you by:
elie
From: <Pau...@De...> - 2016-08-29 14:30:32
|
> On Aug 29, 2016, at 9:55 AM, rajesh chandra <cxr...@gm...> wrote: > > Hi, > > I have PySNMP notification receiver for SNMP V3 traps as below... > > Instead of localhost IP , I have My VM ip -----> for this scenario, I am not receiving any traps if generate one from outside the VM(I am using snmptrap command from another machine) but I can see SNMP data when I do tcpdump on VM eth0. If I generate trap on same machine(My VM) I can see trap data via PySNMP trap receiver script. I have no issues with network connectivity and FW is not blocking any of My data. > ... > > # UDP over IPv4 > config.addSocketTransport( > snmpEngine, > udp.domainName, > udp.UdpTransport().openServerMode(('127.0.0.1', 162)) That address/port pair is used as the argument on a socket bind() call. The address, if specified, means you only want packets from that address. If you want packets from any address, specify 0.0.0.0. paul |