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

VMWare - set datastores with different threshold (similar to windows and linix drives)

XMLWordPrintable

    • Icon: New Feature Request New Feature Request
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • None
    • Templates (T)
    • None

      Currently there is no ability to set individual thresholds on vmware datastores.  I would like to be able to do this as we have multiple datastores. 

      I see on the Windows and Linux Templates the following Triggers
      WINDOWS - Trigger Expression
      min(/Windows by Zabbix agent updated dashboards/vfs.fs.dependent.size{#FSNAME},pused,5m)>{$VFS.FS.PUSED.MAX.WARN:"{#FSLABEL}({#FSNAME} )"}

      Linux - Trigger Expression
      min(/Linux by Zabbix agent updated dashboards/vfs.fs.dependent.size{#FSNAME},pused,5m)>{$VFS.FS.PUSED.MAX.CRIT:"{#FSNAME}"}

      However, the VMWARE Template (https://git.zabbix.com/projects/ZBX/...at=release/7.4)
      Trigger Expression
      last(/VMware/vmware.datastore.size{$VMWARE.URL},{#DATASTORE.UUID},pfree)<{$VMWARE.DATASTORE.SPACE.WARN}

      Based on this it seems that you cannot create different thresholds for different datastores...

      What I am wondering is, should the trigger have the {#DATASTORE.UUID} after the {$VMWARE.DATASTORE.SPACE.WARN}

      Something like this
      last(/VMware/vmware.datastore.size{$VMWARE.URL},{#DATASTORE.UUID},pfree)<{$VMWARE.DATASTORE.SPACE.WARN:"

      {#DATASTORE.UUID}

      "} 

       

      Note: I have tested the above on the VMware template and it seems to work. The change would also need to be done  on the VMware Hypervisor, and VMware FQDN templates.

            vjaceslavs Vjaceslavs Bogdanovs
            paulb007 Paul Burrett
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: