Calculated metric¶
Calculated metric creates a new number from current readings that already exist.
Add this check.
Enter Formula, Unit and optionally Warning at or Critical at.
Add one row under Sources for each required value.
Under Variable, enter a unique lowercase name, for example
aorram_total.Under Metric series, select the area
integration,extended,resourceorservice, and then the specific Metric ID entry. The interface displays matching device and reading labels.Set Maximum age in seconds; default 300, allowed range: 15 to 86.400.
Test and save.
Measurement series |
Value used |
|---|---|
|
Value from an additional check |
|
Value from an extended resource measurement |
|
Percentage value from a basic resource measurement |
|
Response time from a ping, TCP or web check |
Example: Two sources a and b can be added with a + b. Addition, subtraction, multiplication, division, modulo, parentheses, signs, and min, max, abs and round are supported. Variable names start with a lowercase letter and contain lowercase letters, digits or underscores. A maximum of 20 sources is possible.
Missing, paused, dependency-blocked, unactivated or outdated sources do not supply a valid calculated value. The maximum age does not extend the source check’s normal freshness deadline. An error such as division by zero is reported as a check result. Destination address and Port are also present in the shared input form for this check; the calculation uses the selected saved readings.