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


Article Comments

Hi there,

At first, please have a look at the features and limitations of the SNMP Trap Sensor:
https://helpdesk.paessler.com/en/support/solutions/articles/76000065163-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.


Oct, 2017 - Permalink