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

Time of Day Alerts

Votes:

0

I created a custom senson, in powershell, to monitor an Azure SQL instance, and report if it is not on the correct service plan.

For example, the database is scaled up during business hours to have 5 vCores, then scaled back to 2 vCores during off hours to save some cash. However we want to monitor and alert then the value is out range. I have the script running fine and was supplying an XML return, with limitmin and limitmax however they dont seem to update in PRTG when the time of day changes. Not sure if this is expected or what others are doing?

azure custom-sensor prtg

Created on Feb 19, 2019 3:39:56 PM



1 Reply

Votes:

0

LimitMin and LimitMax are only considered upon channel creation, not at runtime. You'll need to modify these limits via the API, using PRTGapi :)


PRTGapi | Feature Requests | WMI Issues | SNMP Issues

Kind regards,
Stephan Linke, Tech Support Team

Created on Feb 20, 2019 11:22:24 AM by  Stephan Linke [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.