Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-5909

Aggregate checks by host

XMLWordPrintable

    • Icon: New Feature Request New Feature Request
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • Server (S)

      Add the ability to aggregate checks on multiple items to the same host using the PCRE regular expression

      Example:

      It is necessary to get the amount of free space on host data storage

      Items:

      • vmware.hv.datastore.size [\{$ URL}, \{HOST.HOST}, _ds1_r10_6hdd_, free]
      • vmware.hv.datastore.size [\{$ URL}, \{HOST.HOST}, _ds2_r0_1ssd_, free]
      • vmware.hv.datastore.size [\{$ URL}, \{HOST.HOST}, _ds3_r10_6hdd_, free]
      • vmware.hv.datastore.size [\{$ URL}, \{HOST.HOST}, _ds4_r10_4hdd_, free]

      or

      • vmware.vm.vfs.fs.size [\{$ URL}, \{HOST.HOST}, _C:_, free]
      • vmware.vm.vfs.fs.size [\{$ URL}, \{HOST.HOST}, _D:_, free]

      or

      • vfs.fs.size [ C:, used]
      • vfs.fs.size [ D:, used]

      Problem:

      1. When using grpsum, you cannot use sampling only by Host.
      2. The key element can change the name

      Possible Solution :

      Extend functionality to
      groupfunc ["host group or THIS", "item key or regular expression", itemfunc, timeperiod]

      The resulting item will look like this:

      grpsum [THIS, "vmware \ .hv \ .datastore \ .size \ [\{\ $ URL}, \{HOST \ .HOST}, (. *), free ]",last]
      grpsum [THIS, "vmware \ .vm \ .vfs \ .fs \ .size \ [\{ $ URL}, \{HOST \ .HOST}, (. *), free ]", last]
      grpsum [THIS, "vfs \ .fs \ .size \ [(. *), used \]", last]

            wiper Andris Zeila
            YaRosh Stanislav Yaroshevskiy
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: