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

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Major Major
    • None
    • 1.6.5, 1.6.6
    • Frontend (F)
    • None
    • Zabbix 1.6.5, Debian GNU/Linux 5.0 ("Lenny"), AMD64, Linux kernel 2.6.26, sunshine outside, 17°C :)

      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.

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

              Created:
              Updated:
              Resolved: