I would like to send SNMP traps as notifications, so that my trap receiver can process them. Is this possible?
3 Replies
Documentation of SNMP Traps Sent by PRTG
Beyond including a SNMP trap receiver sensor, PRTG Network Monitor (as of V7.1) includes the option to trigger notifications used to send SNMP traps to a computer where a trap receiver is listening. Trap receivers store these messages for later analysis and/or forward traps to the administrators using other means of alerting.
Setup of SNMP Trap Notifications
To activate a SNMP Trap notification in PRTG you must navigate to the settings of a notification, enable "Send SNMP Trap" and then supply the following fields:
- "Host/IP-address" and "Port" (usually port 162) of your trap receiver.
- "Community string" (usually "public").
- A value of your choice for the field "Message ID". On the trap receiver this value will enable you to filter messages from PRTG.
- A string of your choice for the field "Message". You can use PRTG's standard placeholders, they will be substituted during runtime, just the same as in other notifications.
- In the field "Agent IP" you can supply an IP address to be used for sending the trap (or leave this field blank to automatically use the IP address of the computer running PRTG).
Contents of SNMP Traps Sent by PRTG
SNMP traps sent by PRTG allways use SNMP V1 format. The following OIDs will be included in the trap:
- 1.3.6.1.4.1.32446.1.1.1: MessageID (as defined by the user in the Field "Message ID")
- 1.3.6.1.4.1.32446.1.1.2: An integer representing the event that triggered the notification:
- 0 = State ended
- 1 = State started
- 2 = Volume reached
- 3 = Speed not reached
- 4 = Speed reached
- 5 = Threshold not reached
- 6 = Threshold reached
- 7 = Value changed
- 1.3.6.1.4.1.32446.1.1.3: The state of the object:
- 0 = None
- 1 = Unknown
- 2 = Collecting Data
- 3 = Up
- 4 = Warning
- 5 = Down
- 6 = No Probe
- 7 = Paused by User
- 8 = Paused by Dependency
- 9 = Paused by Schedule
- 11 = Paused by License
- 12 = Paused until
- 1.3.6.1.4.1.32446.1.1.4: The message text of the notification as defined by the user.
MIB for Paessler's SNMP Traps Notifications
Please see Is there an MIB file for Paessler's SNMP trap notifications?
Created on Feb 23, 2010 1:55:05 PM by
Patrick Hutter [Paessler Support]
(5,974)
●3
●3
Last change on Jan 26, 2012 4:19:11 PM by
Daniel Zobel [Paessler Support]
(19,813)
●3
●3
I've seen that PRTG is currently sending traps using SNMPv1.
Is there a way to have sending it using SNMPv2 ?
Can we open an improvement request maybe?
Thank you,
Regards
Only SNMP v1 traps are currently supported. We cannot yet tell if v2 trap support will be available in the future, but we do have it on our options list.
Please log in or register to enter your reply.
Add comment