Calculated Items in Low Level Discovery Rules
Description
We can also extend discovery rules with calculated items.
In this example we will add a calculated item to show the change in bytes for each #FSNAME in the Windows by Zabbix agent active ⇾ Mounted filesystem discovery rule.
In the Mounted filesystem discovery rule, create a new Item Prototype.
| Key | Value |
|---|---|
| Name | {#FSNAME}: Used Changed |
| Type | Calculated |
| Key | usedChanged[{#FSNAME}] |
| Formula | change("vfs.fs.size[{#FSNAME},used]") |
| Type of information | Numeric (float) |