I have a few devices (switches, routers and a UPS) which are able to send SNMP Traps. My intention would be to include these in PRTGs Monitoring. Is that possible, if so how to do?
7 Replies
SNMP Traps are packets containing one or more parts of information sent by an agent to a dedicated listening device via the Simple Network Management Protocol (SNMP).
With the SNMP Trap Receiver sensor you can configure any PRTG probe device as a trap receiver. The sensor checks every interval if new traps have been received and reports the number of traps received so far in its primary channel.
These are the differences between a dedicated trap receiver and PRTG's trap receiver:
- Dedicated trap receivers are optimized to receive and process many different traps from a large number of devices.
- Dedicated trap receivers are able to store many messages per time interval in their internal database for later analysis.
- PRTG's trap receivers are not suitable to handle high loads, process many different message types or to store many messages in its log database. It can process some hundred messages per minute, one sensor can process and check one message type and PRTG can store some hundred messages per minute in its log database (across all trap sending agents).
The sensor is not intended to be a full-scale replacement for a dedicated trap receiver. It is a great tool if you need to monitor a handful of devices that send traps from time to time. And, as such, it avoids the need to install, setup and manage a dedicated trap receiver software for just a few devices.
Configuring a SNMP trap sensor
To create a SNMP trap sensor navigate to your "local probe" (or one of your remote probes) and choose "Add Sensor". From the sensor type selection menu choose "SNMP Trap Receiver" under the "Various Protocols" section.
In the sensor settings you must enter a listening port (the common port number is 162).
Note: Remember that the listening port must be opened if you run a firewall on the probe system (the built-in Windows Firewall will be configured automatically by PRTG).
Note: You can only create SNMP trap sensors on probe devices, seeing as the PC running the probe software is the actual receiver.
The SNMP Trap sensor has four other settings:
- OID value: SNMP traps sent by agents may contain several different textual information entries, each represented by a unique OID. It is therefore necessary to tell PRTG which part of the trap you want to log. Please refer to the trap sending device description to find the appropriate OID.
- When a message comes in: Activate the option "Write message to log and fire change trigger" to fire the "change trigger" for this sensor and to write a log entry whenever a trap is received (this may create lots of log entries, use with caution). This is only suitable when a few messages per minute are received. After creating the sensor you can enter a "change" trigger on the notifications tab of the sensor that will send a notification (e.g. email) whenever a trap comes in.
- Message must include: This setting allows you to define a string. The sensor will go into error state if one or more of the incoming messages do not contain this string.
- Message must not include: Here you can enter a second string. The sensor will go into error state if a message contains this string. The first option allows you to create a log of all incoming messages (at least for small scenarios with <100 messages per minute).
The 2nd and 3rd option are used to filter out specific messages. Configure a "state trigger" for "down" on the notification tab and PRTG will trigger an email if a message meeting any or both of the two criteria is received.
See Also
Created on Feb 2, 2010 1:01:10 PM by
Dirk Paessler [CEO Paessler AG]
(10,843)
●3
●4
Last change on Feb 16, 2012 3:42:41 PM by
Daniel Zobel [Paessler Support]
(24,183)
●3
●3
an explicit OID needs to be entered in the PRTG Trap sensor.
If you are not sure what OID you have to use you might want to use a tool like
Trap Receiver http://www.trapreceiver.com/
to find the exact OID for the information you want PRTG to monitor
Created on Feb 17, 2010 8:47:04 AM by
Aurelio Lombardi [Paessler Support]
(8,249)
●3
●1
Last change on Nov 7, 2010 7:15:59 PM by
Aurelio Lombardi [Paessler Support]
(8,249)
●3
●1
If PRTG Snmp Trap receiver is configured on a probe with two Network Cards, is the Sensor listening on both interface?
Hi There, is it posible to recive *all* SNMP Traps? We seam to be able to receive only one trap from one specific OID. But we would like to receive (and see) all the traps. Regardless if have specivied an OID or not (i.eg. everything that starts with 1.3.6.1.4)
Hello, I'm afraid that's not possible.
In der neuesten deutschen Version kann ich nur einstellen, dass der Sensor auf den Status Warnung geht. Ist es auch möglich den Sensor auf Fehler / Error zu setzen?
Das ist nicht möglich.
Please log in or register to enter your reply.
Add comment