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

Viewing host graphs at "DataCollection->Hosts" fails for hosts with more than 50 graphs

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Duplicate
    • Icon: Trivial Trivial
    • None
    • 7.0.2
    • Frontend (F)
    • None

      Steps to reproduce:

      1. Navigate to "DataCollection/Hosts" view
      2. At hosts list select any of listed host with more than 50 defined graphs and click on "Graphs" link.

      Result:

      1. Graph list does not load

      See screenshot...


      See log file /var/log/nginx/error.log...

      2024/09/17 14:52:23 [error] 1066#1066: *1433 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key 3197 in /usr/share/zabbix/graphs.php on line 727; PHP message: PHP Warning:  Trying to access array offset on null in /usr/share/zabbix/graphs.php on line 727; PHP message: PHP Fatal error:  Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, null given in /usr/share/zabbix/graphs.php:727
      Stack trace:
      #0 {main}
        thrown in /usr/share/zabbix/graphs.php on line 727" 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=10638&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"
      2024/09/17 14:52:23 [error] 1066#1066: *1433 FastCGI sent in stderr: "; PHP message: PHP Warning:  Undefined array key "file" in /usr/share/zabbix/include/classes/debug/CProfiler.php on line 376; PHP message: PHP Warning:  Undefined array key "line" in /usr/share/zabbix/include/classes/debug/CProfiler.php on line 376; PHP message: PHP Warning:  Cannot modify header information - headers already sent in /usr/share/zabbix/include/classes/helpers/CCookieHelper.php on line 54; PHP message: PHP Warning:  PHP Request Shutdown: Failed to write session data using user defined save handler. (session.save_path: /var/lib/php/sessions/, handler: update_timestamp) in Unknown on line 0" while reading upstream, client: 192.168.214.201, server: perfmon7.ping.ba, request: "GET /graphs.php?filter_set=1&filter_hostids%5B0%5D=10638&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"

      No other errors have been logged.

      Expected:

      List of defined graphs for selected host.

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

              Created:
              Updated:
              Resolved: