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

Host Graphs with LLD items on "DataCollection->Hosts" view results with error 'Undefined array key "status" ...'

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Duplicate
    • Icon: Trivial Trivial
    • None
    • 7.0.2
    • Frontend (F)
    • None
    • Operating System: Ubuntu 24.04 LTS
      Kernel: Linux 6.8.0-41-generic
      Architecture: x86-64
      Zabbix Server: 7.0.0 LTS
    • S24-W40/41, S24-W42/43
    • 0.25

      Steps to reproduce:

      1. Navigate to "DataCollection/Hosts" view
      2. At hosts list select any of listed host (eg 'testhost.testdomain') and click on "Graphs" link
      3. Click on "Create Graph" button at top right position
      4. At graph creation form, give name for graph (eg 'test graph 01')
      5. At graph creation form, select graph type 'Normal'
      6. At graph creation form, select 2 keys that are result of Low Level Discovery (eg 'vfs.fs.dependent.size[/backup,pused]' and vfs.fs.dependent.size[/,pused])
      7. At graph creation form, click 'Add' to create graph 'test graph 01'

      Result:

      1. Error appears at "DataCollection/Hosts/Graphs" for host that have this newly created graph: "Undefined array key "status" [graphs.php:750 → CView->getOutput() → include() in include/views/configuration.graph.list.php:237]"


      This event is only logged at /var/log/nginx/error.log :

      2024/09/11 09:40:39 [error] 1119#1119: *3653 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key "status" in /usr/share/zabbix/include/views/configuration.graph.list.php on line 237" while reading response header from upstream, client: 192.168.214.201, server: perfmon7.ping.ba, request: "GET /graphs.php?filter_set=1&filter_hostids%5B0%5D=10637&context=host HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/zabbix.sock:", host: "perfmon7.ping.ba", referrer: "http://perfmon7.ping.ba/zabbix.php?action=host.list"

      Expected:

      No Error.

            zabbix.dev Zabbix Development Team
            dvedadt9@ping.ba Vedad
            Team B
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - Not Specified
                Not Specified
                Logged:
                Time Spent - 5.5h
                5.5h