Ad Widget

Collapse

Using Macros to configure Trigger with vfs.dir.count[{$PATHTODIR}

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • grodan
    Junior Member
    • Jun 2020
    • 3

    #1

    Using Macros to configure Trigger with vfs.dir.count[{$PATHTODIR}

    Is it possible to use a macro to define a global template for file count, changing the value per server group?
    vfs.dir.count[{$PATHTOFILE},,,,,0,,,,,].last()}>={$MAIL_NR}
    I need to use the macro to replace the DIR value depending of the server.
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    #2
    Yes, you can have a macro in template but its value comes from host level.

    Comment

    Working...