Ad Widget

Collapse

Zabbix macro in host tag

Collapse
This topic has been answered.
X
X
 
  • Time
  • Show
Clear All
new posts
  • ncknck
    Junior Member
    • Apr 2024
    • 7

    #1

    Zabbix macro in host tag

    Click image for larger version

Name:	Screenshot_20240418_192454.png
Views:	398
Size:	20.4 KB
ID:	482733Hello, I tried to add tags with a macro value for the host, but it doesn't seem to substitute the macro value, even though the documentation states that it is possible. What am I missing here?
  • Answer selected by ncknck at 23-04-2024, 17:05.
    cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4806


    Built-in and user macros in tags are resolved at the time of the event. Until the event has occurred these macros will be shown in Zabbix frontend unresolved. Low-level discovery macros are resolved during discovery process.

    Comment


    • ncknck
      ncknck commented
      Editing a comment
      Thank you for the reply!
      After your answer i once more time checked the events and they really had a resolved host id.
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4806

    #2

    Built-in and user macros in tags are resolved at the time of the event. Until the event has occurred these macros will be shown in Zabbix frontend unresolved. Low-level discovery macros are resolved during discovery process.

    Comment


    • ncknck
      ncknck commented
      Editing a comment
      Thank you for the reply!
      After your answer i once more time checked the events and they really had a resolved host id.
Working...