Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-19396

User macros in actions operation step duration

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unsupported version
    • Icon: Trivial Trivial
    • None
    • None
    • Server (S)
    • None

      Hello! I'm now use Zabbix 4.2.4 and defined a user macro like {$SERVICE_DOWNTIME} in Template and set it to 0. Also i'm redefine it in host and set to 60.

      In actions I'll set Default operation step duration = {$SERVICE_DOWNTIME} and get something like this in operations:

      Steps Details Start in Duration Action
      1 Run remote commands on current host
      Immediately Default
      • Edit
      • Remove
      2 Run remote commands on current host
      Unknown Default
      • Edit
      • Remove

      But when trigger fires up only step 1 operation is executed. Seems user macro is working incorrect in "Default operation step duration" and "Step duration" fields in actions.

      May be this is already fixed? Or need to be fixed!?

      PS: If I post {$SERVICE_DOWNTIME} in operation default message area, I'll see correct macros resolution in notification message.

       

            aigars.kadikis Aigars Kadikis
            Eugene Semerikov Eugene Semerikov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: