Ad Widget

Collapse

Trigger Actions don't run in parallel?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • PCalcina
    Junior Member
    • Oct 2023
    • 13

    #1

    Trigger Actions don't run in parallel?

    Hello All.
    Yesterday we eneble a trigger action than run an external script than takes arround 4 minutes to finish.
    And today we found than the actions are running sequecenly, not in parallel and this generate a delay on the problem remediation.
    Actions are fixing problems than appears 12hs ago.
    It's posible the parallel execution of the trigger action???

    Thanks a lot for your help.

    Regards.
    Pablo
  • Brambo
    Senior Member
    • Jul 2023
    • 245

    #2
    Not tested this myself but if you give both external script the same step number I believe they should run in parallel.
    Otherwise create 2 triggers with the same condition to execute.

    Comment

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

      #3
      Click image for larger version

Name:	image.png
Views:	66
Size:	17.5 KB
ID:	493698
      Look under your media type options... But you may need to adjust, how many alerter processes there is.. https://www.zabbix.com/documentation...#startalerters

      Comment

      • PCalcina
        Junior Member
        • Oct 2023
        • 13

        #4
        Hello Cyber, thanks for your help,
        All my mediatypes are disables.
        i have the script.
        Click image for larger version

Name:	image.png
Views:	72
Size:	29.4 KB
ID:	493708
        and the trigger action.

        Click image for larger version

Name:	image.png
Views:	69
Size:	22.3 KB
ID:	493709

        What benefits could adding a media type???

        i stay tunned to your comment.

        Regards

        Comment

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

          #5
          Parallelism.. I may be wrong, but by executing an script as trigger action, it will wait until it finishes, but "sending a message" to user gives it over to alert manager, which then allows parallel executions... and also retries if something fails...

          Comment

          Working...