New Question
 
 
PRTG Network Monitor

Intuitive to Use.
Easy to manage.

200.000 administrators have chosen PRTG to monitor their network. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free PRTG
Download >>

 

What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general. You are invited to get involved by asking and answering questions!

Learn more

 

Top Tags


View all Tags


SNMP Trap Notification

Votes:

0

Your Vote:

Up

Down

Hi,

I've trawled these forums, but I just can't seem to find the answer I need.

I've setup an SNMP trap receiver on the device in question (as opposed to the probe).

Messages are being received correctly.

When the device sends the following trap:

SNMPv2-SMI::enterprises.37196.2.1.1.1.0 = 190
SNMPv2-SMI::enterprises.37196.2.1.1.2.0 = 2017-10-24,16:22:41.0
SNMPv2-SMI::enterprises.37196.2.1.1.3.0 = 0
SNMPv2-SMI::enterprises.37196.2.1.1.4.0 = 0
SNMPv2-SMI::enterprises.37196.2.1.1.5.0 = 1
SNMPv2-SMI::enterprises.37196.2.1.1.6.0 = Power Supply: 1
SNMPv2-SMI::enterprises.37196.2.1.1.7.0 = Power supply failure

I want it to send notifications. (meaning power supply has failed).

When the device sends the following trap, I want it to send a cleared notification. (power restored)]

SNMPv2-SMI::enterprises.37196.2.1.1.1.0 = 190
SNMPv2-SMI::enterprises.37196.2.1.1.2.0 = 2017-10-24,16:22:41.0
SNMPv2-SMI::enterprises.37196.2.1.1.3.0 = 0
SNMPv2-SMI::enterprises.37196.2.1.1.4.0 = 0
SNMPv2-SMI::enterprises.37196.2.1.1.5.0 = 2
SNMPv2-SMI::enterprises.37196.2.1.1.6.0 = Power Supply: 1
SNMPv2-SMI::enterprises.37196.2.1.1.7.0 = Power supply failure

The only difference is the SNMPv2-SMI::enterprises.37196.2.1.1.5.0 = 1 OR 2

How do I do this please?

The filter instructions within PRTG talk about "enterprise" as opposed to "enterprises"

Thank you

receiver snmp trap

Created on Oct 24, 2017 4:32:10 PM by  danovery (0) 1

Last change on Oct 25, 2017 4:24:07 AM by  Sven Roggenhofer [Paessler Technical Support]



1 Reply

Votes:

0

Your Vote:

Up

Down

Hi there,

At first, please have a look at the features and limitations of the SNMP Trap Sensor:
https://kb.paessler.com/en/topic/143-how-can-i-use-prtgs-trap-receiver-and-what-are-its-limitations

To get notified of certain messages, you have to configure them as errors or warnings in the sensor settings under the corresponding settings:

(bindings[SNMPv2-SMI::enterprises.37196.2.1.1.5.0 = 1])

Afterwards, open the "Errors" or "Warnings" channel settings and enable the limits. Then you set the upper error/warning limit to "0,0000001". Now all you have to do is to add new State Trigger to the sensor (either Error or Warning) with the following setting:

When sensor state is Down/Warning for at least 0 seconds perform <Notification>

This will trigger the sensor to go down till the next scan interval, the "for at least 0 seconds" option triggers then a notification with the last messages that were received as traps.

Unfortunately, you can't set a "Is Ok again" message. But you can configure one as an error and the other one as a warning.

Best regards.

Created on Oct 25, 2017 12:30:49 PM by  Dariusz Gorka [Paessler Support]



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.