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

Undefined array key error appears when trying to execute 'manual event action' script

XMLWordPrintable

    • S24-W20/21
    • 1

      Precondition:

      • Create host with trapper item and trigger or use import file -> zbx_24042.yaml
      • Trigger the event

      Steps to reproduce:

      • Create script with scope 'manual event action' and enabled user input but without confirmation message e.g.
      • Go to Monitoring->Problems
      • Click on Problem and choose your script
      • Execute the script

      Result: Runtime error appears.

      Undefined array key 0 [jsrpc.php:905 -> CConfigFile->{closure}() in jsrpc.php:9"
      

      See video attachment:

      Expected: Script should be executed properly without runtime errors.

        1. image-2024-02-06-09-49-18-246.png
          image-2024-02-06-09-49-18-246.png
          25 kB
        2. zbx_24042.yaml
          0.5 kB
        3. php_error.gif
          php_error.gif
          662 kB

            sasha Alexander Vladishev
            kseve Kirils Seve
            Team B
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - 2h Original Estimate - 2h
                2h
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 4.4h
                4.4h