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

Macro prototypes for low level discovery

XMLWordPrintable

    • Icon: New Feature Request New Feature Request
    • Resolution: Won't fix
    • Icon: Major Major
    • None
    • 2.0.9
    • Frontend (F), Server (S)

      Would be nice to have the possibility to affect LLD based triggers individually.

      For instance a trigger prototype like this:

      {Template OS Linux:vfs.fs.size[{#FSNAME},free].last(0)}<{$FS_SIZE_FREE}
      

      allows later adjustment of threshold on template level and/or host level by usage of user macros. But an adjustment of {$FS_SIZE_FREE} affects all LLD based triggers.

      What about having macro prototyes like this:

      Macro prototype: {$FS_{#FSNAME}_SIZE_FREE} => 20
      Trigger prototype: {Template OS Linux:vfs.fs.size[{#FSNAME},free].last(0)}<{$FS_{#FSNAME}_SIZE_FREE}
      

      or easier to code like this:

      Macro prototype: {%FS_SIZE_FREE} => {$FS_{#FSNAME}_SIZE_FREE] => 20
      Trigger prototype: {Template OS Linux:vfs.fs.size[{#FSNAME},free].last(0)}<{%FS_SIZE_FREE}
      

            Unassigned Unassigned
            okkuv9xh Marc
            Votes:
            6 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: