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

Fired triggers could be linked to random hosts on maps

    XMLWordPrintable

    Details

      Description

      It happens because we missed "I" in $hostId:

      include/maps.inc.php:

      foreach ($triggersFromMonitoredHosts as $triggerId => $trigger) {
          foreach ($trigger['hosts'] as $host) {
              $hostd = $host['hostid'];
      
              if (isset($hostIdToSelementIds[$hostId])) {
                  foreach ($hostIdToSelementIds[$hostId] as $selementId) {
                      $selements[$selementId]['triggers'][$triggerId] = $triggerId;
                  }
              }
          }
      }
      

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: