Ad Widget

Collapse

Can macro be used in discovery items "New Application" name field ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • scottmcg
    Junior Member
    • May 2015
    • 1

    #1

    Can macro be used in discovery items "New Application" name field ?

    Hi

    For a discovery rule, under item prototype, rather then selecting from the list of applications or typing a static "New Application" name in. Is there a Zabbix version that lets you use a macro variable so the Application that the discovery items are associated with is dynamic.

    For example, in the item prototype i have

    Name: mysql.variables {#VARIABLE} for {#SOCK}
    Key: mysql.variables[{#SOCK},{#VARIABLE}]

    I want the application field to be dynamic based on the {#SOCK} variable e.g.

    New application: MYSQL GLOBAL VARS - {#SOCK}


    This doesn't seem to work. The variable isn't replaced with value, instead it's just called as typed.

    Anyone know if this can be done, or have some moneky patch to make it work?

    thanks
  • BDiE8VNy
    Senior Member
    • Apr 2010
    • 680

    #2
    ZBXNEXT-1219, Assign application based on discovery macro is going to be implemented with upcoming Zabbix release 3.0, which is right around the corner.

    Comment

    Working...