How do I test an SNMP Trap Receiver Sensor?
I have added a SNMP Trap Receiver sensor to my Local Probe device in PRTG.
It seems it doesn't 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
Testing a SNMP Trap Receiver sensor
- Use Wireshark to make sure that the SNMP Traps you want to monitor are actually received on the computer running the Probe with the SNMP Trap Receiver sensor.
- Make sure the PRTG 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
- In the settings of your SNMP Trap Receiver enter 1.3.6.1.4.1.32446.1.1.4 as OID value. This is the OID PRTG uses for its own "SNMP Trap Notifications". We will use this notification type for our test.
- Create a new notification of the type Send SNMP Trap. As Host/IP enter the IP address of the Probe on which you created the SNMP Trap Receiver sensor and save your settings.
- Hit the Test link for the SNMP Trap notification you just have created. PRTG will now send a SNMP Trap to the target Probe using the OID 1.3.6.1.4.1.32446.1.1.4. If the Trap has been received correctly by the probe, it should show up in the SNMP Trap Receiver sensor after a while.
See Also
How can I use PRTG’s trap receiver and what are its limitations?
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