Ad Widget

Collapse

User Macro in Item Key Fail

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • klabarre
    Junior Member
    • Mar 2011
    • 6

    #1

    User Macro in Item Key Fail

    Zabbix 4.0
    Attempting to use a user macro in an item key results in "Special characters "\, ', ", `, *, ?, [, ], {, }, ~, $, !, &, ;, (, ), <, >, |, #, @, 0x0a" are not allowed in the parameters.". This is supported according to the documentation.
  • tim.mooney
    Senior Member
    • Dec 2012
    • 1427

    #2
    Have you verified that you've entered the macro like
    Code:
    {$YOUR_MACRO}
    ? The $ goes inside the { }.

    When you view the host (Configuration->Hosts, find the link for the host and click it) and switch to the Macros tab and click the "Inherited and host macros", does your macro appear in the list? Does its value contain any of the characters from that list?

    Comment

    Working...