I didn't really end up utilizing traps, so I'm not an expert in them either.
To set up SNMP traps, you need SNMP agents and an SNMP manager. The agents send the traps, and the manager is a server that can receive them. Capable networked devices can be set up to act as agents, and you have to configure them to know what events to alert on and where to send those alerts. The specific details of what that looks like will differ between vendors and types of devices.
If you already have agents configured, and want a manager in Ignition, you could:
- set up your own through python with a 3rd party SNMP library in an externally running python script or a gateway script.
- write a custom module in java utilizing a 3rd party SNMP library.
- utilize an existing 3rd party module, such as Kymera's SNMP driver. Kymera's solution will fire a script whenever a trap is received and it is up to you to write the code and decide what to do with the contents.
(This list is not exhaustive)