How do I test an SNMP Trap Receiver sensor?
I have added an SNMP Trap Receiver sensor to my PRTG installation.
It seems that it does not work properly. How can I test if traps are received and if the sensor works?
help
prtg
snmp
trap
trap-receiver
1 Reply
Accepted Answer
This article applies as of PRTG 22
Testing an SNMP Trap Receiver sensor
- Use Wireshark to make sure that the SNMP traps you want to monitor are actually received on the probe system with the SNMP Trap Receiver sensor.
- Make sure that the probe listens on port 162 (or the one defined in the settings of your SNMP Trap Receiver sensor). For this purpose, you can use the following command-line command:
netstat -ano
- Create a new notification template of the type Send SNMP Trap. As Host/IP Address enter the IP address of the probe on which you created the SNMP Trap Receiver sensor and save your settings.
- Click Send test notification for the SNMP trap notification you have just created. PRTG now sends an SNMP trap to the target probe. If the trap has been received correctly by the probe, it shows up in the SNMP Trap Receiver sensor after a while.
Note: Make sure that you have not excluded this message in the sensor settings.
More
Please log in or register to enter your reply.
Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.
Add comment