I've been researching this but couldn't find a clear answer.

What I would like to do is once a specific trap is received, pass that to powershell for some custom handling related to the message. It is possible to do this? If not, I guess I need to use a second SNMP Trap receiver that is capable of allowing me to run a custom script referencing the trap that was received?


Article Comments

Hi there,

you can create a notification which triggers a script to execute. In this way, you can execute a script if a certain trap was received.


Jun, 2020 - Permalink

Can the content of the trap be passed to powershell? My goal is to receive traps with specific information and then update that database in a separate database from PRTG.


Jun, 2020 - Permalink

You can use a placeholder for example "%trapmessages" to forward the content of a trap message.


Jun, 2020 - Permalink