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

Mass update on triggers with empty dependency criteria throws error

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.5, 1.6.6
    • Fix Version/s: None
    • Component/s: Frontend (F)
    • Labels:
      None
    • Environment:
      Zabbix 1.6.5, Debian GNU/Linux 5.0 ("Lenny"), AMD64, Linux kernel 2.6.26, sunshine outside, 17°C :)

      Description

      To reproduce:

      • Go to Configuration/Triggers
      • Select multiple triggers
      • Click on "triggers massupdate"
      • Click on "trigger dependencies", but don't choose any dependencies here
      • Click on "Save"

      Here I get these messages in a red top window:

      • Undefined index: dependencies[/usr/share/zabbix/triggers.php:128]
      • Invalid argument supplied for foreach()[/usr/share/zabbix/include/triggers.inc.php:829]
      • Invalid argument supplied for foreach()[/usr/share/zabbix/include/triggers.inc.php:1516]
      • Trigger 'Sufficient disk space on /' updated for host 'mail'
      • Invalid argument supplied for foreach()[/usr/share/zabbix/include/triggers.inc.php:1516]
      • Trigger 'Sufficient disk space on /' updated for host 'Template_IR_Mailserver'
      • Undefined index: dependencies[/usr/share/zabbix/triggers.php:128]
      • Invalid argument supplied for foreach()[/usr/share/zabbix/include/triggers.inc.php:829]
      • Invalid argument supplied for foreach()[/usr/share/zabbix/include/triggers.inc.php:1516]
      • Trigger 'Sufficient disk space on /var/vmail' updated for host 'mail'
      • Invalid argument supplied for foreach()[/usr/share/zabbix/include/triggers.inc.php:1516]
      • Trigger 'Sufficient disk space on /var/vmail' updated for host 'Template_IR_Mailserver'

      However the dependencies are removed. So the function works.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              signum Christoph Haas
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: