manual:api:reference:triggerprototype:create

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
manual:api:reference:triggerprototype:create [2021/01/27 21:18]
127.0.0.1 external edit
manual:api:reference:triggerprototype:create [2021/05/02 19:26]
martins-v new trigger syntax (ZBXNEXT-6451)
Line 38: Line 38:
     "​params":​ {     "​params":​ {
         "​description":​ "Free disk space is less than 20% on volume {#​FSNAME}",​         "​description":​ "Free disk space is less than 20% on volume {#​FSNAME}",​
-        "​expression":​ "{Zabbix server:vfs.fs.size[{#​FSNAME},​pfree].last()}<​20",​+        "​expression":​ "last(/Zabbix server/vfs.fs.size[{#​FSNAME},​pfree])<​20",​
         "​tags":​ [         "​tags":​ [
             {             {