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

Details

    • Incident report
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.6.5, 1.6.6
    • None
    • Frontend (F)
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: