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

PRTG Custom XML Sensor - negative Min Warning Limit or other ideas

Votes:

0

Hi,

I try to monitor our windows DHCP scopes with a custom Powershell script. It collects automatically all scopes as channels and tells PRTG how many leases are in use. I'm giving MaxWarningLimit and MaxErrorLimit and it works well. Now I want to check if scope is enabled and trigger a warning if not. So I changed unit from Percent to Custom and set the value to -1, to set the MinWarningLimit to -1. But it does not work. The value is -1, but there is no warning for the channel. Is it possible to warn at negative values? Does anybody has another idea, how to warn if the scope is disabled?

Thank you for your help. If anyone is interested in script, fee free to ask.

custom-sensor dhcp limit negative-values warning

Created on Feb 14, 2022 9:43:57 AM



2 Replies

Accepted Answer

Votes:

1

Hello,

the lower limits trigger if the value is below them, not below or equal. (For upper limits, they trigger if the value is above).

If you set the lower warning limit for example to -0.5, or -0.9, it should trigger if the sensor has a value of -1.

Created on Feb 15, 2022 10:20:56 AM by  Arne Seifert [Paessler Support]



Votes:

0

Hi,

thank you for your reply and solution. It solved my problem. SOmetimes its so simple. Sry.

Created on Feb 18, 2022 8:27:00 AM




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.