What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

Include space in bindings - SNMP Trap Receiver

Votes:

0

Hi,

I am working on filters for my SNMP Trap Receiver Sensor.

I am stuck on the bindings part in the error filter section.

The device I am trying to incorporate has two states:

1. Error state with the trap SNMPv2-MIB::snmpTrapOID.0 = SNMPv2-SMI::enterprises.2509.8.21.3.1 SNMPv2-SMI::enterprises.2509.8.21.2.2.1.7.21076 = 2017-07-29,13:42:17 4 Foto Relay Failure 1 Slot9 Slot9 SYS SNMPv2-SMI::enterprises.2509.8.31.2.10.1.2.1 = PLX09270620

2. Normal state with the trap SNMPv2-MIB::snmpTrapOID.0 = SNMPv2-SMI::enterprises.2509.8.21.3.1 SNMPv2-SMI::enterprises.2509.8.21.2.2.1.7.21080 = 2017-07-29,13:45:46 6 Foto Relay Failure 0 Slot9 Slot9 SYS SNMPv2-SMI::enterprises.2509.8.31.2.10.1.2.1 = PLX09270620

The binding part I need is Foto Relay Failure 1.

When I use the bindings[Foto] AND bindings[Relay] AND bindings[Failure] AND [1] syntax I get a down state on the sensor as the [1] part is clearly present also in the normal state trap (for other reasons either OID or something else). If I exclude the [1] part I get the same result which for me is logical.

My question is how to implement the empty space between Failure and 1 in the bindings as it is clearly the only thing that distinguishes the erroneous from normal state on the device?

I tried lots of things but did not manage to do it.

Thanks

Regards

bindings snmptraps trap-receiver

Created on Jul 31, 2017 12:26:57 PM



1 Reply

Votes:

0

Dear Vladimir

Please use

binding[Failure 1]

Does that give you the desired outcome?

Created on Aug 3, 2017 10:14:54 AM by  Arne Seifert [Paessler Support]




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.