-
Notifications
You must be signed in to change notification settings - Fork 11
Alert Conditions Reference
This page is a complete reference of which conditions are available for each sensor type.
| Type | Value kind | Bar? |
|---|---|---|
Bool |
true / false | No |
Int |
integer number | No |
Double |
floating point number | No |
String |
text | No |
TimeSpan |
duration | No |
Version |
version number (e.g. 1.2.3) | No |
Rate |
floating point, shown as rate/speed | No |
Enum |
integer mapped to named values | No |
IntegerBar |
aggregated int over time window | Yes |
DoubleBar |
aggregated double over time window | Yes |
File |
file content | No |
| Property | Operations | Target |
|---|---|---|
Value |
=, ≠
|
true / false
|
Status |
IsOk, IsError, IsChanged, IsChangedToOk, IsChangedToError
|
— |
Comment |
=, ≠, Contains, StartsWith, EndsWith, IsChanged
|
text |
| Property | Operations | Target |
|---|---|---|
Value |
<, <=, >, >=, =, ≠
|
constant or last value |
EmaValue |
<, <=, >, >=, =, ≠
|
constant |
Status |
IsOk, IsError, IsChanged, IsChangedToOk, IsChangedToError
|
— |
Comment |
=, ≠, Contains, StartsWith, EndsWith, IsChanged
|
text |
| Property | Operations | Target |
|---|---|---|
Value |
<, <=, >, >=, =, ≠
|
constant or last value |
EmaValue |
<, <=, >, >=, =, ≠
|
constant |
Status |
IsOk, IsError, IsChanged, IsChangedToOk, IsChangedToError
|
— |
Comment |
=, ≠, Contains, StartsWith, EndsWith, IsChanged
|
text |
| Property | Operations | Target |
|---|---|---|
Value |
=, ≠, Contains, StartsWith, EndsWith, IsChanged
|
text or last value |
Length |
<, <=, >, >=, =, ≠
|
constant |
Status |
IsOk, IsError, IsChanged, IsChangedToOk, IsChangedToError
|
— |
Comment |
=, ≠, Contains, StartsWith, EndsWith, IsChanged
|
text |
| Property | Operations | Target |
|---|---|---|
Value |
<, <=, >, >=, =, ≠
|
constant duration or last value |
EmaValue |
<, <=, >, >=, =, ≠
|
constant |
Status |
IsOk, IsError, IsChanged, IsChangedToOk, IsChangedToError
|
— |
Comment |
=, ≠, Contains, StartsWith, EndsWith, IsChanged
|
text |
| Property | Operations | Target |
|---|---|---|
Value |
<, <=, >, >=, =, ≠
|
constant version or last value |
Status |
IsOk, IsError, IsChanged, IsChangedToOk, IsChangedToError
|
— |
Comment |
=, ≠, Contains, StartsWith, EndsWith, IsChanged
|
text |
Versions are compared component by component: 1.2.10 > 1.2.9.
Same as Double — the value is a floating-point number formatted as a rate.
| Property | Operations | Target |
|---|---|---|
Value |
=, ≠
|
constant integer (enum ordinal) |
Status |
IsOk, IsError, IsChanged, IsChangedToOk, IsChangedToError
|
— |
Comment |
=, ≠, Contains, StartsWith, EndsWith, IsChanged
|
text |
Bar sensors aggregate multiple values over a time window (default: 5 minutes) and produce Min, Max, Mean, Count, First, and Last statistics.
| Property | Operations | Target |
|---|---|---|
Min |
<, <=, >, >=, =, ≠
|
constant or last value |
Max |
<, <=, >, >=, =, ≠
|
constant or last value |
Mean |
<, <=, >, >=, =, ≠
|
constant or last value |
Count |
<, <=, >, >=, =, ≠
|
constant |
FirstValue |
<, <=, >, >=, =, ≠
|
constant |
LastValue |
<, <=, >, >=, =, ≠
|
constant |
EmaMin |
<, <=, >, >=, =, ≠
|
constant |
EmaMax |
<, <=, >, >=, =, ≠
|
constant |
EmaMean |
<, <=, >, >=, =, ≠
|
constant |
EmaCount |
<, <=, >, >=, =, ≠
|
constant |
Status |
IsOk, IsError, IsChanged, IsChangedToOk, IsChangedToError
|
— |
Comment |
=, ≠, Contains, StartsWith, EndsWith, IsChanged
|
text |
| Property | Operations | Target |
|---|---|---|
OriginalSize |
<, <=, >, >=, =, ≠
|
constant (bytes) |
Status |
IsOk, IsError, IsChanged, IsChangedToOk, IsChangedToError
|
— |
Comment |
=, ≠, Contains, StartsWith, EndsWith, IsChanged
|
text |
Multiple conditions in one policy are combined with AND or OR:
- AND — all conditions must be true for the alert to fire
- OR — any single condition being true fires the alert
The target is the value the property is compared against:
| Target type | Description |
|---|---|
| Constant | A fixed value you enter (e.g. > 90.0) |
| Last value | The previous value of the same property (e.g. "alert if value changed by any amount") |
Last value target is useful for detecting any change without specifying a threshold.
EMA properties smooth out short-term spikes by giving more weight to recent values. Use them to alert on sustained trends rather than momentary fluctuations.
-
EmaValue— EMA of the scalar value -
EmaMin,EmaMax,EmaMean— EMA of bar aggregates
EMA is calculated server-side as new values arrive.
All sensor types support status-based conditions:
| Operation | Triggers when |
|---|---|
IsOk |
Current status is Ok |
IsError |
Current status is Error |
IsChanged |
Status changed from the previous value (any direction) |
IsChangedToOk |
Status changed from Error/OffTime to Ok |
IsChangedToError |
Status changed from Ok/OffTime to Error |
Status conditions are useful for recovery notifications (e.g., send an alert when an error clears).
Getting Started
🔔 Alerts
📲 Telegram
HSM DataCollector (NuGet)
- Overview & API
- Quick Start
- Logging
- Statuses
- Sensor Settings
- Default sensors
HSM DataCollector (C++)
HSM Web UI
Grafana