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, S24-W24/25
    • 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
          25 kB
          Kirils Seve
        2. php_error.gif
          662 kB
          Kirils Seve
        3. zbx_24042.yaml
          0.5 kB
          Kirils Seve

            esekace Eliza Sekace
            kseve Kirils Seve
            Team B
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

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