Ad Widget

Collapse

{EVENT.NAME} Tag not available on notification (Web Scnenario Trigger)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lmar
    Junior Member
    • Jan 2022
    • 1

    #1

    {EVENT.NAME} Tag not available on notification (Web Scnenario Trigger)

    Hi,

    this is my first post.
    First of all, congratulations for this extraordinary system! I've used monitoring solutions for more than 20 years (mainly Nagios on the last years). Zabbix is far beyound!

    I need your help, please:

    I'm using one Web Scenario / Trigger , with multiple tests (steps) (with different URLs tests). The setup is working fine, although I'm not able to get the "Steps" name on the notification (Only Steps ID working)

    My notification template looks like this: "Original problem ID: {EVENT.ID} - {EVENT.NAME}"

    {EVENT.ID} works ok (is translated to the id of the Step of the Web Scenario.
    {EVENT.NAME} is empty. I was expecting to get the "Name" atribute of the Step

    I'm using 5.0.2 version

    Thanks


  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    #2
    No...
    {EVENT.NAME} → Trigger-based notifications and commands
    → Problem update notifications and commands
    Name of the problem event that triggered an action.

    As you see, it is not referring to any of step name... And also EVENT.ID does not refer to step ID...

    You have 3 web scenario related items and 3 step related items what you can use to construct your trigger expression. https://www.zabbix.com/documentation...nitoring/items
    In trigger name/opdata you can refer to each of used item with ITEM.LASTVALUE<1-9> macro. Now... when your trigger fires, it creates a Problem. If you have an action, which needs to fire in case of this problem... this is an Event.. and here EVENT.NAME macro refers to fully resolved Trigger name, what you created before.. And EVENT.ID refers to that events ID, which is evergrowing unique number...

    Comment


    • lmar
      lmar commented
      Editing a comment
      Thanks for your help Cyber
Working...