Ad Widget

Collapse

Trouble with Macro

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • zumi_fi
    Junior Member
    • Sep 2018
    • 10

    #1

    Trouble with Macro

    Hello!

    I have a script that posts to Slack certain triggers.
    In the actions menu at "Default Subject" I've set {USER.FULLNAME}

    For some reason Zabbix won't redirect the username to the script.
    If I put the {USER.FULLNAME} with other text to "Default message" I can see the username.

    The idea of the macro being in the subject is that the script fetches other information of the user. Do you know why it wont post the value as variable to the script?
  • gofree
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2017
    • 400

    #2
    you need to chcekalso where this macro is supported aka can be used



    {USER.FULLNAME} → Problem update notifications Name and surname of the user who added event acknowledgement.
    Supported since 3.4.0.

    Comment

    • zumi_fi
      Junior Member
      • Sep 2018
      • 10

      #3
      Thanks gofree!
      Actually I found out what the issue was. Zabbix didn't have all required permissions to run the script fully. One part of the script failed caused by permissions.
      I tested it several times before posting to the forums. I tried again testing it and suddenly the front end started to give me errors and I found out what was the issue.

      Comment

      Working...