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
Next revision
Previous revision
manual:api:reference:triggerprototype:create [2020/11/04 10:53]
Andrejs.Griscenko [ZBXNEXT-6148] added a note about who can call this method
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":​ [
             {             {