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
Article Comments
Hey guys, I am trying to achieve exact same thing. The message I am getting is "16asu (-81dBm)" And using the expression (-\d+\.\d+)
Unfortunately not getting the desired value "-81'
May, 2022 - Permalink
Hello,
have you tried using the regex "(-\d+\d+)" - without quotation marks. For testing regex I can recommend the site https://regex101.com/.
May, 2022 - Permalink
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 "support@paessler.com", 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
support@paessler.com
Feb, 2020 - Permalink