ThingWorx Model Definition in Composer > Modeling > Things > Alerts > Automated Monitoring Thresholds
Automated Monitoring Thresholds
When creating certain alerts to monitor streaming data, it can be difficult to set specific thresholds or range limits. Thresholds and ranges may need to vary as operating conditions change. For the following alert types, when created for number-based properties, an option is available to automatically calculate monitoring thresholds based on current property values:
Out of Range – an alert is triggered when a value is outside of a defined range
Deviation Above – an alert is triggered when a value is above a defined threshold by a specified amount
Deviation Below – an alert is triggered when a value is below a defined threshold by a specified amount
Auto-set Out of Range Limits
1. Create a new alert on a number-based Property.
2. In the Alert Type field, select the Out of Range option. Additional fields are displayed.
3. Toward the bottom of the panel, click the check box to enable Calculate Minimum and Maximum Based on Property Value. Additional fields are displayed and the Minimum and Maximum fields become greyed out. Their values will be set automatically based on the current Property Value.
4. At the bottom of the panel, click Retrieve Current Property Value to auto-populate Property Value with the current value of the property.
5. Enter an Adjustment Value and, in the Adjustment Units field, decide whether the adjustment should be by Amount or by Percentage. The Minimum and Maximum limits will be calculated automatically based on the specified adjustment to the current Property Value. For example, in the image below, an alert will be triggered if the property value is <= 8 or the value is >12.
out of range alert
Auto-set Deviation Above/Below Threshold
1. Create a new alert on a number-based Property.
2. In the Alert Type field, select either the Deviation Above or Deviation Below option. Additional fields are displayed.
3. For the Value field, either enter an alert value manually or click Retrieve Current Property Value to auto-populate the field with the current value of the property.
4. Toward the bottom of the panel, click the check box to enable Calculate Limit Based on Property Value. Additional fields are displayed and the Limit field becomes greyed out because the limit will be set automatically based on the current Value of the property.
5. Enter an Adjustment Value and, in theAdjustment Units field, decide whether the adjustment should be by Amount or by Percentage. The Limit field will be calculated automatically based on the specified adjustment to the alert Value. For example, in the image below, an alert will be triggered if the deviation between the actual property value and the specified Value is >= 12.
deviation alert
Related Links