Ad Widget

Collapse

How to use Wildcard on Formula in Calculate items?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • khansari
    Member
    • Mar 2019
    • 33

    #1

    How to use Wildcard on Formula in Calculate items?

    Hello

    I have a Zabbix server version 4 and multiple agent on my company customers (windows agent).
    I need to monitor Disk Space for each partition of client and totally space (used/free) on each client.

    For this requirement i used a discovery rule with 3 items key ( vfs.fs.size[{#FSNAME},pfree] , vfs.fs.size[{#FSNAME},free], vfs.fs.size[{#FSNAME},total])
    So for each client zabbix create items for each partition.
    Now, I need to create 2 item for calculate totally space (sum of total space for all partitions) and totally free space (sum of free space for all partitions).
    But i want create these items as template automatically, not manual.
    Maybe i must wildcard in calculate item formula like this : sum(last("vfs.fs.size[(.*),total]")) , but is incorrect.

    Please Help me for this.

    Kind Regards,
Working...