Cette page existe aussi en français. Lire en français
Computed sensors and business services
Compute a value from other sensors, and judge the status of a business service from its members.
A computed sensor (the equivalent of PRTG’s Sensor Factory) polls nothing: the server computes its value from the measurements of other items.
Create the profile
Settings > Monitoring > Profiles > New profile, Computed sensor (formula) protocol, then one calc.<name>
measure per formula, with its thresholds.
| Formula | Result |
|---|---|
avg("icmp.rtt_ms", "site:Lyon class:switch") |
average response time of the Lyon switches |
count("status:critical tag:till site:Store-42") |
tills down in a store (critical threshold at 2) |
percent(count("status:ok tag:wifi"), count("tag:wifi")) |
share of Wi-Fi access points in good health |
value("srv-erp", "cpu.usage_pct") |
one precise measure of an item |
The quoted selections use the filter language of the sensor console. Items added later to the site or tag count without touching the formula.
Monitor a business service
- Create one item of class Business service per service ("ERP", "Lyon tills"…).
- Monitor it with a computed sensor that judges its members, for example:
-
count("status:critical tag:erp")with a critical threshold at 1: any failed member makes the service critical; -count("status:ok tag:wifi-lyon")with a low critical threshold at 2: at least 2 access points must be up.
The service then has a status, alerts, notifications and availability like any item. To show it to users, see the Status page.
Was this page helpful?
Thank you for your feedback. Tell us what is missing