Trigger Conditional
Threshold Monitor
Monitors a numeric value from a data source and fires when it crosses a threshold. Supports hysteresis to prevent flapping.
Node IDThresholdMonitorTrigger
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
Data Source dataSource | textarea | Yes | — | JSON configuration for the data source (type: File, HttpEndpoint, Command, SystemMetric, or EnvironmentVariable). |
Value Path (JSONPath) valuePath | string | No | $ | JSONPath to extract the numeric value from fetched data. Use $ for root-level numbers. |
Threshold threshold | float | Yes | — | The threshold value to compare against. |
Operator operator | enum | Yes | — | Comparison operator for threshold check. |
Poll Interval (Seconds) pollInterval | integer | No | 60 | How often to check the value (in seconds). |
Trigger Mode triggerMode | enum | No | OnCross | When to fire: OnCross (any crossing), WhileTrue (continuously), OnEnter (false→true), OnExit (true→false). |
Hysteresis hysteresis | float | No | 0 | Offset to prevent flapping around threshold. Example: threshold=100, hysteresis=5 means fire at 100, reset at 95. |
Outputs
| Output | Type | Identifier | Description |
|---|---|---|---|
On Threshold Crossed output0 | object | threshold_crossed | Fires when threshold condition is met (based on trigger mode). Contains current value, threshold, and crossing direction. |