New Question
 
 
PRTG Network Monitor

Intuitive to Use.
Easy to manage.

300.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


Errors and warnings using regular expression

Votes:

0

Your Vote:

Up

Down

Hi,

So I am trying to configure some monitoring for a device that uses dBm as its measurement. So far I have added extended processing to pull the value from the "device message" and make it its own value using the regular expression (-\d+\.\d+) to extract a numeric value.

Now what I need to do is create warnings and error thresholds based on that reading. So -50 to -64 dBm is fine -65 to -74 dBm is a warning and 75+ dBm is an error

The sensor is an SNMP Custom String, the question is does anyone know how I can set the warnings as mentioned above somehow?

Thanks guys

code custom-script-exe help prtg reporting snmp

Created on Feb 13, 2020 10:59:53 AM by  st_dazza (0) 1



1 Reply

Votes:

0

Your Vote:

Up

Down

Hi there,

you would need to activate the option "Extract Number Using Regular Expression", so you're able to extract the values as float.

Here you'll find additional information.

If this did not help, please provide me with the following screenshots via email to "[email protected]", please add "PAE1311739" in the title:

- Screenshot of the sensor's "Overview" tab
- Screenshot of the sensor's "Log" tab
- Screenshot of the sensor's "Settings" tab

Thank you in advance!


Kind regards,
Andreas Günther
Tech Support, Paessler AG

[email protected]

Created on Feb 14, 2020 12:31:22 PM by  Andreas Günther [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.