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

Possibility of division by zero in zbx_avg (charts2.php)

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.0.5rc1, 2.1.0
    • 2.0.5rc1, 2.1.0
    • Frontend (F)
    • None

      Sometimes if item has no values zbx_avg function executes with errors:
      1. Invalid argument for foreach
      2. Division by zero.

      It happens because $values variable does not contain array. It is "NULL".

            Unassigned Unassigned
            dotneft Alexey Pustovalov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: