Hello Elvia,
although I love IIB and ACE, I think you might need to rethink your choice of tool for this application. IIB and ACE don't have inbuilt capability that I have ever seen to interact with UDP network protocols (like SNMP).
IIB and ACE have TCP/IP nodes which can work with arbitrary TCP traffic, and you can build protocol handlers in IIB on top of those nodes.
However, I don't know of any native way to get IIB to interact with UDP network protocols.
I imagine that it would be possible to build custom nodes using the Java interfaces provided in the product to implement UDP nodes (listen/receive/send), and to implement SNMP protocol handling on top of that. I looked for existing implementations which could do this, but I didn't find any.
So that seems like a lot of work to do, and you are not really getting any direct support from the IIB or ACE environments to help you.
Over and above implementing the UDP protocol nodes, you would also need to build something to map the MIBs which define your SNMP traps and commands into a message map suitable for IIB (DFDL). Again, while it is possible that someone has already implemented something, and DFDL is certainly capable of representing the ASN.1 type data involved in SNMP, I haven't ever seen anything which does this, so you might be on your own again.
Have you looked at using a product that is designed to work with SNMP?
Regards,
------------------------------
Neil Casey
Senior Consultant
Syntegrity Solutions
Melbourne
IBM Champion (Cloud) 2019
+61 (414) 615-334
------------------------------