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

Frontend status of Action Script type Webhook is always failed

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 5.4.1, 5.4.2
    • Server (S)
    • None
    • Debian, Centos

      Steps to reproduce:

      1. Create Global script with scope Action operation, Type Webhook, with only one line " return 'OK';"
      2. Create Action to run that script
      3. Create test trigger to start that Action

      Result:

      Script is executed, but in frontend there is status failed with error: cannot execute script: (null)

      Expected:
      Status have to be success.
      See attached screenshots...

      In real scenario I am using real script which works as expected, but frontend result is always failed. Maybe I have to return some other text or result code, but I tried many and never succeeded. I did not find solution anywhere in Zabbix documentation.

            zabbix.dev Zabbix Development Team
            Alois Zadrazil Alois Zadrazil
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: