jackytoh
jackytoh
Sorry, my title was giving wrong error message, it was due to I was sending SNMPv1 trap to SNMPv2 server. But now I am sending SNMPv2 trap, faced different errors....
Client part getting this error: 2018-10-26 15:51:27,559 ERROR failure sending SNMP notification callflow-id=8610df6037 trunk-id=trunk-1 server-snmp-engine-id=0x0102030405070809 server-snmp-transport-domain=1.3.6.1.6.1.1.100 server-snmp-peer-address=10.211.26.107 server-snmp-peer-port=59367 server-snmp-bind-address=10.53.17.197 server-snmp-bind-port=1162 server-snmp-security-model=2 server-snmp-security-level=1 server-snmp-security-name=public server-snmp-context-engine-id=0x0102030405070809 server-snmp-context-name= server-snmp-pdu=SNMPv2TrapPDU#1.3.6.1.6.3.1.1.4.1.0:'1.3.6.1.6.3.1.1.5.1',1.3.6.1.2.1.1.3.0:'5000', server-snmp-entity-id=agent-1 server-snmp-credentials-id=agent-1 server-snmp-context-id=any-context server-snmp-content-id=trap-content...
The captured logs was running with --debug all
I think this is the only message when I sent the SNMP v2 trap. I can try reproduce on Monday and provide logs again.
[server.log](https://github.com/etingof/snmpfwd/files/2523624/server.log) [client.log](https://github.com/etingof/snmpfwd/files/2523625/client.log) I running with both snmp and asn1 debug =all. See attached logs file for both server and client. netcool 13521 1 0 08:22 ? 00:00:00 python ./snmpfwd-client.py --config-file=/home/netcool/snmpfwd-0.4.1/conf/trap-forwarding-snmpv2c-to-snmpv2c/client.conf...
[troubleshoot.zip](https://github.com/etingof/snmpfwd/files/2523760/troubleshoot.zip)  See attached snmp packets that I have captured. The 1st packet is sent via ibm netcool mib manager and 2nd packet is sent via snmptrap command. 1st packet...
regarding the snmp trap filtering, I am looking for filtering the value of the oid, is it possible? Example, for a snmp v2 link down trap, I would like to...
> Let me ask you this: do you receive a single linkDown TRAP PDU for multiple interfaces? So you want to purge some OIDs out of this PDU sending what's...
> I have added some more logging to snmpfwd (current GitHub master), if you try the latest code it may log the exact SNMP error that occurs. I have downloaded...
> My understanding is that this TRAP PDU is malformed what is only noticed at the proxy when it tries to process/translate the PDU. If it would get through, similar...